mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10:11 +00:00
feat: Add dedicated QoS flow
This commit is contained in:
parent
65aea5ebf2
commit
235a041b8d
205 changed files with 6053 additions and 3831 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* metering_method.h
|
||||
*
|
||||
* Possible values are - DURATION: Indicates that the duration of the service data flow traffic shall be metered. - VOLUME: Indicates that volume of the service data flow traffic shall be metered. - DURATION_VOLUME: Indicates that the duration and the volume of the service data flow traffic shall be metered. - EVENT: Indicates that events of the service data flow traffic shall be metered.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_metering_method_H_
|
||||
|
|
@ -12,22 +12,16 @@
|
|||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "null_value.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_metering_method_s OpenAPI_metering_method_t;
|
||||
typedef struct OpenAPI_metering_method_s {
|
||||
} OpenAPI_metering_method_t;
|
||||
typedef enum { OpenAPI_metering_method_NULL = 0, OpenAPI_metering_method_DURATION, OpenAPI_metering_method_VOLUME, OpenAPI_metering_method_DURATION_VOLUME, OpenAPI_metering_method_EVENT } OpenAPI_metering_method_e;
|
||||
|
||||
OpenAPI_metering_method_t *OpenAPI_metering_method_create(
|
||||
);
|
||||
void OpenAPI_metering_method_free(OpenAPI_metering_method_t *metering_method);
|
||||
OpenAPI_metering_method_t *OpenAPI_metering_method_parseFromJSON(cJSON *metering_methodJSON);
|
||||
cJSON *OpenAPI_metering_method_convertToJSON(OpenAPI_metering_method_t *metering_method);
|
||||
OpenAPI_metering_method_t *OpenAPI_metering_method_copy(OpenAPI_metering_method_t *dst, OpenAPI_metering_method_t *src);
|
||||
char* OpenAPI_metering_method_ToString(OpenAPI_metering_method_e metering_method);
|
||||
|
||||
OpenAPI_metering_method_e OpenAPI_metering_method_FromString(char* metering_method);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue