mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
[Release-17] Upgrade SBI to v17.x.0
This commit is contained in:
parent
969c116e77
commit
4d44b1843e
1687 changed files with 121604 additions and 9310 deletions
46
lib/sbi/openapi/model/exception.h
Normal file
46
lib/sbi/openapi/model/exception.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* exception.h
|
||||
*
|
||||
* Represents the Exception information.
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_exception_H_
|
||||
#define _OpenAPI_exception_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "exception_id.h"
|
||||
#include "exception_trend.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_exception_s OpenAPI_exception_t;
|
||||
typedef struct OpenAPI_exception_s {
|
||||
struct OpenAPI_exception_id_s *excep_id;
|
||||
bool is_excep_level;
|
||||
int excep_level;
|
||||
struct OpenAPI_exception_trend_s *excep_trend;
|
||||
} OpenAPI_exception_t;
|
||||
|
||||
OpenAPI_exception_t *OpenAPI_exception_create(
|
||||
OpenAPI_exception_id_t *excep_id,
|
||||
bool is_excep_level,
|
||||
int excep_level,
|
||||
OpenAPI_exception_trend_t *excep_trend
|
||||
);
|
||||
void OpenAPI_exception_free(OpenAPI_exception_t *exception);
|
||||
OpenAPI_exception_t *OpenAPI_exception_parseFromJSON(cJSON *exceptionJSON);
|
||||
cJSON *OpenAPI_exception_convertToJSON(OpenAPI_exception_t *exception);
|
||||
OpenAPI_exception_t *OpenAPI_exception_copy(OpenAPI_exception_t *dst, OpenAPI_exception_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_exception_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue