|
@@ -13,6 +13,8 @@
|
|
|
#include "lib/testsupport/testsupport.h"
|
|
|
#include "lib/malloc/malloc.h"
|
|
|
|
|
|
+#include <stdbool.h>
|
|
|
+
|
|
|
void configure_libevent_logging(void);
|
|
|
void suppress_libevent_log_msg(const char *msg);
|
|
|
|
|
@@ -68,6 +70,7 @@ typedef struct tor_libevent_cfg {
|
|
|
} tor_libevent_cfg;
|
|
|
|
|
|
void tor_libevent_initialize(tor_libevent_cfg *cfg);
|
|
|
+bool tor_libevent_is_initialized(void);
|
|
|
MOCK_DECL(struct event_base *, tor_libevent_get_base, (void));
|
|
|
const char *tor_libevent_get_method(void);
|
|
|
void tor_check_libevent_header_compatibility(void);
|