aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-21 06:08:00 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-21 06:08:00 +0000
commit9ebf86bb668ac7672cf09d55ec9b5756105f95ae (patch)
tree07873842db07079417cee511ce81cb13637c0db1 /src/or/or.h
parentf0e7c4f0da87901584b4b03e7b50157ce607b88e (diff)
downloadtor-9ebf86bb668ac7672cf09d55ec9b5756105f95ae.tar.gz
tor-9ebf86bb668ac7672cf09d55ec9b5756105f95ae.zip
new config option FetchDirInfoEarly for tup/ioerror and the tordnsel
svn:r12896
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index f20211d95e..70a088a6a4 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2268,6 +2268,9 @@ typedef struct {
int RephistTrackTime; /**< How many seconds do we keep rephist info? */
int FastFirstHopPK; /**< If Tor believes it is safe, should we save a third
* of our PK time by sending CREATE_FAST cells? */
+ /** Should we always fetch our dir info on the mirror schedule (which
+ * means directly from the authorities) no matter our other config? */
+ int FetchDirInfoEarly;
addr_policy_t *reachable_addr_policy; /**< Parsed from ReachableAddresses */
@@ -3066,8 +3069,8 @@ int dirserv_dump_directory_to_string(char **dir_out,
crypto_pk_env_t *private_key);
int directory_fetches_from_authorities(or_options_t *options);
-int directory_fetches_dir_info_like_mirror(or_options_t *options);
-int directory_fetches_dir_info_like_bridge_user(or_options_t *options);
+int directory_fetches_dir_info_early(or_options_t *options);
+int directory_fetches_dir_info_later(or_options_t *options);
int directory_caches_v2_dir_info(or_options_t *options);
#define directory_caches_v1_dir_info(o) directory_caches_v2_dir_info(o)
int directory_caches_dir_info(or_options_t *options);