#include <pthread.h>
Go to the source code of this file.
|
| typedef void(* | fsm_state) (int event) |
| | State-handler function signature used by FSM dispatcher.
|
| |
◆ EV_CLIENT_CONNECT
| #define EV_CLIENT_CONNECT 0 |
◆ EV_CLIENT_DISCONNECT
| #define EV_CLIENT_DISCONNECT 1 |
◆ EV_LINK_CALL_REMOTE
| #define EV_LINK_CALL_REMOTE 4 |
◆ EV_LINK_DISCONNECT
| #define EV_LINK_DISCONNECT 6 |
◆ EV_LINK_ESTABLISHED
| #define EV_LINK_ESTABLISHED 8 |
◆ EV_LINK_ESTABLISHMENT_TIMEOUT
| #define EV_LINK_ESTABLISHMENT_TIMEOUT 7 |
◆ EV_LINK_INCOMING_CALL
| #define EV_LINK_INCOMING_CALL 5 |
◆ EV_START_LISTEN
| #define EV_START_LISTEN 2 |
◆ EV_STOP_LISTEN
◆ fsm_state
| typedef void(* fsm_state) (int event) |
State-handler function signature used by FSM dispatcher.
◆ fsm_destroy()
Destroy FSM synchronization resources.
- Parameters
-
◆ fsm_dispatch()
Dispatch an event into current FSM state.
- Parameters
-
| fsm | FSM handle. |
| event | Event identifier. |
◆ fsm_init()
Initialize FSM instance.
- Parameters
-
| fsm | FSM handle. |
| initial_state | Initial state callback. |
◆ fsm_event_names
| const char* fsm_event_names[] |
|
extern |