summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2014-08-20 22:07:08 +0300
committerNick Mathewson <nickm@torproject.org>2014-08-20 15:29:56 -0400
commit8b539cc27684534a6a71cef92f9a6782040f6ca9 (patch)
tree8fe796bf3fb6d9fa878e8622fc29b4315659a9af /src/or/entrynodes.h
parentc731a1c68f47812f0bc536a8fab548c3c734ce28 (diff)
downloadtor-8b539cc27684534a6a71cef92f9a6782040f6ca9.tar.gz
tor-8b539cc27684534a6a71cef92f9a6782040f6ca9.zip
Unit testing entry_is_time_to_retry().
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r--src/or/entrynodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index 5d91756aa4..52b31a225d 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -104,6 +104,9 @@ typedef enum {
STATIC const node_t *entry_is_live(const entry_guard_t *e,
entry_is_live_flags_t flags,
const char **msg);
+
+STATIC int entry_is_time_to_retry(const entry_guard_t *e, time_t now);
+
#endif
void remove_all_entry_guards(void);