diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-18 16:23:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-08-15 12:03:36 -0400 |
commit | 03e3881043de68f371883fdb82a1d2bebf4179ed (patch) | |
tree | 9d2e47df9642718d287a9483789e906feea5c290 /src/or/ext_orport.h | |
parent | c342ea98791ccbeb67b1255816ca2e92167cefb0 (diff) | |
download | tor-03e3881043de68f371883fdb82a1d2bebf4179ed.tar tor-03e3881043de68f371883fdb82a1d2bebf4179ed.tar.gz |
Tests for connection_write_ext_or_command.
Diffstat (limited to 'src/or/ext_orport.h')
-rw-r--r-- | src/or/ext_orport.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/ext_orport.h b/src/or/ext_orport.h index 92ace7779..35b92ad63 100644 --- a/src/or/ext_orport.h +++ b/src/or/ext_orport.h @@ -22,5 +22,12 @@ int connection_ext_or_process_inbuf(or_connection_t *or_conn); int init_ext_or_cookie_authentication(int is_enabled); char *get_ext_or_auth_cookie_file_name(void); +#ifdef EXT_ORPORT_PRIVATE +STATIC int connection_write_ext_or_command(connection_t *conn, + uint16_t command, + const char *body, + size_t bodylen); +#endif + #endif |