aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-08-17 17:47:24 +1000
committerteor <teor2345@gmail.com>2016-08-24 11:02:19 +1000
commit19816f2f782568722964d35ee132af441a809db3 (patch)
tree3b4a7c9b3728b3ca394116af869594be61435556 /src/or/rendservice.h
parent10aa913accaf81d72dba6f1bcd9dcc128d9d8703 (diff)
downloadtor-19816f2f782568722964d35ee132af441a809db3.tar.gz
tor-19816f2f782568722964d35ee132af441a809db3.zip
Add a stub for rend_service_allow_direct_connection
It always returns 0. It should be replaced with the Single Onion version from #17178 when both are merged.
Diffstat (limited to 'src/or/rendservice.h')
-rw-r--r--src/or/rendservice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rendservice.h b/src/or/rendservice.h
index 4966cb0302..1622086a99 100644
--- a/src/or/rendservice.h
+++ b/src/or/rendservice.h
@@ -131,5 +131,7 @@ void directory_post_to_hs_dir(rend_service_descriptor_t *renddesc,
const char *service_id, int seconds_valid);
void rend_service_desc_has_uploaded(const rend_data_t *rend_data);
+int rend_service_allow_direct_connection(const or_options_t *options);
+
#endif