summaryrefslogtreecommitdiff
path: root/src/or/periodic.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-17 09:26:50 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-17 09:26:50 -0500
commit70f337fdb20f5ce378e1bfb936aa63a40cdcacaa (patch)
tree974a7941340830e510beef8b6d713959f3ca7830 /src/or/periodic.h
parentb91bd27e6f94e76359097e1ec53494ea5168108d (diff)
downloadtor-70f337fdb20f5ce378e1bfb936aa63a40cdcacaa.tar.gz
tor-70f337fdb20f5ce378e1bfb936aa63a40cdcacaa.zip
Some unit tests now require that periodic events be initialized.
Diffstat (limited to 'src/or/periodic.h')
-rw-r--r--src/or/periodic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/periodic.h b/src/or/periodic.h
index a77f411690..bab0c91916 100644
--- a/src/or/periodic.h
+++ b/src/or/periodic.h
@@ -29,6 +29,7 @@ typedef struct periodic_event_item_t {
#define END_OF_PERIODIC_EVENTS { NULL, 0, NULL, NULL }
void periodic_event_launch(periodic_event_item_t *event);
+void periodic_event_setup(periodic_event_item_t *event);
void periodic_event_destroy(periodic_event_item_t *event);
void periodic_event_reschedule(periodic_event_item_t *event);