Function silc_fsm_start_sync
SYNOPSIS
void silc_fsm_start_sync(void *fsm, SilcFSMStateCallback start_state);
DESCRIPTION
This function is same as silc_fsm_start, except that the FSM will
be started immediately inside this function. After this function
returns the `start_state' has already been executed. If the machine
is completely synchronous (no waiting used in the machine) then
the machine will have finished once this function returns. Also
note that if the machine is completely synchronous the destructor
will also be called from inside this function. This function is used
with both SilcFSM and SilcFSMThread contexts.
|