summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-11 11:43:27 -0500
committerNick Mathewson <nickm@torproject.org>2012-12-25 23:10:41 -0500
commit1df7289000de7ffd8676ea0f3c276ea54e8cad3c (patch)
tree1f51017b29da8a1583af4c0e82f8da1be34fa73d /src/or/entrynodes.h
parenta7c6b4ab917085cff23886a97023b92a1c76ca25 (diff)
downloadtor-1df7289000de7ffd8676ea0f3c276ea54e8cad3c.tar.gz
tor-1df7289000de7ffd8676ea0f3c276ea54e8cad3c.zip
Remember which of our guards are directory caches
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r--src/or/entrynodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index 4d031c3593..24f2eeffe9 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -35,6 +35,7 @@ typedef struct entry_guard_t {
* for this node already? */
unsigned int path_bias_disabled : 1; /**< Have we disabled this node because
* of path bias issues? */
+ unsigned int is_dir_cache : 1; /**< DOCDOC */
time_t bad_since; /**< 0 if this guard is currently usable, or the time at
* which it was observed to become (according to the
* directory or the user configuration) unusable. */