From d8f74cc439ad025cc52aea8495705096d6538029 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Wed, 5 Dec 2012 19:18:18 +0200 Subject: Move Extended ORPort code to its own module. Move the code from the connection_or module to ext_orport. This commit only moves code: it shouldn't modify anything. --- src/or/ext_orport.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/or/ext_orport.h (limited to 'src/or/ext_orport.h') diff --git a/src/or/ext_orport.h b/src/or/ext_orport.h new file mode 100644 index 000000000..fbd7ed653 --- /dev/null +++ b/src/or/ext_orport.h @@ -0,0 +1,14 @@ +int connection_ext_or_start_auth(or_connection_t *or_conn); + +ext_or_cmd_t *ext_or_cmd_new(uint16_t len); +void ext_or_cmd_free(ext_or_cmd_t *cmd); +void connection_or_set_ext_or_identifier(or_connection_t *conn); +void connection_or_remove_from_ext_or_id_map(or_connection_t *conn); +void connection_or_clear_ext_or_id_map(void); + +int connection_ext_or_finished_flushing(or_connection_t *conn); +int connection_ext_or_process_inbuf(or_connection_t *or_conn); + +int init_ext_or_auth_cookie_authentication(int is_enabled); +char *get_ext_or_auth_cookie_file(void); + -- cgit v1.2.3