Function silc_fsm_start
SYNOPSIS
void silc_fsm_start(void *fsm, SilcFSMStateCallback start_state);
DESCRIPTION
This function must be called after the SILC FSM context was created.
This actually starts the state machine. Note that, the machine is
started later after this function returns. The `start_state' is the
state where the machine or thread is started. This function is used
with both SilcFSM and SilcFSMThread contexts.
EXAMPLE
SilcFSM fsm;
fsm = silc_fsm_alloc(context, destructor, context, schedule);
silc_fsm_start(fsm, first_state);
|