summaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-08-01 13:15:58 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-15 12:03:37 -0400
commitd7358e8598710a4b78274bddd371d036ad0d47ea (patch)
tree986d98bcabb0456dfcc1b98ad35226dfb4a8fbd5 /src/or/control.h
parentfd6749203ed9ca27263e895b53a12a6d15878cdd (diff)
downloadtor-d7358e8598710a4b78274bddd371d036ad0d47ea.tar.gz
tor-d7358e8598710a4b78274bddd371d036ad0d47ea.zip
Expose/mock some functions to make ext_orport.c testing possible
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 288c286fee..3b2004bffe 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -85,7 +85,8 @@ void enable_control_logging(void);
void monitor_owning_controller_process(const char *process_spec);
void control_event_bootstrap(bootstrap_status_t status, int progress);
-void control_event_bootstrap_problem(const char *warn, int reason);
+MOCK_DECL(void, control_event_bootstrap_problem,(const char *warn,
+ int reason));
void control_event_clients_seen(const char *controller_str);