libosmocore 1.11.0.26-c59d.202505092026
Osmocom core library
Loading...
Searching...
No Matches
osmo_timer_list Struct Reference

A structure representing a single instance of a timer. More...

#include <timer.h>

Data Fields

struct rb_node node
 rb-tree node header
 
struct llist_head list
 internal list header
 
struct timeval timeout
 expiration time
 
unsigned int active: 1
 is it active?
 
void(* cb )(void *)
 call-back called at timeout
 
voiddata
 user data for callback
 

Detailed Description

A structure representing a single instance of a timer.

Field Documentation

◆ active

unsigned int osmo_timer_list::active

◆ cb

void(* osmo_timer_list::cb) (void *)

call-back called at timeout

Referenced by osmo_timer_setup(), and osmo_timers_update().

◆ data

void* osmo_timer_list::data

user data for callback

Referenced by osmo_timer_setup(), and osmo_timers_update().

◆ list

struct llist_head osmo_timer_list::list

internal list header

Referenced by osmo_timer_add(), osmo_timer_del(), and osmo_timers_update().

◆ node

struct rb_node osmo_timer_list::node

rb-tree node header

Referenced by __add_timer(), osmo_timer_del(), osmo_timers_prepare(), and osmo_timers_update().

◆ timeout


The documentation for this struct was generated from the following file: