mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +00:00
Add PCF(Policy Control Function)
This commit is contained in:
parent
fb95725ca4
commit
198abc6e8b
299 changed files with 29050 additions and 1075 deletions
53
lib/sbi/openapi/model/qos_characteristics.h
Normal file
53
lib/sbi/openapi/model/qos_characteristics.h
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
* qos_characteristics.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_qos_characteristics_H_
|
||||
#define _OpenAPI_qos_characteristics_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "qos_resource_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_qos_characteristics_s OpenAPI_qos_characteristics_t;
|
||||
typedef struct OpenAPI_qos_characteristics_s {
|
||||
int _5qi;
|
||||
struct OpenAPI_qos_resource_type_s *resource_type;
|
||||
int priority_level;
|
||||
int packet_delay_budget;
|
||||
char *packet_error_rate;
|
||||
int averaging_window;
|
||||
int max_data_burst_vol;
|
||||
int ext_max_data_burst_vol;
|
||||
} OpenAPI_qos_characteristics_t;
|
||||
|
||||
OpenAPI_qos_characteristics_t *OpenAPI_qos_characteristics_create(
|
||||
int _5qi,
|
||||
OpenAPI_qos_resource_type_t *resource_type,
|
||||
int priority_level,
|
||||
int packet_delay_budget,
|
||||
char *packet_error_rate,
|
||||
int averaging_window,
|
||||
int max_data_burst_vol,
|
||||
int ext_max_data_burst_vol
|
||||
);
|
||||
void OpenAPI_qos_characteristics_free(OpenAPI_qos_characteristics_t *qos_characteristics);
|
||||
OpenAPI_qos_characteristics_t *OpenAPI_qos_characteristics_parseFromJSON(cJSON *qos_characteristicsJSON);
|
||||
cJSON *OpenAPI_qos_characteristics_convertToJSON(OpenAPI_qos_characteristics_t *qos_characteristics);
|
||||
OpenAPI_qos_characteristics_t *OpenAPI_qos_characteristics_copy(OpenAPI_qos_characteristics_t *dst, OpenAPI_qos_characteristics_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_qos_characteristics_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue