Add AUSF, UDM, and UDR

This commit is contained in:
Sukchan Lee 2020-06-04 14:12:05 -04:00
parent 0c0241d5e5
commit 72370ff0b2
1151 changed files with 140173 additions and 24799 deletions

View 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_ */