aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-07 20:03:02 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-07 20:03:02 +0000
commit4aca47268dcd9929338d161436e9f43b83876941 (patch)
treeee6de81de9e824f53e025718b24e9a7a9389e045 /src/or/or.h
parent9e76eae8105485f5d839c46b838d232aedb94840 (diff)
downloadtor-4aca47268dcd9929338d161436e9f43b83876941.tar
tor-4aca47268dcd9929338d161436e9f43b83876941.tar.gz
Logic to launch connections for new directory types.
svn:r4914
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h
index ac357c978..2230dad19 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -323,14 +323,20 @@ typedef enum {
/** Purpose for connection to directory server: set after a rendezvous
* descriptor is downloaded. */
#define DIR_PURPOSE_HAS_FETCHED_RENDDESC 4
+/** A connection to a directory server: downoad one or more network-status
+ * objects */
+#define DIR_PURPOSE_FETCH_NETWORKSTATUS 5
+/** A connection to a directory server: downoad one or more server
+ * descriptors. */
+#define DIR_PURPOSE_FETCH_SERVERDESC 6
/** Purpose for connection to directory server: upload a server descriptor. */
-#define DIR_PURPOSE_UPLOAD_DIR 5
+#define DIR_PURPOSE_UPLOAD_DIR 7
/** Purpose for connection to directory server: upload a rendezvous
* descriptor. */
-#define DIR_PURPOSE_UPLOAD_RENDDESC 6
+#define DIR_PURPOSE_UPLOAD_RENDDESC 8
/** Purpose for connection at a directory server. */
-#define DIR_PURPOSE_SERVER 7
-#define _DIR_PURPOSE_MAX 7
+#define DIR_PURPOSE_SERVER 9
+#define _DIR_PURPOSE_MAX 9
#define _EXIT_PURPOSE_MIN 1
#define EXIT_PURPOSE_CONNECT 1