diff options
author | Reinaldo de Souza Jr <juniorz@gmail.com> | 2015-09-07 12:22:33 -0500 |
---|---|---|
committer | Reinaldo de Souza Jr <juniorz@gmail.com> | 2015-09-15 11:08:50 -0500 |
commit | 4ff08bb5811ddfe554e597d129ec48a774364480 (patch) | |
tree | ff8661a350d4d53d1ec3d7d51725453e2295909c /src/or/directory.h | |
parent | a444b11323799536b4cd7902e29f711b0806293a (diff) | |
download | tor-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.h | 4 |
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 |