diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-06-24 13:25:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-06-24 13:25:49 -0400 |
commit | 636cf9763a7a0406c15ff9fc7f068aa574d22e5f (patch) | |
tree | 7f504f7abd6a50735161f90303a98df683fd1979 /src/feature/relay/selftest.h | |
parent | bc50f082bd3a84156dd12db9e2186fd083b216c1 (diff) | |
download | tor-636cf9763a7a0406c15ff9fc7f068aa574d22e5f.tar.gz tor-636cf9763a7a0406c15ff9fc7f068aa574d22e5f.zip |
Replace router_should_skip_*() identifiers.
These identifiers are confusing and unreadable. I think these
replacements should be better. Closes ticket #40012.
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
router_should_skip_orport_reachability_check_family router_orport_seems_reachable \
router_should_skip_dirport_reachability_check router_dirport_seems_reachable \
router_should_skip_dirport_reachability_check router_all_orports_seem_reachable
Diffstat (limited to 'src/feature/relay/selftest.h')
-rw-r--r-- | src/feature/relay/selftest.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/feature/relay/selftest.h b/src/feature/relay/selftest.h index d65edf56ff..9b7005db39 100644 --- a/src/feature/relay/selftest.h +++ b/src/feature/relay/selftest.h @@ -16,11 +16,11 @@ struct or_options_t; #define router_should_skip_orport_reachability_check(opts) \ - router_should_skip_orport_reachability_check_family((opts),0) -int router_should_skip_orport_reachability_check_family( + router_orport_seems_reachable((opts),0) +int router_orport_seems_reachable( const struct or_options_t *options, int family); -int router_should_skip_dirport_reachability_check( +int router_dirport_seems_reachable( const struct or_options_t *options); void router_do_reachability_checks(int test_or, int test_dir); @@ -36,9 +36,9 @@ void router_reset_reachability(void); #define router_should_skip_orport_reachability_check(opts) \ ((void)(opts), 0) -#define router_should_skip_orport_reachability_check_family(opts, fam) \ +#define router_orport_seems_reachable(opts, fam) \ ((void)(opts), (void)(fam), 0) -#define router_should_skip_dirport_reachability_check(opts) \ +#define router_dirport_seems_reachable(opts) \ ((void)(opts), 0) static inline void |