mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +00:00
Added N32 Interface to implement SEPP
This commit is contained in:
parent
a8790713d7
commit
e41afff7ac
63 changed files with 5503 additions and 290 deletions
49
lib/sbi/openapi/model/n32f_error_info.h
Normal file
49
lib/sbi/openapi/model/n32f_error_info.h
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
/*
|
||||
* n32f_error_info.h
|
||||
*
|
||||
* N32-f error information
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_n32f_error_info_H_
|
||||
#define _OpenAPI_n32f_error_info_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "failed_modification_info.h"
|
||||
#include "n32f_error_detail.h"
|
||||
#include "n32f_error_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_n32f_error_info_s OpenAPI_n32f_error_info_t;
|
||||
typedef struct OpenAPI_n32f_error_info_s {
|
||||
char *n32f_message_id;
|
||||
OpenAPI_n32f_error_type_e n32f_error_type;
|
||||
char *n32f_context_id;
|
||||
OpenAPI_list_t *failed_modification_list;
|
||||
OpenAPI_list_t *error_details_list;
|
||||
} OpenAPI_n32f_error_info_t;
|
||||
|
||||
OpenAPI_n32f_error_info_t *OpenAPI_n32f_error_info_create(
|
||||
char *n32f_message_id,
|
||||
OpenAPI_n32f_error_type_e n32f_error_type,
|
||||
char *n32f_context_id,
|
||||
OpenAPI_list_t *failed_modification_list,
|
||||
OpenAPI_list_t *error_details_list
|
||||
);
|
||||
void OpenAPI_n32f_error_info_free(OpenAPI_n32f_error_info_t *n32f_error_info);
|
||||
OpenAPI_n32f_error_info_t *OpenAPI_n32f_error_info_parseFromJSON(cJSON *n32f_error_infoJSON);
|
||||
cJSON *OpenAPI_n32f_error_info_convertToJSON(OpenAPI_n32f_error_info_t *n32f_error_info);
|
||||
OpenAPI_n32f_error_info_t *OpenAPI_n32f_error_info_copy(OpenAPI_n32f_error_info_t *dst, OpenAPI_n32f_error_info_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_n32f_error_info_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue