aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2012-10-01 14:22:53 -0700
committerAndrea Shepard <andrea@torproject.org>2012-10-10 00:44:46 -0700
commitb28119e6a86fb910c02f53ee5e0154f8d15dc1e4 (patch)
tree63a53b8d5fd5b7a43b251e4f91dba6bbb4b6027b /src/or/circuitlist.h
parentc097fb33fc081165a55f0b9417d7c8bf5dc91cd6 (diff)
downloadtor-b28119e6a86fb910c02f53ee5e0154f8d15dc1e4.tar.gz
tor-b28119e6a86fb910c02f53ee5e0154f8d15dc1e4.zip
Fix detach when setting circuit ID to 0 bug in circuit_set_circid_chan_helper() and add circuit_get_by_circid_channel_even_if_marked()
Diffstat (limited to 'src/or/circuitlist.h')
-rw-r--r--src/or/circuitlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circuitlist.h b/src/or/circuitlist.h
index f0f4b2a6df..89e957c70a 100644
--- a/src/or/circuitlist.h
+++ b/src/or/circuitlist.h
@@ -30,6 +30,9 @@ origin_circuit_t *origin_circuit_new(void);
or_circuit_t *or_circuit_new(circid_t p_circ_id, channel_t *p_chan);
circuit_t *circuit_get_by_circid_channel(circid_t circ_id,
channel_t *chan);
+circuit_t *
+circuit_get_by_circid_channel_even_if_marked(circid_t circ_id,
+ channel_t *chan);
int circuit_id_in_use_on_channel(circid_t circ_id, channel_t *chan);
circuit_t *circuit_get_by_edge_conn(edge_connection_t *conn);
void circuit_unlink_all_from_channel(channel_t *chan, int reason);