aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-10-19 17:07:23 -0400
committerNick Mathewson <nickm@torproject.org>2016-10-19 17:07:23 -0400
commitec4142abdf7fa4efaa281413e31acc93bf22ea4a (patch)
treeb4e1af64b660415e7600b8c04efbdf9cecf9248b /src/or/channel.h
parent87e4b9259ad76ac12613bf569f45a2110ed0e400 (diff)
downloadtor-ec4142abdf7fa4efaa281413e31acc93bf22ea4a.tar.gz
tor-ec4142abdf7fa4efaa281413e31acc93bf22ea4a.zip
Unify code in channel_write_*cell()
Patch from pingl; patch for 13827.
Diffstat (limited to 'src/or/channel.h')
-rw-r--r--src/or/channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/channel.h b/src/or/channel.h
index a711b56d44..44a3901991 100644
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@ -382,6 +382,9 @@ struct cell_queue_entry_s {
STATIC int chan_cell_queue_len(const chan_cell_queue_t *queue);
STATIC void cell_queue_entry_free(cell_queue_entry_t *q, int handed_off);
+
+void channel_write_cell_generic_(channel_t *chan, const char *cell_type,
+ void *cell, cell_queue_entry_t *q);
#endif
/* Channel operations for subclasses and internal use only */