summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-12-13 19:12:34 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-19 15:02:08 -0500
commit02068c6391fc5b9febac1f02de7028688c92eee2 (patch)
treedfcf147fa9cb895272863ff97dd2f001d5e3f44c /src/or/directory.h
parent9bf89f80ce04630beb131163fd6e77441c22be78 (diff)
downloadtor-02068c6391fc5b9febac1f02de7028688c92eee2.tar.gz
tor-02068c6391fc5b9febac1f02de7028688c92eee2.zip
For fuzzing: Expose directory_handle_command.
(Nick extracted this patch from a larger patch by Teor.)
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index ee0a198c52..15010d6ff7 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -148,6 +148,7 @@ int purpose_needs_anonymity(uint8_t dir_purpose, uint8_t router_purpose,
struct get_handler_args_t;
STATIC int handle_get_hs_descriptor_v3(dir_connection_t *conn,
const struct get_handler_args_t *args);
+STATIC int directory_handle_command(dir_connection_t *conn);
#endif