diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-06 09:31:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-02 10:00:32 -0400 |
commit | 3b300151438304ff9b4612746478f4a6068e1cf7 (patch) | |
tree | 99ac30e8298623f212ceb409c0a316bb642dcc1b /src/or/connection.h | |
parent | 095e15f8ac8216cd945b85c159b461d8cd0697a3 (diff) | |
download | tor-3b300151438304ff9b4612746478f4a6068e1cf7.tar.gz tor-3b300151438304ff9b4612746478f4a6068e1cf7.zip |
Refactor connection_write_to_buf_impl_(); add one that takes a buf_t
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |