open5gs/lib/sbi/openapi/model/easdf_info.h
2023-03-01 19:56:49 +09:00

44 lines
1.2 KiB
C

/*
* easdf_info.h
*
* Information of an EASDF NF Instance
*/
#ifndef _OpenAPI_easdf_info_H_
#define _OpenAPI_easdf_info_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "ip_addr.h"
#include "snssai_easdf_info_item.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_easdf_info_s OpenAPI_easdf_info_t;
typedef struct OpenAPI_easdf_info_s {
OpenAPI_list_t *s_nssai_easdf_info_list;
OpenAPI_list_t *easdf_n6_ip_address_list;
OpenAPI_list_t *upf_n6_ip_address_list;
} OpenAPI_easdf_info_t;
OpenAPI_easdf_info_t *OpenAPI_easdf_info_create(
OpenAPI_list_t *s_nssai_easdf_info_list,
OpenAPI_list_t *easdf_n6_ip_address_list,
OpenAPI_list_t *upf_n6_ip_address_list
);
void OpenAPI_easdf_info_free(OpenAPI_easdf_info_t *easdf_info);
OpenAPI_easdf_info_t *OpenAPI_easdf_info_parseFromJSON(cJSON *easdf_infoJSON);
cJSON *OpenAPI_easdf_info_convertToJSON(OpenAPI_easdf_info_t *easdf_info);
OpenAPI_easdf_info_t *OpenAPI_easdf_info_copy(OpenAPI_easdf_info_t *dst, OpenAPI_easdf_info_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_easdf_info_H_ */