summaryrefslogtreecommitdiff
path: root/src/or/rendservice.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-11-18 14:32:13 +1100
committerNick Mathewson <nickm@torproject.org>2016-12-01 09:44:53 -0500
commit91abd60cad2fa3ca9f85fe20956f5f6a336c9c67 (patch)
treed59b13bcc25d8bf12b8b58662c80f85869150d53 /src/or/rendservice.h
parent1d1d37bbc672f28ac481511df3a5dc4c9c732ed0 (diff)
downloadtor-91abd60cad2fa3ca9f85fe20956f5f6a336c9c67.tar.gz
tor-91abd60cad2fa3ca9f85fe20956f5f6a336c9c67.zip
Update unit tests for 20484, 20529
Add extra logging and extra validity checks for hidden services.
Diffstat (limited to 'src/or/rendservice.h')
-rw-r--r--src/or/rendservice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/rendservice.h b/src/or/rendservice.h
index 630191e8b7..bd3fb1fdaa 100644
--- a/src/or/rendservice.h
+++ b/src/or/rendservice.h
@@ -119,6 +119,10 @@ typedef struct rend_service_t {
STATIC void rend_service_free(rend_service_t *service);
STATIC char *rend_service_sos_poison_path(const rend_service_t *service);
+STATIC int rend_service_check_dir_and_add(smartlist_t *service_list,
+ const or_options_t *options,
+ rend_service_t *service,
+ int validate_only);
#endif