diff options
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 |