forked from acouzens/open5gs
74 lines
2.3 KiB
C
74 lines
2.3 KiB
C
/*
|
|
* pp_data.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef _OpenAPI_pp_data_H_
|
|
#define _OpenAPI_pp_data_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "acs_info_rm.h"
|
|
#include "communication_characteristics.h"
|
|
#include "ec_restriction.h"
|
|
#include "expected_ue_behaviour.h"
|
|
#include "lcs_privacy.h"
|
|
#include "model_5_mbs_authorization_info.h"
|
|
#include "sor_info.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_pp_data_s OpenAPI_pp_data_t;
|
|
typedef struct OpenAPI_pp_data_s {
|
|
bool is_communication_characteristics_null;
|
|
struct OpenAPI_communication_characteristics_s *communication_characteristics;
|
|
char *supported_features;
|
|
bool is_expected_ue_behaviour_parameters_null;
|
|
struct OpenAPI_expected_ue_behaviour_s *expected_ue_behaviour_parameters;
|
|
bool is_ec_restriction_null;
|
|
struct OpenAPI_ec_restriction_s *ec_restriction;
|
|
struct OpenAPI_acs_info_rm_s *acs_info;
|
|
bool is_stn_sr_null;
|
|
char *stn_sr;
|
|
bool is_lcs_privacy_null;
|
|
struct OpenAPI_lcs_privacy_s *lcs_privacy;
|
|
struct OpenAPI_sor_info_s *sor_info;
|
|
bool is__5mbs_authorization_info_null;
|
|
struct OpenAPI_model_5_mbs_authorization_info_s *_5mbs_authorization_info;
|
|
} OpenAPI_pp_data_t;
|
|
|
|
OpenAPI_pp_data_t *OpenAPI_pp_data_create(
|
|
bool is_communication_characteristics_null,
|
|
OpenAPI_communication_characteristics_t *communication_characteristics,
|
|
char *supported_features,
|
|
bool is_expected_ue_behaviour_parameters_null,
|
|
OpenAPI_expected_ue_behaviour_t *expected_ue_behaviour_parameters,
|
|
bool is_ec_restriction_null,
|
|
OpenAPI_ec_restriction_t *ec_restriction,
|
|
OpenAPI_acs_info_rm_t *acs_info,
|
|
bool is_stn_sr_null,
|
|
char *stn_sr,
|
|
bool is_lcs_privacy_null,
|
|
OpenAPI_lcs_privacy_t *lcs_privacy,
|
|
OpenAPI_sor_info_t *sor_info,
|
|
bool is__5mbs_authorization_info_null,
|
|
OpenAPI_model_5_mbs_authorization_info_t *_5mbs_authorization_info
|
|
);
|
|
void OpenAPI_pp_data_free(OpenAPI_pp_data_t *pp_data);
|
|
OpenAPI_pp_data_t *OpenAPI_pp_data_parseFromJSON(cJSON *pp_dataJSON);
|
|
cJSON *OpenAPI_pp_data_convertToJSON(OpenAPI_pp_data_t *pp_data);
|
|
OpenAPI_pp_data_t *OpenAPI_pp_data_copy(OpenAPI_pp_data_t *dst, OpenAPI_pp_data_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_pp_data_H_ */
|
|
|