diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-07-22 10:50:34 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-07-27 07:58:15 +0200 |
commit | 0d33120c26cc4e9c7705d003e215a53143b41df7 (patch) | |
tree | ad3273dc44edee17663fe0c65a8e0ba286944026 /src/or/or.h | |
parent | 78b6a4650b8ea90d99e49aff2a2c20df461bb127 (diff) | |
download | tor-0d33120c26cc4e9c7705d003e215a53143b41df7.tar tor-0d33120c26cc4e9c7705d003e215a53143b41df7.tar.gz |
Create connection_or.h
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/or/or.h b/src/or/or.h index 31c57000b..236c24bcb 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3083,51 +3083,6 @@ typedef enum { ADDRMAPSRC_DNS, } addressmap_entry_source_t; -/********************************* connection_or.c ***************************/ - -void connection_or_remove_from_identity_map(or_connection_t *conn); -void connection_or_clear_identity_map(void); -or_connection_t *connection_or_get_for_extend(const char *digest, - const tor_addr_t *target_addr, - const char **msg_out, - int *launch_out); -void connection_or_set_bad_connections(void); - -int connection_or_reached_eof(or_connection_t *conn); -int connection_or_process_inbuf(or_connection_t *conn); -int connection_or_flushed_some(or_connection_t *conn); -int connection_or_finished_flushing(or_connection_t *conn); -int connection_or_finished_connecting(or_connection_t *conn); -int connection_or_digest_is_known_relay(const char *id_digest); - -void connection_or_connect_failed(or_connection_t *conn, - int reason, const char *msg); -or_connection_t *connection_or_connect(const tor_addr_t *addr, uint16_t port, - const char *id_digest); - -int connection_tls_start_handshake(or_connection_t *conn, int receiving); -int connection_tls_continue_handshake(or_connection_t *conn); - -void or_handshake_state_free(or_handshake_state_t *state); -int connection_or_set_state_open(or_connection_t *conn); -void connection_or_write_cell_to_buf(const cell_t *cell, - or_connection_t *conn); -void connection_or_write_var_cell_to_buf(const var_cell_t *cell, - or_connection_t *conn); -int connection_or_send_destroy(circid_t circ_id, or_connection_t *conn, - int reason); -int connection_or_send_netinfo(or_connection_t *conn); -int connection_or_send_cert(or_connection_t *conn); -int connection_or_send_link_auth(or_connection_t *conn); -int connection_or_compute_link_auth_hmac(or_connection_t *conn, - char *hmac_out); -int is_or_protocol_version_known(uint16_t version); - -void cell_pack(packed_cell_t *dest, const cell_t *src); -void var_cell_pack_header(const var_cell_t *cell, char *hdr_out); -var_cell_t *var_cell_new(uint16_t payload_len); -void var_cell_free(var_cell_t *cell); - /********************************* control.c ***************************/ /** Used to indicate the type of a circuit event passed to the controller. |