summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2016-08-25 11:11:23 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-11-04 10:32:50 -0400
commita8efd087bdd937027713217d74e1cfd40fba4961 (patch)
treed96d02bd9a1bc64097c628b01f747ba51aa5f02a /src/or/directory.h
parentf59990f24ddf3e5c7cdeb82c9e8cf16c7dcce56b (diff)
downloadtor-a8efd087bdd937027713217d74e1cfd40fba4961.tar.gz
tor-a8efd087bdd937027713217d74e1cfd40fba4961.zip
test: Add prop224 directory fetch/upload unit tests
Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 2fe42f2de6..210d6238b9 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -157,6 +157,8 @@ STATIC int download_status_schedule_get_delay(download_status_t *dls,
int min_delay, int max_delay,
time_t now);
+STATIC int handle_post_hs_descriptor(const char *url, const char *body);
+
STATIC char* authdir_type_to_string(dirinfo_type_t auth);
STATIC const char * dir_conn_purpose_to_string(int purpose);
STATIC int should_use_directory_guards(const or_options_t *options);