SILC_FSM_STATE

NAME

    #define SILC_FSM_STATE(name)

DESCRIPTION

This macro is used to declare an FSM state function. The `fsm' is the SilcFSM or SilcFSMThread context, the `fsm_context' is the context given as argument to silc_fsm_alloc, silc_fsm_init, silc_fsm_thread_init, or silc_fsm_thread_alloc function. The `state_context' is the optional state specific context set with silc_fsm_set_state_context function.

SOURCE

#define SILC_FSM_STATE(name)                                            \
int name(struct SilcFSMObject *fsm, void *fsm_context, void *state_context)