aboutsummaryrefslogtreecommitdiff
path: root/src/or/Makefile.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-28 13:29:31 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-01 18:14:26 -0400
commitfe309e7ad633bee36e175e600f0b9a0ac18cf981 (patch)
tree5e4bc848a6c65ec4eb91f8994ab9980a5ec20fb0 /src/or/Makefile.am
parent80b515b85fdfbcd645cb1920e398b3f2f6e85a31 (diff)
downloadtor-fe309e7ad633bee36e175e600f0b9a0ac18cf981.tar.gz
tor-fe309e7ad633bee36e175e600f0b9a0ac18cf981.zip
Implement a basic node and nodelist type
The node_t type is meant to serve two key functions: 1) Abstracting difference between routerinfo_t and microdesc_t so that clients can use microdesc_t instead of routerinfo_t. 2) Being a central place to hold mutable state about nodes formerly held in routerstatus_t and routerinfo_t. This patch implements a nodelist type that holds a node for every router that we would consider using.
Diffstat (limited to 'src/or/Makefile.am')
-rw-r--r--src/or/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/Makefile.am b/src/or/Makefile.am
index 9d8fb663cf..ef9c9903b3 100644
--- a/src/or/Makefile.am
+++ b/src/or/Makefile.am
@@ -21,7 +21,7 @@ libtor_a_SOURCES = buffers.c circuitbuild.c circuitlist.c \
cpuworker.c directory.c dirserv.c dirvote.c \
dns.c dnsserv.c geoip.c hibernate.c main.c $(tor_platform_source) \
microdesc.c \
- networkstatus.c onion.c policies.c \
+ networkstatus.c nodelist.c onion.c policies.c \
reasons.c relay.c rendcommon.c rendclient.c rendmid.c \
rendservice.c rephist.c router.c routerlist.c routerparse.c \
$(evdns_source) config_codedigest.c
@@ -56,6 +56,7 @@ noinst_HEADERS = buffers.h circuitbuild.h circuitlist.h circuituse.h \
command.h config.h connection_edge.h connection.h connection_or.h \
control.h cpuworker.h directory.h dirserv.h dirvote.h dns.h \
dnsserv.h geoip.h hibernate.h main.h microdesc.h networkstatus.h \
+ nodelist.h \
ntmain.h onion.h policies.h reasons.h relay.h rendclient.h \
rendcommon.h rendmid.h rendservice.h rephist.h router.h routerlist.h \
routerparse.h or.h eventdns.h eventdns_tor.h micro-revision.i