aboutsummaryrefslogtreecommitdiff
path: root/src/or/ext_orport.c
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/ext_orport.c
parentc342ea98791ccbeb67b1255816ca2e92167cefb0 (diff)
downloadtor-03e3881043de68f371883fdb82a1d2bebf4179ed.tar
tor-03e3881043de68f371883fdb82a1d2bebf4179ed.tar.gz
Tests for connection_write_ext_or_command.
Diffstat (limited to 'src/or/ext_orport.c')
-rw-r--r--src/or/ext_orport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/ext_orport.c b/src/or/ext_orport.c
index e0980deda..b1bb11bd4 100644
--- a/src/or/ext_orport.c
+++ b/src/or/ext_orport.c
@@ -6,6 +6,7 @@
* \brief Code implementing the Extended ORPort.
*/
+#define EXT_ORPORT_PRIVATE
#include "or.h"
#include "connection.h"
#include "connection_or.h"
@@ -52,7 +53,7 @@ connection_fetch_ext_or_cmd_from_buf(connection_t *conn, ext_or_cmd_t **out)
* <b>command</b> as the command type, <b>bodylen</b> as the body
* length, and <b>body</b>, if it's present, as the body of the
* message. */
-static int
+STATIC int
connection_write_ext_or_command(connection_t *conn,
uint16_t command,
const char *body,