tor  0.4.2.1-alpha-dev
selftest.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
12 #ifndef TOR_SELFTEST_H
13 #define TOR_SELFTEST_H
14 
15 struct or_options_t;
16 int check_whether_orport_reachable(const struct or_options_t *options);
17 int check_whether_dirport_reachable(const struct or_options_t *options);
18 
19 void router_do_reachability_checks(int test_or, int test_dir);
22 void router_perform_bandwidth_test(int num_circs, time_t now);
23 
24 #endif /* !defined(TOR_SELFTEST_H) */
void router_perform_bandwidth_test(int num_circs, time_t now)
Definition: selftest.c:277
void router_orport_found_reachable(void)
Definition: selftest.c:220
void router_do_reachability_checks(int test_or, int test_dir)
Definition: selftest.c:172
void router_dirport_found_reachable(void)
Definition: selftest.c:247
int check_whether_orport_reachable(const or_options_t *options)
Definition: selftest.c:75
int check_whether_dirport_reachable(const or_options_t *options)
Definition: selftest.c:92