From d7358e8598710a4b78274bddd371d036ad0d47ea Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 1 Aug 2013 13:15:58 -0400 Subject: Expose/mock some functions to make ext_orport.c testing possible --- src/or/main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/or/main.h') diff --git a/src/or/main.h b/src/or/main.h index 85621a32bf..4aebe3eeee 100644 --- a/src/or/main.h +++ b/src/or/main.h @@ -69,5 +69,10 @@ int tor_main(int argc, char *argv[]); int do_main_loop(void); int tor_init(int argc, char **argv); +#ifdef MAIN_PRIVATE +STATIC void init_connection_lists(void); +STATIC void close_closeable_connections(void); +#endif + #endif -- cgit v1.2.3-54-g00ecf