|
libosmocore
0.9.6.241-b6c8
Osmocom core library
|
a description of an osmocom finite state machine More...
#include <fsm.h>
Data Fields | |
| struct llist_head | list |
| global list | |
| struct llist_head | instances |
| list of instances of this FSM | |
| const char * | name |
| human readable name | |
| const struct osmo_fsm_state * | states |
| table of state transition rules | |
| unsigned int | num_states |
| number of entries in states | |
| uint32_t | allstate_event_mask |
| bit-mask of events permitted in all states | |
| void(* | allstate_action )(struct osmo_fsm_inst *fi, uint32_t event, void *data) |
| function pointer to be called for allstate events | |
| void(* | cleanup )(struct osmo_fsm_inst *fi, enum osmo_fsm_term_cause cause) |
| clean-up function, called during termination | |
| int(* | timer_cb )(struct osmo_fsm_inst *fi) |
| timer call-back for states with time-out. More... | |
| int | log_subsys |
| logging sub-system for this FSM | |
| const struct value_string * | event_names |
| human-readable names of events | |
a description of an osmocom finite state machine
| int(* osmo_fsm::timer_cb)(struct osmo_fsm_inst *fi) |
timer call-back for states with time-out.