aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_service.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-02-03 15:29:31 -0500
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:33 -0400
commit0f104ddce578c52d604931c595b28aa61a184b40 (patch)
tree25af5f25d05d12df11c543d6755e30a148ecc0c2 /src/or/hs_service.h
parent9052530bdde9f03da883dfb70fe261ea7d0e1b4d (diff)
downloadtor-0f104ddce578c52d604931c595b28aa61a184b40.tar.gz
tor-0f104ddce578c52d604931c595b28aa61a184b40.zip
prop224: Scheduled events for service
Add the main loop entry point to the HS service subsystem. It is run every second and make sure that all services are in their quiescent state after that which means valid descriptors, all needed circuits opened and latest descriptors have been uploaded. For now, only v2 is supported and placeholders for v3 actions for that main loop callback. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_service.h')
-rw-r--r--src/or/hs_service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_service.h b/src/or/hs_service.h
index ad95a20ed8..493329e22f 100644
--- a/src/or/hs_service.h
+++ b/src/or/hs_service.h
@@ -223,6 +223,8 @@ void hs_service_free(hs_service_t *service);
void hs_service_stage_services(const smartlist_t *service_list);
int hs_service_load_all_keys(void);
+void hs_service_run_scheduled_events(time_t now);
+
/* These functions are only used by unit tests and we need to expose them else
* hs_service.o ends up with no symbols in libor.a which makes clang throw a
* warning at compile time. See #21825. */