aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-21 10:50:33 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-21 10:50:33 -0500
commit84adb9fcca3d4e1954c1dd215a3e765c689d82b3 (patch)
tree9e15408fb449c806ac807bc9f36c709cd1f15683 /src/or/relay.h
parentc38157be9d8fc7de9c6fc0c58e3bc8481a1d48a4 (diff)
parent08469a338ab524e233f357d46504338fd64dedf9 (diff)
downloadtor-84adb9fcca3d4e1954c1dd215a3e765c689d82b3.tar.gz
tor-84adb9fcca3d4e1954c1dd215a3e765c689d82b3.zip
Merge branch 'maint-0.3.1' into maint-0.3.2
Diffstat (limited to 'src/or/relay.h')
-rw-r--r--src/or/relay.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/relay.h b/src/or/relay.h
index 2412dcb23c..4cc1a0fbdb 100644
--- a/src/or/relay.h
+++ b/src/or/relay.h
@@ -63,6 +63,13 @@ 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 destroy_cell_queue_init(destroy_cell_queue_t *queue);
+void destroy_cell_queue_clear(destroy_cell_queue_t *queue);
+void destroy_cell_queue_append(destroy_cell_queue_t *queue,
+ circid_t circid,
+ uint8_t reason);
+
void channel_unlink_all_circuits(channel_t *chan, smartlist_t *detached_out);
MOCK_DECL(int, channel_flush_from_first_active_circuit,
(channel_t *chan, int max));
@@ -102,6 +109,7 @@ STATIC int connection_edge_process_resolved_cell(edge_connection_t *conn,
const relay_header_t *rh);
STATIC packed_cell_t *packed_cell_new(void);
STATIC packed_cell_t *cell_queue_pop(cell_queue_t *queue);
+STATIC destroy_cell_t *destroy_cell_queue_pop(destroy_cell_queue_t *queue);
STATIC size_t cell_queues_get_total_allocation(void);
STATIC int cell_queues_check_size(void);
#endif /* defined(RELAY_PRIVATE) */