diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-19 07:55:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-12-19 07:55:06 -0500 |
commit | a6ba56761b6dc22011eee015f371d37d7b399a64 (patch) | |
tree | 77a53e71a12098296a8931342679fc9fbfa36222 /src/feature/dirauth/dirauth_sys.h | |
parent | 5c98a42f491145a0d706ba01bfc1947477f76534 (diff) | |
parent | 13df7449217cec5d4a9baf73adec850614b43633 (diff) | |
download | tor-a6ba56761b6dc22011eee015f371d37d7b399a64.tar.gz tor-a6ba56761b6dc22011eee015f371d37d7b399a64.zip |
Merge branch 'dirauth_config_squashed'
Diffstat (limited to 'src/feature/dirauth/dirauth_sys.h')
-rw-r--r-- | src/feature/dirauth/dirauth_sys.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/feature/dirauth/dirauth_sys.h b/src/feature/dirauth/dirauth_sys.h index 86c8d8ba3e..6f116855df 100644 --- a/src/feature/dirauth/dirauth_sys.h +++ b/src/feature/dirauth/dirauth_sys.h @@ -12,10 +12,17 @@ #ifndef DIRAUTH_SYS_H #define DIRAUTH_SYS_H -#ifdef HAVE_MODULE_DIRAUTH +struct dirauth_options_t; +const struct dirauth_options_t *dirauth_get_options(void); extern const struct subsys_fns_t sys_dirauth; -#endif +/** + * Subsystem level for the directory-authority system. + * + * Defined here so that it can be shared between the real and stub + * definitions. + **/ +#define DIRAUTH_SUBSYS_LEVEL 70 #endif /* !defined(DIRAUTH_SYS_H) */ |