From 3b300151438304ff9b4612746478f4a6068e1cf7 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 6 Sep 2017 09:31:02 -0400 Subject: Refactor connection_write_to_buf_impl_(); add one that takes a buf_t --- src/or/connection.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/connection.h') diff --git a/src/or/connection.h b/src/or/connection.h index 57b9a4a1df..d5b05998eb 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -155,6 +155,7 @@ connection_buf_add_compress(const char *string, size_t len, { connection_write_to_buf_impl_(string, len, TO_CONN(conn), done ? -1 : 1); } +void connection_buf_add_buf(connection_t *conn, buf_t *buf); /* DOCDOC connection_get_inbuf_len */ static size_t connection_get_inbuf_len(connection_t *conn); -- cgit v1.2.3-54-g00ecf