libosmocore 1.11.0.26-c59d.202505072026
Osmocom core library
|
API to define Tnnn timers globally and use for FSM state changes. More...
Go to the source code of this file.
Data Structures | |
struct | osmo_tdef |
Define a GSM timer of the form Tnnn, with unit, default value and doc string. More... | |
struct | osmo_tdef_state_timeout |
Using osmo_tdef for osmo_fsm_inst: array entry for a mapping of state numbers to timeout definitions. More... | |
struct | osmo_tdef_group |
Manage timer definitions in named groups. More... | |
Macros | |
#define | osmo_tdef_for_each(t, tdefs) for (t = tdefs; t && (t->T || t->default_val || t->desc); t++) |
Iterate an array of struct osmo_tdef, the last item should be fully zero, i.e. | |
#define | osmo_tdef_fsm_inst_state_chg(fi, state, timeouts_array, tdefs, default_timeout) |
Call osmo_fsm_inst_state_chg[_ms]() or osmo_fsm_inst_state_chg_keep_timer[_ms](), depending on the timeouts_array, tdefs and default_timeout. | |
#define | osmo_tdef_groups_for_each(g, tdef_groups) for (g = tdef_groups; g && g->tdefs; g++) |
Iterate an array of struct osmo_tdef_group, the last item should be fully zero, i.e. | |
Enumerations | |
enum | osmo_tdef_unit { OSMO_TDEF_S = 0 , OSMO_TDEF_MS , OSMO_TDEF_M , OSMO_TDEF_CUSTOM , OSMO_TDEF_US } |
Variables | |
const struct value_string | osmo_tdef_unit_names [] |
API to define Tnnn timers globally and use for FSM state changes.