1 #ifndef TEST_CASES_CHANNEL_CONN_H
2 #define TEST_CASES_CHANNEL_CONN_H
5 test_cases_channel_blacklist.h -- Declarations for Individual Test Case implementation functions
6 Copyright (C) 2018 Guus Sliepen <guus@meshlink.io>
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License along
19 with this program; if not, write to the Free Software Foundation, Inc.,
20 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 extern int test_meshlink_channel_blacklist(void);
28 extern void *test_channel_blacklist_disonnection_nut_01(void *arg);
29 extern void *test_channel_blacklist_disonnection_peer_01(void *arg);
30 extern void *test_channel_blacklist_disonnection_relay_01(void *arg);
32 extern int total_reachable_callbacks_01;
33 extern int total_unreachable_callbacks_01;
34 extern int total_channel_closure_callbacks_01;
35 extern bool channel_discon_case_ping;
36 extern bool channel_discon_network_failure_01;
37 extern bool channel_discon_network_failure_02;
38 extern bool test_channel_blacklist_disonnection_peer_01_running;
39 extern bool test_channel_blacklist_disonnection_relay_01_running;
40 extern bool test_blacklist_whitelist_01;
41 extern bool test_channel_restart_01;
43 #endif // TEST_CASES_CHANNEL_CONN_H