diff options
author | teor <teor@riseup.net> | 2020-05-07 20:07:13 +1000 |
---|---|---|
committer | teor <teor@riseup.net> | 2020-05-07 20:07:13 +1000 |
commit | 05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994 (patch) | |
tree | eb5e6f815ebd3fc039365174c0df30f3d07669ee /src/feature/relay/selftest.h | |
parent | 4a36dfebee080ccd56501042b2943c114544d7eb (diff) | |
download | tor-05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994.tar.gz tor-05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994.zip |
Replace several C identifiers.
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
router_skip_orport_reachability_check router_should_skip_orport_reachability_check \
router_skip_dirport_reachability_check router_should_skip_dirport_reachability_check \
router_connect_assume_or_reachable client_or_conn_should_skip_reachable_address_check \
router_connect_assume_dir_reachable client_dir_conn_should_skip_reachable_address_check
It was generated with --no-verify, so it probably breaks some commit hooks.
The commiter should be sure to fix them up in a subsequent commit.
Diffstat (limited to 'src/feature/relay/selftest.h')
-rw-r--r-- | src/feature/relay/selftest.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/feature/relay/selftest.h b/src/feature/relay/selftest.h index ce30d92a22..f2350cf8f5 100644 --- a/src/feature/relay/selftest.h +++ b/src/feature/relay/selftest.h @@ -15,8 +15,8 @@ #ifdef HAVE_MODULE_RELAY struct or_options_t; -int router_skip_orport_reachability_check(const struct or_options_t *options); -int router_skip_dirport_reachability_check(const struct or_options_t *options); +int router_should_skip_orport_reachability_check(const struct or_options_t *options); +int router_should_skip_dirport_reachability_check(const struct or_options_t *options); void router_do_reachability_checks(int test_or, int test_dir); void router_perform_bandwidth_test(int num_circs, time_t now); @@ -29,9 +29,9 @@ void router_reset_reachability(void); #else /* !defined(HAVE_MODULE_RELAY) */ -#define router_skip_orport_reachability_check(opts) \ +#define router_should_skip_orport_reachability_check(opts) \ ((void)(opts), 0) -#define router_skip_dirport_reachability_check(opts) \ +#define router_should_skip_dirport_reachability_check(opts) \ ((void)(opts), 0) static inline void |