diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-08-09 10:53:06 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:31:13 -0400 |
commit | 5279036148ca158f7c60f793f401604060b1c1ba (patch) | |
tree | de22b4ed42cef2179ffcf17d68f7f870ed3a302f /src/or/connection.h | |
parent | 9f8027abfd70c364edbdddb90faa0adfa5547409 (diff) | |
download | tor-5279036148ca158f7c60f793f401604060b1c1ba.tar.gz tor-5279036148ca158f7c60f793f401604060b1c1ba.zip |
Be a little more abstract about which connection type use bufferevents
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index 906f9ba874..af21481156 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -134,7 +134,10 @@ void connection_dump_buffer_mem_stats(int severity); 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); +#else +#define connection_type_uses_bufferevent(c) (0) #endif #endif |