libosmocore 1.10.0.10-24ad1
Osmocom core library
|
A structure representing a single instance of a timer. More...
#include <timer.h>
Data Fields | |
struct rb_node | node |
rb-tree node header More... | |
struct llist_head | list |
internal list header More... | |
struct timeval | timeout |
expiration time More... | |
unsigned int | active: 1 |
is it active? More... | |
void(* | cb )(void *) |
call-back called at timeout More... | |
void * | data |
user data for callback More... | |
A structure representing a single instance of a timer.
unsigned int osmo_timer_list::active |
is it active?
Referenced by osmo_timer_add(), osmo_timer_del(), osmo_timer_pending(), and state_chg().
void(* osmo_timer_list::cb) (void *) |
call-back called at timeout
Referenced by osmo_timer_setup(), and osmo_timers_update().
void* osmo_timer_list::data |
user data for callback
Referenced by osmo_timer_setup().
struct llist_head osmo_timer_list::list |
internal list header
Referenced by osmo_timer_add(), and osmo_timer_del().
struct rb_node osmo_timer_list::node |
rb-tree node header
Referenced by __add_timer(), and osmo_timer_del().
struct timeval osmo_timer_list::timeout |
expiration time
Referenced by __add_timer(), osmo_timer_remaining(), osmo_timer_schedule(), osmo_timers_prepare(), and osmo_timers_update().