mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +00:00
Add AUSF, UDM, and UDR
This commit is contained in:
parent
0c0241d5e5
commit
72370ff0b2
1151 changed files with 140173 additions and 24799 deletions
43
lib/sbi/openapi/model/usage_threshold.h
Normal file
43
lib/sbi/openapi/model/usage_threshold.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* usage_threshold.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_usage_threshold_H_
|
||||
#define _OpenAPI_usage_threshold_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_usage_threshold_s OpenAPI_usage_threshold_t;
|
||||
typedef struct OpenAPI_usage_threshold_s {
|
||||
int duration;
|
||||
long total_volume;
|
||||
long downlink_volume;
|
||||
long uplink_volume;
|
||||
} OpenAPI_usage_threshold_t;
|
||||
|
||||
OpenAPI_usage_threshold_t *OpenAPI_usage_threshold_create(
|
||||
int duration,
|
||||
long total_volume,
|
||||
long downlink_volume,
|
||||
long uplink_volume
|
||||
);
|
||||
void OpenAPI_usage_threshold_free(OpenAPI_usage_threshold_t *usage_threshold);
|
||||
OpenAPI_usage_threshold_t *OpenAPI_usage_threshold_parseFromJSON(cJSON *usage_thresholdJSON);
|
||||
cJSON *OpenAPI_usage_threshold_convertToJSON(OpenAPI_usage_threshold_t *usage_threshold);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_usage_threshold_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue