Commit 986d7615 authored by Nick Mathewson's avatar Nick Mathewson 🥔
Browse files

Extract or_state_t to its own header.

Fewer modules needed this than I had expected.
parent f75357ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@

#include "or/crypt_path_st.h"
#include "or/origin_circuit_st.h"
#include "or/or_state_st.h"

#undef log
#include <math.h>
+1 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@
#include "or/or_connection_st.h"
#include "or/or_handshake_certs_st.h"
#include "or/or_handshake_state_st.h"
#include "or/or_state_st.h"
#include "or/routerinfo_st.h"
#include "or/var_cell_st.h"
#include "lib/crypt_ops/crypto_format.h"
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@
#include "or/voting_schedule.h"
#include "lib/encoding/confline.h"

#include "or/or_state_st.h"

/* Default filename of the shared random state on disk. */
static const char default_fname[] = "sr-state";

+1 −0
Original line number Diff line number Diff line
@@ -143,6 +143,7 @@

#include "or/node_st.h"
#include "or/origin_circuit_st.h"
#include "or/or_state_st.h"

#include "lib/crypt_ops/digestset.h"

+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ hibernating, phase 2:
#include "common/compat_libevent.h"

#include "or/or_connection_st.h"
#include "or/or_state_st.h"

/** Are we currently awake, asleep, running out of bandwidth, or shutting
 * down? */
Loading