Split vote_{microdesc_hash,routerstatus}_t into their own headers

This commit is contained in:
Nick Mathewson
2018-06-15 13:23:02 -04:00
parent d2942d127d
commit 72d2fd83d8
14 changed files with 86 additions and 39 deletions
+3
View File
@@ -7,6 +7,9 @@
#include "memarea.h"
#include "microdesc.h"
#include "networkstatus.h"
#include "vote_routerstatus_st.h"
#include "fuzzing.h"
static void
+2
View File
@@ -47,6 +47,8 @@
#include "port_cfg_st.h"
#include "tor_version_st.h"
#include "vote_microdesc_hash_st.h"
#include "vote_routerstatus_st.h"
#define NS_MODULE dir
+3
View File
@@ -14,6 +14,9 @@
#include "test_dir_common.h"
#include "voting_schedule.h"
#include "vote_microdesc_hash_st.h"
#include "vote_routerstatus_st.h"
void dir_common_setup_vote(networkstatus_t **vote, time_t now);
networkstatus_t * dir_common_add_rs_and_parse(networkstatus_t *vote,
networkstatus_t **vote_out,
+3
View File
@@ -15,6 +15,9 @@
#include "routerparse.h"
#include "networkstatus.h"
#include "vote_microdesc_hash_st.h"
#include "vote_routerstatus_st.h"
#include "test.h"
#include "test_helpers.h"
#include "log_test_helpers.h"