X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=test%2Fblackbox%2Ftest_case_channel_blacklist_01%2Fnode_sim_nut_01.h;fp=test%2Fblackbox%2Ftest_case_channel_blacklist_01%2Fnode_sim_nut_01.h;h=e5dc0ac27c0c5d58a939d61dbf5155884aae7e58;hb=1d51060d7da210f576b6ae15726615c26c46095c;hp=0000000000000000000000000000000000000000;hpb=a65fbef9ae9c314940e8977d10bdd761cc52b0ad;p=meshlink diff --git a/test/blackbox/test_case_channel_blacklist_01/node_sim_nut_01.h b/test/blackbox/test_case_channel_blacklist_01/node_sim_nut_01.h new file mode 100644 index 00000000..e5dc0ac2 --- /dev/null +++ b/test/blackbox/test_case_channel_blacklist_01/node_sim_nut_01.h @@ -0,0 +1,31 @@ +#ifndef CHANNEL_BLACKLIST_NUT_01_H +#define CHANNEL_BLACKLIST_NUT_01_H + +/* + test_case_channel_disconnection.h -- Implementation of Node Simulation for Meshlink Testing + Copyright (C) 2019 Guus Sliepen + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +extern void *test_channel_blacklist_disonnection_peer_01(void *arg); +extern void *test_channel_blacklist_disonnection_nut_01(void *arg); +extern void *test_channel_blacklist_disonnection_relay_01(void *arg); +extern int total_blacklist_callbacks_01; +extern int total_whitelist_callbacks_01; +extern struct sync_flag test_channel_discon_nut_close; +extern bool test_case_signal_peer_restart_01; + +#endif