summaryrefslogtreecommitdiff
path: root/src/or/relay.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-09 13:48:44 -0400
committerNick Mathewson <nickm@torproject.org>2014-03-14 11:57:51 -0400
commit1a74360c2dd5c197e2dfc28b37961c77bb7792f1 (patch)
treed1e856ff67b9dcf2a97fabaaea5fc599566a62d6 /src/or/relay.h
parent102bb1c04f5cb4fb3eae7f41f80660e47c64ceb6 (diff)
downloadtor-1a74360c2dd5c197e2dfc28b37961c77bb7792f1.tar.gz
tor-1a74360c2dd5c197e2dfc28b37961c77bb7792f1.zip
Test code for implementation of faster circuit_unlink_all_from_channel
This contains the obvious implementation using the circuitmux data structure. It also runs the old (slow) algorithm and compares the results of the two to make sure that they're the same. Needs review and testing.
Diffstat (limited to 'src/or/relay.h')
-rw-r--r--src/or/relay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/relay.h b/src/or/relay.h
index 2c7d0d8ae4..4e1c7f5091 100644
--- a/src/or/relay.h
+++ b/src/or/relay.h
@@ -61,7 +61,7 @@ void cell_queue_append_packed_copy(circuit_t *circ, cell_queue_t *queue,
void append_cell_to_circuit_queue(circuit_t *circ, channel_t *chan,
cell_t *cell, cell_direction_t direction,
streamid_t fromstream);
-void channel_unlink_all_circuits(channel_t *chan);
+void channel_unlink_all_circuits(channel_t *chan, smartlist_t *detached_out);
int channel_flush_from_first_active_circuit(channel_t *chan, int max);
void assert_circuit_mux_okay(channel_t *chan);
void update_circuit_on_cmux_(circuit_t *circ, cell_direction_t direction,