diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-08-11 15:16:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:31:13 -0400 |
commit | 4af6887d201d978a46072ead0036e0d16fa5908a (patch) | |
tree | 6d4c6d53f20ac02ef713fd01a211a57ff26c6510 /src/or/connection_edge.h | |
parent | b63f6518cbdc4c80b09399bc17d3bec3cac76ad9 (diff) | |
download | tor-4af6887d201d978a46072ead0036e0d16fa5908a.tar.gz tor-4af6887d201d978a46072ead0036e0d16fa5908a.zip |
Add support for linked connections with bufferevent_pair.
Also, set directory connections (linked and otherwise) to use bufferevents.
Also, stop using outbuf_flushlen anywhere except for OR connections.
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r-- | src/or/connection_edge.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h index 762af5172e..0f7bf07809 100644 --- a/src/or/connection_edge.h +++ b/src/or/connection_edge.h @@ -29,7 +29,8 @@ int connection_edge_finished_connecting(edge_connection_t *conn); int connection_ap_handshake_send_begin(edge_connection_t *ap_conn); int connection_ap_handshake_send_resolve(edge_connection_t *ap_conn); -edge_connection_t *connection_ap_make_link(char *address, uint16_t port, +edge_connection_t *connection_ap_make_link(connection_t *partner, + char *address, uint16_t port, const char *digest, int use_begindir, int want_onehop); void connection_ap_handshake_socks_reply(edge_connection_t *conn, char *reply, |