aboutsummaryrefslogtreecommitdiff
path: root/src/ext/timeouts/timeout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/timeouts/timeout.h')
-rw-r--r--src/ext/timeouts/timeout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ext/timeouts/timeout.h b/src/ext/timeouts/timeout.h
index 6d7359a6a2..3b08f19255 100644
--- a/src/ext/timeouts/timeout.h
+++ b/src/ext/timeouts/timeout.h
@@ -177,6 +177,9 @@ TIMEOUT_PUBLIC void timeouts_update(struct timeouts *, timeout_t);
TIMEOUT_PUBLIC void timeouts_step(struct timeouts *, timeout_t);
/* step timing wheel by relative time */
+TIMEOUT_PUBLIC timeout_t timeouts_get_curtime(struct timeouts *);
+/* Return the current tick. */
+
TIMEOUT_PUBLIC timeout_t timeouts_timeout(struct timeouts *);
/* return interval to next required update */