|
libosmocore 0.9.6-23.20170220git32ee5af8.fc41
Osmocom core library
|
a single instanceof an osmocom finite state machine More...
#include <fsm.h>
Data Fields | ||
| struct llist_head | list | |
| member in the fsm->instances list | ||
| struct osmo_fsm * | fsm | |
| back-pointer to the FSM of which we are an instance | ||
| const char * | id | |
| human readable identifier | ||
| const char * | name | |
| human readable fully-qualified name | ||
| void * | priv | |
| some private data of this instance | ||
| int | log_level | |
| logging level for this FSM | ||
| uint32_t | state | |
| current state of the FSM | ||
| int | T | |
| timer number for states with time-out | ||
| struct osmo_timer_list | timer | |
| timer back-end for states with time-out | ||
| struct { | ||
| struct osmo_fsm_inst * parent | ||
| the parent FSM that has created us | ||
| uint32_t parent_term_event | ||
| the event we should send upon termination | ||
| struct llist_head children | ||
| a list of children processes | ||
| struct llist_head child | ||
| llist_head linked to parent->proc.children | ||
| } | proc | |
| support for fsm-based procedures | ||
a single instanceof an osmocom finite state machine