SM_STATE macro
SM_STATE - Declaration of a state machine function @machine: State machine name @state: State machine state This macro is used to declare a state machine function. It is used in place of a C function definition to declare functions to be run when the state is entered by calling SM_ENTER or SM_ENTER_GLOBAL.