From 657eaee6ae640d5abffc760bed14b5d31ad1ea73 Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Tue, 28 Jun 2016 21:30:57 +0000 Subject: Expose GETINFO download status statics for test suite and make things mockable --- src/or/control.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/or/control.c') diff --git a/src/or/control.c b/src/or/control.c index 77a09f08c7..f127090612 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -2179,7 +2179,7 @@ download_status_to_string(const download_status_t *dl) } /** Handle the consensus download cases for getinfo_helper_downloads() */ -static void +STATIC void getinfo_helper_downloads_networkstatus(const char *flavor, download_status_t **dl_to_emit, const char **errmsg) @@ -2208,7 +2208,7 @@ getinfo_helper_downloads_networkstatus(const char *flavor, } /** Handle the cert download cases for getinfo_helper_downloads() */ -static void +STATIC void getinfo_helper_downloads_cert(const char *fp_sk_req, download_status_t **dl_to_emit, smartlist_t **digest_list, @@ -2308,7 +2308,7 @@ getinfo_helper_downloads_cert(const char *fp_sk_req, } /** Handle the routerdesc download cases for getinfo_helper_downloads() */ -static void +STATIC void getinfo_helper_downloads_desc(const char *desc_req, download_status_t **dl_to_emit, smartlist_t **digest_list, @@ -2354,7 +2354,7 @@ getinfo_helper_downloads_desc(const char *desc_req, } /** Handle the bridge download cases for getinfo_helper_downloads() */ -static void +STATIC void getinfo_helper_downloads_bridge(const char *bridge_req, download_status_t **dl_to_emit, smartlist_t **digest_list, @@ -2397,7 +2397,7 @@ getinfo_helper_downloads_bridge(const char *bridge_req, /** Implementation helper for GETINFO: knows the answers for questions about * download status information. */ -static int +STATIC int getinfo_helper_downloads(control_connection_t *control_conn, const char *question, char **answer, const char **errmsg) -- cgit v1.2.3-54-g00ecf