[5GC] Added BSF(Binding Support Function)

This commit is contained in:
Sukchan Lee 2021-05-29 15:56:12 +09:00
parent 611986794b
commit fe89f7cd11
293 changed files with 24988 additions and 1507 deletions

View file

@ -0,0 +1,44 @@
/*
* usage_threshold_rm.h
*
*
*/
#ifndef _OpenAPI_usage_threshold_rm_H_
#define _OpenAPI_usage_threshold_rm_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_rm_s OpenAPI_usage_threshold_rm_t;
typedef struct OpenAPI_usage_threshold_rm_s {
int duration;
long total_volume;
long downlink_volume;
long uplink_volume;
} OpenAPI_usage_threshold_rm_t;
OpenAPI_usage_threshold_rm_t *OpenAPI_usage_threshold_rm_create(
int duration,
long total_volume,
long downlink_volume,
long uplink_volume
);
void OpenAPI_usage_threshold_rm_free(OpenAPI_usage_threshold_rm_t *usage_threshold_rm);
OpenAPI_usage_threshold_rm_t *OpenAPI_usage_threshold_rm_parseFromJSON(cJSON *usage_threshold_rmJSON);
cJSON *OpenAPI_usage_threshold_rm_convertToJSON(OpenAPI_usage_threshold_rm_t *usage_threshold_rm);
OpenAPI_usage_threshold_rm_t *OpenAPI_usage_threshold_rm_copy(OpenAPI_usage_threshold_rm_t *dst, OpenAPI_usage_threshold_rm_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_usage_threshold_rm_H_ */