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
47
lib/sbi/openapi/model/network_perf_requirement.h
Normal file
47
lib/sbi/openapi/model/network_perf_requirement.h
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* network_perf_requirement.h
|
||||
*
|
||||
* Represents a network performance requirement.
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_network_perf_requirement_H_
|
||||
#define _OpenAPI_network_perf_requirement_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "network_perf_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_network_perf_requirement_s OpenAPI_network_perf_requirement_t;
|
||||
typedef struct OpenAPI_network_perf_requirement_s {
|
||||
struct OpenAPI_network_perf_type_s *nw_perf_type;
|
||||
bool is_relative_ratio;
|
||||
int relative_ratio;
|
||||
bool is_absolute_num;
|
||||
int absolute_num;
|
||||
} OpenAPI_network_perf_requirement_t;
|
||||
|
||||
OpenAPI_network_perf_requirement_t *OpenAPI_network_perf_requirement_create(
|
||||
OpenAPI_network_perf_type_t *nw_perf_type,
|
||||
bool is_relative_ratio,
|
||||
int relative_ratio,
|
||||
bool is_absolute_num,
|
||||
int absolute_num
|
||||
);
|
||||
void OpenAPI_network_perf_requirement_free(OpenAPI_network_perf_requirement_t *network_perf_requirement);
|
||||
OpenAPI_network_perf_requirement_t *OpenAPI_network_perf_requirement_parseFromJSON(cJSON *network_perf_requirementJSON);
|
||||
cJSON *OpenAPI_network_perf_requirement_convertToJSON(OpenAPI_network_perf_requirement_t *network_perf_requirement);
|
||||
OpenAPI_network_perf_requirement_t *OpenAPI_network_perf_requirement_copy(OpenAPI_network_perf_requirement_t *dst, OpenAPI_network_perf_requirement_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_network_perf_requirement_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue