libosmocore 0.9.6-23.20170220git32ee5af8.fc42
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 | |
uint32_t | out_state_mask |
bit-mask to which other states this state may transiton | |
const char * | name |
human-readable name of this state | |
void(* | action )(struct osmo_fsm_inst *fi, uint32_t event, void *data) |
function to be called for events arriving in this state | |
void(* | onenter )(struct osmo_fsm_inst *fi, uint32_t prev_state) |
function to be called just after entering the state | |
void(* | onleave )(struct osmo_fsm_inst *fi, uint32_t next_state) |
function to be called just before leaving the state | |
description of a rule in the FSM