summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirauth_sys.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-19 07:55:06 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-19 07:55:06 -0500
commita6ba56761b6dc22011eee015f371d37d7b399a64 (patch)
tree77a53e71a12098296a8931342679fc9fbfa36222 /src/feature/dirauth/dirauth_sys.h
parent5c98a42f491145a0d706ba01bfc1947477f76534 (diff)
parent13df7449217cec5d4a9baf73adec850614b43633 (diff)
downloadtor-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.h11
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) */