diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-05 07:41:31 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-05 07:41:31 +0000 |
commit | 5b6099e8a2197a04e8c2e0fe8586471711bbd3f1 (patch) | |
tree | 2b2a3c18cd25e25463b942cb0e7e4ef252ccf4ff /src/or/or.h | |
parent | d70063578d331769bbed3d61fd94c484e67e46bc (diff) | |
download | tor-5b6099e8a2197a04e8c2e0fe8586471711bbd3f1.tar tor-5b6099e8a2197a04e8c2e0fe8586471711bbd3f1.tar.gz |
more alice-side infrastructure
handle rendezvous acks,
do rend begin cells right,
send an introduction cell (sort of)
receive a rendezvous2 cell (sort of)
svn:r1475
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 6f7b79eba..d74115636 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -850,6 +850,7 @@ int connection_edge_finished_flushing(connection_t *conn); int connection_edge_package_raw_inbuf(connection_t *conn); int connection_ap_handshake_attach_circuit(connection_t *conn); +int connection_ap_handshake_send_begin(connection_t *ap_conn, circuit_t *circ); int connection_ap_make_bridge(char *address, uint16_t port); @@ -1041,7 +1042,7 @@ void rep_hist_dump_stats(time_t now, int severity); void rend_client_introcirc_is_open(circuit_t *circ); void rend_client_rendcirc_is_open(circuit_t *circ); int rend_client_rendezvous_acked(circuit_t *circ, const char *request, int request_len); -void rend_client_rendezvous(connection_t *apconn, circuit_t *circ); +int rend_client_receive_rendezvous(circuit_t *circ, const char *request, int request_len); void rend_client_desc_fetched(char *query, int success); int rend_cmp_service_ids(char *one, char *two); @@ -1049,6 +1050,7 @@ char *rend_get_random_intro(char *query); int rend_parse_rendezvous_address(char *address); int rend_client_send_establish_rendezvous(circuit_t *circ); +int rend_client_send_introduction(circuit_t *introcirc, circuit_t *rendcirc); /********************************* rendcommon.c ***************************/ |