summaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-02 10:01:30 -0400
committerNick Mathewson <nickm@torproject.org>2017-11-02 10:01:30 -0400
commita321f8f4af01b6ca2f1a809b9c484c9fdb40d177 (patch)
tree07c15af48bd2460890775186048352001b0a93a7 /src/or/connection.h
parent7700b99fe6aa8b66a76e70a40f5f37eef1017e5e (diff)
parent508645b5a4cd64a975d31614ad060f38dde84e82 (diff)
downloadtor-a321f8f4af01b6ca2f1a809b9c484c9fdb40d177.tar.gz
tor-a321f8f4af01b6ca2f1a809b9c484c9fdb40d177.zip
Merge branch 'buf_for_stringbuffer_squashed'
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 7f488676ed..450229ce8f 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -156,6 +156,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);