summaryrefslogtreecommitdiff
path: root/src/or/include.am
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-05-03 10:18:45 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-06-20 15:26:58 -0400
commitb3b4ffce2e23bfb6a2af374cd8bfa5981628a342 (patch)
tree69f8d91ec6966e850a789600cfc1eb4e33fbb7c2 /src/or/include.am
parent9744a40f7aa71f874b9f3eeb3c5e7d0899c8d409 (diff)
downloadtor-b3b4ffce2e23bfb6a2af374cd8bfa5981628a342.tar.gz
tor-b3b4ffce2e23bfb6a2af374cd8bfa5981628a342.zip
prop250: Add memory and disk state in new files
This commit introduces two new files with their header. "shared_random.c" contains basic functions to initialize the state and allow commit decoding for the disk state to be able to parse them from disk. "shared_random_state.c" contains everything that has to do with the state for both our memory and disk. Lots of helper functions as well as a mechanism to query the state in a synchronized way. Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/or/include.am')
-rw-r--r--src/or/include.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/include.am b/src/or/include.am
index 19f1a7fe0a..744a507402 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -62,6 +62,8 @@ LIBTOR_A_SOURCES = \
src/or/onion.c \
src/or/onion_fast.c \
src/or/onion_tap.c \
+ src/or/shared_random.c \
+ src/or/shared_random_state.c \
src/or/transports.c \
src/or/periodic.c \
src/or/policies.c \
@@ -173,6 +175,8 @@ ORHEADERS = \
src/or/onion_ntor.h \
src/or/onion_tap.h \
src/or/or.h \
+ src/or/shared_random.h \
+ src/or/shared_random_state.h \
src/or/transports.h \
src/or/periodic.h \
src/or/policies.h \