mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
[SBI] Crash occurs when ENUM in the MAP (#2103)
This commit is contained in:
parent
ce668c556c
commit
969c116e77
1097 changed files with 266728 additions and 42047 deletions
31
lib/sbi/openapi/model/npcf_af_event.h
Normal file
31
lib/sbi/openapi/model/npcf_af_event.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* npcf_af_event.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_npcf_af_event_H_
|
||||
#define _OpenAPI_npcf_af_event_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum { OpenAPI_npcf_af_event_NULL = 0, OpenAPI_npcf_af_event_ACCESS_TYPE_CHANGE, OpenAPI_npcf_af_event_ANI_REPORT, OpenAPI_npcf_af_event_CHARGING_CORRELATION, OpenAPI_npcf_af_event_EPS_FALLBACK, OpenAPI_npcf_af_event_FAILED_RESOURCES_ALLOCATION, OpenAPI_npcf_af_event_OUT_OF_CREDIT, OpenAPI_npcf_af_event_PLMN_CHG, OpenAPI_npcf_af_event_QOS_MONITORING, OpenAPI_npcf_af_event_QOS_NOTIF, OpenAPI_npcf_af_event_RAN_NAS_CAUSE, OpenAPI_npcf_af_event_REALLOCATION_OF_CREDIT, OpenAPI_npcf_af_event_SUCCESSFUL_RESOURCES_ALLOCATION, OpenAPI_npcf_af_event_TSN_BRIDGE_INFO, OpenAPI_npcf_af_event_USAGE_REPORT } OpenAPI_npcf_af_event_e;
|
||||
|
||||
char* OpenAPI_npcf_af_event_ToString(OpenAPI_npcf_af_event_e npcf_af_event);
|
||||
|
||||
OpenAPI_npcf_af_event_e OpenAPI_npcf_af_event_FromString(char* npcf_af_event);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_npcf_af_event_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue