freewtp/lib/capwap_dfa.h

30 lines
854 B
C
Raw Permalink Normal View History

2013-05-01 14:52:55 +02:00
#ifndef __CAPWAP_DFA_HEADER__
#define __CAPWAP_DFA_HEADER__
#define CAPWAP_UNDEF_STATE -1
#define CAPWAP_START_STATE 0
2013-11-07 22:07:05 +01:00
#define CAPWAP_IDLE_STATE 1
#define CAPWAP_DISCOVERY_STATE 2
#define CAPWAP_SULKING_STATE 3
#define CAPWAP_DTLS_CONNECT_STATE 4
#define CAPWAP_DTLS_TEARDOWN_STATE 5
#define CAPWAP_JOIN_STATE 6
#define CAPWAP_POSTJOIN_STATE 7
#define CAPWAP_IMAGE_DATA_STATE 8
#define CAPWAP_CONFIGURE_STATE 9
#define CAPWAP_RESET_STATE 10
#define CAPWAP_DATA_CHECK_STATE 11
#define CAPWAP_DATA_CHECK_TO_RUN_STATE 12
#define CAPWAP_RUN_STATE 13
#define CAPWAP_DEAD_STATE 14
#define CAPWAP_LAST_STATE 14
2013-05-01 14:52:55 +02:00
/* */
2013-11-07 22:07:05 +01:00
#ifdef DEBUG
2013-05-01 14:52:55 +02:00
char* capwap_dfa_getname(int state);
2013-11-07 22:07:05 +01:00
#else
#define capwap_dfa_getname(x) ""
#endif
2013-05-01 14:52:55 +02:00
#endif /* __CAPWAP_DFA_HEADER__ */