summaryrefslogtreecommitdiffstats
path: root/src/shared/libosmocore/include/osmocom/core/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/libosmocore/include/osmocom/core/timer.h')
-rw-r--r--src/shared/libosmocore/include/osmocom/core/timer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shared/libosmocore/include/osmocom/core/timer.h b/src/shared/libosmocore/include/osmocom/core/timer.h
index 30f558b4..d37af806 100644
--- a/src/shared/libosmocore/include/osmocom/core/timer.h
+++ b/src/shared/libosmocore/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
*/
@@ -82,6 +84,6 @@ void osmo_timers_prepare(void);
int osmo_timers_update(void);
int osmo_timers_check(void);
-/*! }@ */
+/*! @} */
#endif