summaryrefslogtreecommitdiff
path: root/src/or/periodic.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-02 10:49:33 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-13 16:24:44 -0500
commite8b459a2fa93d8f2991e5cbf4512eb88525df544 (patch)
tree1b81f6f43d84d358ad6c8efa946b4306555bc7ea /src/or/periodic.h
parentfbeff307f7780b26c9645ec7dbd685807add6581 (diff)
downloadtor-e8b459a2fa93d8f2991e5cbf4512eb88525df544.tar.gz
tor-e8b459a2fa93d8f2991e5cbf4512eb88525df544.zip
Connect periodic events to main
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 7d5b1b47bf..3a73f64f40 100644
--- a/src/or/periodic.h
+++ b/src/or/periodic.h
@@ -25,6 +25,7 @@ typedef struct periodic_event_item_t {
/** events will get their interval from first execution */
#define PERIODIC_EVENT(fn) { fn##_callback, 0, 0, NULL, #fn }
+#define END_OF_PERIODIC_EVENTS { NULL, 0, 0, NULL, NULL }
#if 0
/** Refactor test, check the last_action_time was now or (now - delta - 1)