summaryrefslogtreecommitdiff
path: root/src/or/dirauth/dirvote.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirauth/dirvote.h')
-rw-r--r--src/or/dirauth/dirvote.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/or/dirauth/dirvote.h b/src/or/dirauth/dirvote.h
index fcc7cecf26..4514c6daf0 100644
--- a/src/or/dirauth/dirvote.h
+++ b/src/or/dirauth/dirvote.h
@@ -99,6 +99,8 @@
void dirvote_act(const or_options_t *options, time_t now);
void dirvote_free_all(void);
+void dirvote_parse_sr_commits(networkstatus_t *ns, smartlist_t *tokens);
+
#else /* HAVE_MODULE_DIRAUTH */
static inline void
@@ -113,6 +115,13 @@ dirvote_free_all(void)
{
}
+static inline void
+dirvote_parse_sr_commits(networkstatus_t *ns, smartlist_t *tokens)
+{
+ (void) ns;
+ (void) tokens;
+}
+
#endif /* HAVE_MODULE_DIRAUTH */
void dirvote_recalculate_timing(const or_options_t *options, time_t now);