open5gs/lib/sbi/openapi/model/pcscf_info.h
Sukchan Lee 9af4268bab arch: DB schema Changes (#796)
- New function : NSSF
- New feature : SMF selection
2021-03-08 21:25:09 +09:00

48 lines
1.2 KiB
C

/*
* pcscf_info.h
*
* Information of a P-CSCF NF Instance
*/
#ifndef _OpenAPI_pcscf_info_H_
#define _OpenAPI_pcscf_info_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "access_type.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_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
);
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_ */