/* * pcscf_info.h * * Information of a P-CSCF NF Instance */ #ifndef _OpenAPI_pcscf_info_H_ #define _OpenAPI_pcscf_info_H_ #include #include "../external/cJSON.h" #include "../include/list.h" #include "../include/keyValuePair.h" #include "../include/binary.h" #include "access_type.h" #include "ipv4_address_range.h" #include "ipv6_prefix_range.h" #ifdef __cplusplus extern "C" { #endif typedef struct OpenAPI_pcscf_info_s OpenAPI_pcscf_info_t; typedef struct OpenAPI_pcscf_info_s { OpenAPI_list_t *access_type; OpenAPI_list_t *dnn_list; char *gm_fqdn; OpenAPI_list_t *gm_ipv4_addresses; OpenAPI_list_t *gm_ipv6_addresses; OpenAPI_list_t *served_ipv4_address_ranges; OpenAPI_list_t *served_ipv6_prefix_ranges; } OpenAPI_pcscf_info_t; OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_create( OpenAPI_list_t *access_type, OpenAPI_list_t *dnn_list, char *gm_fqdn, OpenAPI_list_t *gm_ipv4_addresses, OpenAPI_list_t *gm_ipv6_addresses, OpenAPI_list_t *served_ipv4_address_ranges, OpenAPI_list_t *served_ipv6_prefix_ranges ); void OpenAPI_pcscf_info_free(OpenAPI_pcscf_info_t *pcscf_info); OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_parseFromJSON(cJSON *pcscf_infoJSON); cJSON *OpenAPI_pcscf_info_convertToJSON(OpenAPI_pcscf_info_t *pcscf_info); OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_copy(OpenAPI_pcscf_info_t *dst, OpenAPI_pcscf_info_t *src); #ifdef __cplusplus } #endif #endif /* _OpenAPI_pcscf_info_H_ */