diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-15 13:45:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-15 13:45:15 -0400 |
commit | 50369f8981e8ce0894753daeea3dc28ab01f2667 (patch) | |
tree | cc209aba92d31f83008d28f4dc34bb7f30537479 /src/or/dirauth | |
parent | 89aefb0319778af419abed11707a7bf84648288c (diff) | |
download | tor-50369f8981e8ce0894753daeea3dc28ab01f2667.tar.gz tor-50369f8981e8ce0894753daeea3dc28ab01f2667.zip |
Extract networkstatus_t and ..sr_info_t into their own headers
Diffstat (limited to 'src/or/dirauth')
-rw-r--r-- | src/or/dirauth/dircollate.c | 1 | ||||
-rw-r--r-- | src/or/dirauth/dirvote.c | 1 | ||||
-rw-r--r-- | src/or/dirauth/shared_random.c | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dirauth/dircollate.c b/src/or/dirauth/dircollate.c index 388885fe0b..81f0bf31eb 100644 --- a/src/or/dirauth/dircollate.c +++ b/src/or/dirauth/dircollate.c @@ -25,6 +25,7 @@ #include "dircollate.h" #include "dirvote.h" +#include "networkstatus_st.h" #include "vote_routerstatus_st.h" static void dircollator_collate_by_ed25519(dircollator_t *dc); diff --git a/src/or/dirauth/dirvote.c b/src/or/dirauth/dirvote.c index 5dee8a8797..aa30a11f5c 100644 --- a/src/or/dirauth/dirvote.c +++ b/src/or/dirauth/dirvote.c @@ -30,6 +30,7 @@ #include "dir_server_st.h" #include "document_signature_st.h" +#include "networkstatus_st.h" #include "networkstatus_voter_info_st.h" #include "node_st.h" #include "vote_microdesc_hash_st.h" diff --git a/src/or/dirauth/shared_random.c b/src/or/dirauth/shared_random.c index 6dd1f330e0..137f695dbe 100644 --- a/src/or/dirauth/shared_random.c +++ b/src/or/dirauth/shared_random.c @@ -105,6 +105,8 @@ #include "dirauth/dirvote.h" #include "dirauth/mode.h" +#include "networkstatus_st.h" + /* String prefix of shared random values in votes/consensuses. */ static const char previous_srv_str[] = "shared-rand-previous-value"; static const char current_srv_str[] = "shared-rand-current-value"; |