diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-08-14 14:34:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:31:14 -0400 |
commit | bd3612cd2b4c49fd9f9aec68b6268973e43f2b63 (patch) | |
tree | ec5e092ec63d687a326618e805066731abac637b /src/or/connection.h | |
parent | fc4ddafab81d5ca229436eeb0c460634e03cb2ca (diff) | |
download | tor-bd3612cd2b4c49fd9f9aec68b6268973e43f2b63.tar.gz tor-bd3612cd2b4c49fd9f9aec68b6268973e43f2b63.zip |
Get SSL connections and linked connections working with bufferevents.
Clients are now verified to work and build circuits correctly. There
are still a few warnings given here and there that I need to look into.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index adf79f1391..83aec0ef00 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -140,6 +140,10 @@ void remove_file_if_very_old(const char *fname, time_t now); #ifdef USE_BUFFEREVENTS int connection_type_uses_bufferevent(connection_t *conn); void connection_configure_bufferevent_callbacks(connection_t *conn); +void connection_handle_read_cb(struct bufferevent *bufev, void *arg); +void connection_handle_write_cb(struct bufferevent *bufev, void *arg); +void connection_handle_event_cb(struct bufferevent *bufev, short event, + void *arg); #else #define connection_type_uses_bufferevent(c) (0) #endif |