diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-20 00:48:23 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-20 00:48:23 +0000 |
commit | 4283b81a48f918daa69e68b1099fdb4172892ac4 (patch) | |
tree | f9e5d9e8c15901d2936a1bae5d6eaf782e76a648 /src/or/or.h | |
parent | 3f7f069a05720a4373167f9533faaa496b5b55b3 (diff) | |
download | tor-4283b81a48f918daa69e68b1099fdb4172892ac4.tar.gz tor-4283b81a48f918daa69e68b1099fdb4172892ac4.zip |
Start spooling v2 networkstatus docs as well.
svn:r6664
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index 08527e066b..7346e225ec 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -699,9 +699,9 @@ struct connection_t { * for?*/ /* Used only for server sides of some dir connections. */ enum { - DIR_REFRESH_NONE=0, DIR_REFRESH_SERVER_BY_DIGEST, DIR_REFRESH_SERVER_BY_FP, - DIR_REFRESH_CACHED_DIR - } dir_refresh_src; + DIR_SPOOL_NONE=0, DIR_SPOOL_SERVER_BY_DIGEST, DIR_SPOOL_SERVER_BY_FP, + DIR_SPOOL_CACHED_DIR, DIR_SPOOL_NETWORKSTATUS + } dir_spool_src; smartlist_t *fingerprint_stack; struct cached_dir_t *cached_dir; off_t cached_dir_offset; @@ -1938,6 +1938,8 @@ void dirserv_set_cached_networkstatus_v2(const char *directory, const char *identity, time_t published); void dirserv_get_networkstatus_v2(smartlist_t *result, const char *key); +void dirserv_get_networkstatus_v2_fingerprints(smartlist_t *result, + const char *key); int dirserv_get_routerdesc_fingerprints(smartlist_t *fps_out, const char *key, const char **msg); int dirserv_get_routerdescs(smartlist_t *descs_out, const char *key, |