summaryrefslogtreecommitdiff
path: root/src/or/rendservice.h
diff options
context:
space:
mode:
authorDonncha O'Cearbhaill <donncha@donncha.is>2015-03-22 13:31:53 +0000
committerNick Mathewson <nickm@torproject.org>2015-05-04 11:41:28 -0400
commit841c4aa71505e9fea877f45223a0b01fade8a754 (patch)
tree1e64da197a2a0a3b57f695ad6dbc70fd374d2483 /src/or/rendservice.h
parent411049d0d44963b8d9ec6f96c8dc62a106d6cc30 (diff)
downloadtor-841c4aa71505e9fea877f45223a0b01fade8a754.tar.gz
tor-841c4aa71505e9fea877f45223a0b01fade8a754.zip
Add "+HSPOST" and related "HS_DESC" event flags to the controller.
"+HSPOST" and the related event changes allow the uploading of HS descriptors via the control port, and more comprehensive event monitoring of HS descriptor upload status.
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 6d0973b06c..ec783d53c9 100644
--- a/src/or/rendservice.h
+++ b/src/or/rendservice.h
@@ -120,5 +120,9 @@ rend_service_add_ephemeral_status_t rend_service_add_ephemeral(crypto_pk_t *pk,
char **service_id_out);
int rend_service_del_ephemeral(const char *service_id);
+void directory_post_to_hs_dir(rend_service_descriptor_t *renddesc,
+ smartlist_t *descs, smartlist_t *hs_dirs,
+ const char *service_id, int seconds_valid);
+
#endif