mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-03 05:40:09 +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
48
lib/sbi/openapi/model/condition_data.h
Normal file
48
lib/sbi/openapi/model/condition_data.h
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* condition_data.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_condition_data_H_
|
||||
#define _OpenAPI_condition_data_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "access_type.h"
|
||||
#include "rat_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_condition_data_s OpenAPI_condition_data_t;
|
||||
typedef struct OpenAPI_condition_data_s {
|
||||
char *cond_id;
|
||||
char *activation_time;
|
||||
char *deactivation_time;
|
||||
OpenAPI_access_type_e access_type;
|
||||
OpenAPI_rat_type_e rat_type;
|
||||
} OpenAPI_condition_data_t;
|
||||
|
||||
OpenAPI_condition_data_t *OpenAPI_condition_data_create(
|
||||
char *cond_id,
|
||||
char *activation_time,
|
||||
char *deactivation_time,
|
||||
OpenAPI_access_type_e access_type,
|
||||
OpenAPI_rat_type_e rat_type
|
||||
);
|
||||
void OpenAPI_condition_data_free(OpenAPI_condition_data_t *condition_data);
|
||||
OpenAPI_condition_data_t *OpenAPI_condition_data_parseFromJSON(cJSON *condition_dataJSON);
|
||||
cJSON *OpenAPI_condition_data_convertToJSON(OpenAPI_condition_data_t *condition_data);
|
||||
OpenAPI_condition_data_t *OpenAPI_condition_data_copy(OpenAPI_condition_data_t *dst, OpenAPI_condition_data_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_condition_data_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue