summaryrefslogtreecommitdiff
path: root/src/common/loop.h
blob: 663417a70d28c143cb2775408ad215c79b1a0820 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef YASL_COMMON_LOOP_H
#define YASL_COMMON_LOOP_H

#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 */