summaryrefslogtreecommitdiff
path: root/src/or/dirserv.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-10-15 12:09:52 -0400
committerteor <teor2345@gmail.com>2017-10-15 12:09:52 -0400
commitb8d4588c90d399b4b4487dfbacfdbe6dd415aac4 (patch)
tree7eaa02bfd3bc0325271c53039632a551bf90506c /src/or/dirserv.h
parent305f9476713b8c2d098dc6ba8098a4a9f39a86ad (diff)
downloadtor-b8d4588c90d399b4b4487dfbacfdbe6dd415aac4.tar.gz
tor-b8d4588c90d399b4b4487dfbacfdbe6dd415aac4.zip
Add a consensus_method argument to routerstatus_format_entry()
And pass ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD when it's not applicable. Preparation for #23826.
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r--src/or/dirserv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h
index 46967a6cb2..9dc239f213 100644
--- a/src/or/dirserv.h
+++ b/src/or/dirserv.h
@@ -150,6 +150,7 @@ char *routerstatus_format_entry(
const char *version,
const char *protocols,
routerstatus_format_type_t format,
+ int consensus_method,
const vote_routerstatus_t *vrs);
void dirserv_free_all(void);
void cached_dir_decref(cached_dir_t *d);