diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
commit | e45810113b150533611c7d9cb5f0f264e00a7394 (patch) | |
tree | 771581e87e36d6e4a4c81019c61b0dcb444c5096 /src/feature/dirauth/authmode.h | |
parent | a48cb9fa436720c263dd41ce501076185aeb5872 (diff) | |
parent | 8b2041c343098052dcec03cd6eda7087bc5c7616 (diff) | |
download | tor-e45810113b150533611c7d9cb5f0f264e00a7394.tar.gz tor-e45810113b150533611c7d9cb5f0f264e00a7394.zip |
Merge branch 'pre_formatter_cleanups_squashed'
Diffstat (limited to 'src/feature/dirauth/authmode.h')
-rw-r--r-- | src/feature/dirauth/authmode.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/feature/dirauth/authmode.h b/src/feature/dirauth/authmode.h index a9b9035458..6e6ba7f8ae 100644 --- a/src/feature/dirauth/authmode.h +++ b/src/feature/dirauth/authmode.h @@ -14,19 +14,12 @@ #ifdef HAVE_MODULE_DIRAUTH int authdir_mode(const or_options_t *options); +int authdir_mode_v3(const or_options_t *options); int authdir_mode_handles_descs(const or_options_t *options, int purpose); int authdir_mode_publishes_statuses(const or_options_t *options); int authdir_mode_tests_reachability(const or_options_t *options); int authdir_mode_bridge(const or_options_t *options); -/* Return true iff we believe ourselves to be a v3 authoritative directory - * server. */ -static inline int -authdir_mode_v3(const or_options_t *options) -{ - return authdir_mode(options) && options->V3AuthoritativeDir != 0; -} - /* Is the dirauth module enabled? */ #define have_module_dirauth() (1) |