libosmocore 1.10.0.57-8972
Osmocom core library
|
description of a rule in the FSM More...
#include <fsm.h>
Data Fields | |
uint32_t | in_event_mask |
bit-mask of permitted input events for this state More... | |
uint32_t | out_state_mask |
bit-mask to which other states this state may transiton More... | |
const char * | name |
human-readable name of this state More... | |
void(* | action )(struct osmo_fsm_inst *fi, uint32_t event, void *data) |
function to be called for events arriving in this state More... | |
void(* | onenter )(struct osmo_fsm_inst *fi, uint32_t prev_state) |
function to be called just after entering the state More... | |
void(* | onleave )(struct osmo_fsm_inst *fi, uint32_t next_state) |
function to be called just before leaving the state More... | |
description of a rule in the FSM
void(* osmo_fsm_state::action) (struct osmo_fsm_inst *fi, uint32_t event, void *data) |
function to be called for events arriving in this state
Referenced by _osmo_fsm_inst_dispatch().
uint32_t osmo_fsm_state::in_event_mask |
bit-mask of permitted input events for this state
Referenced by _osmo_fsm_inst_dispatch().
const char* osmo_fsm_state::name |
human-readable name of this state
Referenced by osmo_fsm_state_name().
void(* osmo_fsm_state::onenter) (struct osmo_fsm_inst *fi, uint32_t prev_state) |
function to be called just after entering the state
Referenced by state_chg().
void(* osmo_fsm_state::onleave) (struct osmo_fsm_inst *fi, uint32_t next_state) |
function to be called just before leaving the state
Referenced by state_chg().
uint32_t osmo_fsm_state::out_state_mask |
bit-mask to which other states this state may transiton
Referenced by state_chg().