forked from acouzens/open5gs
41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
/*
|
|
* am_policy_data.h
|
|
*
|
|
* Contains the AM policy data for a given subscriber.
|
|
*/
|
|
|
|
#ifndef _OpenAPI_am_policy_data_H_
|
|
#define _OpenAPI_am_policy_data_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "presence_info.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_am_policy_data_s OpenAPI_am_policy_data_t;
|
|
typedef struct OpenAPI_am_policy_data_s {
|
|
OpenAPI_list_t* pra_infos;
|
|
OpenAPI_list_t *subsc_cats;
|
|
} OpenAPI_am_policy_data_t;
|
|
|
|
OpenAPI_am_policy_data_t *OpenAPI_am_policy_data_create(
|
|
OpenAPI_list_t* pra_infos,
|
|
OpenAPI_list_t *subsc_cats
|
|
);
|
|
void OpenAPI_am_policy_data_free(OpenAPI_am_policy_data_t *am_policy_data);
|
|
OpenAPI_am_policy_data_t *OpenAPI_am_policy_data_parseFromJSON(cJSON *am_policy_dataJSON);
|
|
cJSON *OpenAPI_am_policy_data_convertToJSON(OpenAPI_am_policy_data_t *am_policy_data);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_am_policy_data_H_ */
|
|
|