diff options
Diffstat (limited to 'src/common/loop.h')
| -rw-r--r-- | src/common/loop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/loop.h b/src/common/loop.h index 579fa2c..663417a 100644 --- a/src/common/loop.h +++ b/src/common/loop.h @@ -4,5 +4,7 @@ #include "yasl/loop.h" int yasl_loop_next_timeout_ms(const struct yasl_loop *l); +/* Whether id is armed: added, not deleted, and not retired by its callback. */ +bool yasl_loop_timer_armed(const struct yasl_loop *l, yasl_timer_id id); #endif /* YASL_COMMON_LOOP_H */ |
