summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-22 10:03:18 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-30 14:42:53 -0500
commit8e43398986313f31bfda53aa798263972bf24c11 (patch)
tree97314ffdd9df87420b2d41fc6b1ec747df93e442 /src/or/entrynodes.h
parent4689096ed165e893a541b11520b347fc03e39db0 (diff)
downloadtor-8e43398986313f31bfda53aa798263972bf24c11.tar.gz
tor-8e43398986313f31bfda53aa798263972bf24c11.zip
Function to cancel a guard state.
We'll want to use this if we allocate a guard state then decide, "whoops, we don't want to use this."
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r--src/or/entrynodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index 7119d547b1..60191ab8b9 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -322,6 +322,8 @@ int entry_guard_succeeded(guard_selection_t *gs,
circuit_guard_state_t **guard_state_p);
void entry_guard_failed(guard_selection_t *gs,
circuit_guard_state_t **guard_state_p);
+void entry_guard_cancel(guard_selection_t *gs,
+ circuit_guard_state_t **guard_state_p);
void entry_guard_chan_failed(guard_selection_t *gs,
channel_t *chan);
void entry_guards_update_all(guard_selection_t *gs);