diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-03-16 09:40:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 14:59:55 -0400 |
commit | 8bf0382b220b31605fb5a542f36a842bdd7a6ed0 (patch) | |
tree | 860c1909b98b9db6587f4e5a3dea14175f86665d /src/or/connection_or.h | |
parent | f45e1fbd5b25735c75bed8767d9d50e279c4b63a (diff) | |
download | tor-8bf0382b220b31605fb5a542f36a842bdd7a6ed0.tar.gz tor-8bf0382b220b31605fb5a542f36a842bdd7a6ed0.zip |
Skeleton ExtORPort implementation. Needs testing, documentation.
Does not implement TransportControlPort yet.
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r-- | src/or/connection_or.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h index 85e68f1a33..a80871d5c9 100644 --- a/src/or/connection_or.h +++ b/src/or/connection_or.h @@ -95,5 +95,14 @@ void var_cell_free(var_cell_t *cell); /** DOCDOC */ #define MIN_LINK_PROTO_FOR_WIDE_CIRC_IDS 4 +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); + #endif |