forked from acouzens/open5gs
33 lines
547 B
C
33 lines
547 B
C
#ifndef __PGW_EVENT_H__
|
|
#define __PGW_EVENT_H__
|
|
|
|
#include "core_event.h"
|
|
#include "core_fsm.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
typedef enum {
|
|
PGW_EVT_BASE = FSM_USER_SIG,
|
|
|
|
PGW_EVT_S5C_MESSAGE,
|
|
PGW_EVT_S5C_T3_RESPONSE,
|
|
PGW_EVT_S5C_T3_HOLDING,
|
|
|
|
PGW_EVT_GX_MESSAGE,
|
|
|
|
PGW_EVT_TOP,
|
|
|
|
} event_e;
|
|
|
|
#define pgw_event_send(__ptr_e) event_send(pgw_self()->queue_id, (__ptr_e))
|
|
|
|
CORE_DECLARE(char*) pgw_event_get_name(event_t *e);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __PGW_EVENT_H__ */
|