summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorReinaldo de Souza Jr <juniorz@gmail.com>2015-09-07 12:22:33 -0500
committerReinaldo de Souza Jr <juniorz@gmail.com>2015-09-15 11:08:50 -0500
commit4ff08bb5811ddfe554e597d129ec48a774364480 (patch)
treeff8661a350d4d53d1ec3d7d51725453e2295909c /src/or/directory.h
parenta444b11323799536b4cd7902e29f711b0806293a (diff)
downloadtor-4ff08bb5811ddfe554e597d129ec48a774364480.tar.gz
tor-4ff08bb5811ddfe554e597d129ec48a774364480.zip
Add tests for directory_handle_command_get
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 4899eb5c8c..427183cac9 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -127,6 +127,10 @@ STATIC int purpose_needs_anonymity(uint8_t dir_purpose,
uint8_t router_purpose);
STATIC dirinfo_type_t dir_fetch_type(int dir_purpose, int router_purpose,
const char *resource);
+STATIC int directory_handle_command_get(dir_connection_t *conn,
+ const char *headers,
+ const char *req_body,
+ size_t req_body_len);
#endif
#endif