mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Split vote_{microdesc_hash,routerstatus}_t into their own headers
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
#include "memarea.h"
|
||||
#include "microdesc.h"
|
||||
#include "networkstatus.h"
|
||||
|
||||
#include "vote_routerstatus_st.h"
|
||||
|
||||
#include "fuzzing.h"
|
||||
|
||||
static void
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user