From 03e3881043de68f371883fdb82a1d2bebf4179ed Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 18 Jul 2013 16:23:48 -0400 Subject: Tests for connection_write_ext_or_command. --- src/or/ext_orport.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/or/ext_orport.h') 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 -- cgit v1.2.3