summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/timer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/osmocom/core/timer.h b/include/osmocom/core/timer.h
index ecb50017..d37af806 100644
--- a/include/osmocom/core/timer.h
+++ b/include/osmocom/core/timer.h
@@ -73,7 +73,9 @@ void osmo_timer_del(struct osmo_timer_list *timer);
int osmo_timer_pending(struct osmo_timer_list *timer);
-
+int osmo_timer_remaining(const struct osmo_timer_list *timer,
+ const struct timeval *now,
+ struct timeval *remaining);
/*
* internal timer list management
*/