summaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-18 16:23:48 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-15 12:03:36 -0400
commit03e3881043de68f371883fdb82a1d2bebf4179ed (patch)
tree9d2e47df9642718d287a9483789e906feea5c290 /src/or/connection.h
parentc342ea98791ccbeb67b1255816ca2e92167cefb0 (diff)
downloadtor-03e3881043de68f371883fdb82a1d2bebf4179ed.tar.gz
tor-03e3881043de68f371883fdb82a1d2bebf4179ed.zip
Tests for connection_write_ext_or_command.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 19f11c7439..0454ac2f36 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -130,8 +130,8 @@ int connection_outbuf_too_full(connection_t *conn);
int connection_handle_write(connection_t *conn, int force);
int connection_flush(connection_t *conn);
-void connection_write_to_buf_impl_(const char *string, size_t len,
- connection_t *conn, int zlib);
+MOCK_DECL(void, connection_write_to_buf_impl_,
+ (const char *string, size_t len, connection_t *conn, int zlib));
/* DOCDOC connection_write_to_buf */
static void connection_write_to_buf(const char *string, size_t len,
connection_t *conn);