diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-07-31 11:11:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:28:43 -0400 |
commit | 57e7b54b7b4102de0c5776a1268367c18090033b (patch) | |
tree | cde7c95a1cb1bd3acfe4ff5577cafeba59d7e412 /src/or/main.h | |
parent | 94aac84a71bc695fe594e49a4fd0947fdbbd4895 (diff) | |
download | tor-57e7b54b7b4102de0c5776a1268367c18090033b.tar.gz tor-57e7b54b7b4102de0c5776a1268367c18090033b.zip |
Teach read_event/write_event manipulators about bufferevents.
Add an --enable-bufferevents config switch.
Diffstat (limited to 'src/or/main.h')
-rw-r--r-- | src/or/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.h b/src/or/main.h index ef38dc9351..6175c28a95 100644 --- a/src/or/main.h +++ b/src/or/main.h @@ -24,6 +24,7 @@ int connection_is_on_closeable_list(connection_t *conn); smartlist_t *get_connection_array(void); typedef enum watchable_events { + /* Yes, it is intentional that these match Libevent's EV_READ and EV_WRITE */ READ_EVENT=0x02, WRITE_EVENT=0x04 } watchable_events_t; |