mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10:11 +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
37
lib/sbi/openapi/model/metering_method.h
Normal file
37
lib/sbi/openapi/model/metering_method.h
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* 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_
|
||||
#define _OpenAPI_metering_method_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#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;
|
||||
|
||||
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);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_metering_method_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue