mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +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
74
lib/sbi/openapi/model/modify_200_response.h
Normal file
74
lib/sbi/openapi/model/modify_200_response.h
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
/*
|
||||
* modify_200_response.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_modify_200_response_H_
|
||||
#define _OpenAPI_modify_200_response_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "context_info.h"
|
||||
#include "patch_result.h"
|
||||
#include "plmn_id.h"
|
||||
#include "report_item.h"
|
||||
#include "sdm_subscription.h"
|
||||
#include "snssai.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_modify_200_response_s OpenAPI_modify_200_response_t;
|
||||
typedef struct OpenAPI_modify_200_response_s {
|
||||
char *nf_instance_id;
|
||||
bool is_implicit_unsubscribe;
|
||||
int implicit_unsubscribe;
|
||||
char *expires;
|
||||
char *callback_reference;
|
||||
char *amf_service_name;
|
||||
OpenAPI_list_t *monitored_resource_uris;
|
||||
struct OpenAPI_snssai_s *single_nssai;
|
||||
char *dnn;
|
||||
char *subscription_id;
|
||||
struct OpenAPI_plmn_id_s *plmn_id;
|
||||
bool is_immediate_report;
|
||||
int immediate_report;
|
||||
OpenAPI_list_t *report;
|
||||
char *supported_features;
|
||||
struct OpenAPI_context_info_s *context_info;
|
||||
} OpenAPI_modify_200_response_t;
|
||||
|
||||
OpenAPI_modify_200_response_t *OpenAPI_modify_200_response_create(
|
||||
char *nf_instance_id,
|
||||
bool is_implicit_unsubscribe,
|
||||
int implicit_unsubscribe,
|
||||
char *expires,
|
||||
char *callback_reference,
|
||||
char *amf_service_name,
|
||||
OpenAPI_list_t *monitored_resource_uris,
|
||||
OpenAPI_snssai_t *single_nssai,
|
||||
char *dnn,
|
||||
char *subscription_id,
|
||||
OpenAPI_plmn_id_t *plmn_id,
|
||||
bool is_immediate_report,
|
||||
int immediate_report,
|
||||
OpenAPI_list_t *report,
|
||||
char *supported_features,
|
||||
OpenAPI_context_info_t *context_info
|
||||
);
|
||||
void OpenAPI_modify_200_response_free(OpenAPI_modify_200_response_t *modify_200_response);
|
||||
OpenAPI_modify_200_response_t *OpenAPI_modify_200_response_parseFromJSON(cJSON *modify_200_responseJSON);
|
||||
cJSON *OpenAPI_modify_200_response_convertToJSON(OpenAPI_modify_200_response_t *modify_200_response);
|
||||
OpenAPI_modify_200_response_t *OpenAPI_modify_200_response_copy(OpenAPI_modify_200_response_t *dst, OpenAPI_modify_200_response_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_modify_200_response_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue