mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +00:00
41 lines
1.1 KiB
C
41 lines
1.1 KiB
C
/*
|
|
* upf_information.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef _OpenAPI_upf_information_H_
|
|
#define _OpenAPI_upf_information_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
#include "addr_fqdn.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_upf_information_s OpenAPI_upf_information_t;
|
|
typedef struct OpenAPI_upf_information_s {
|
|
char *upf_id;
|
|
struct OpenAPI_addr_fqdn_s *upf_addr;
|
|
} OpenAPI_upf_information_t;
|
|
|
|
OpenAPI_upf_information_t *OpenAPI_upf_information_create(
|
|
char *upf_id,
|
|
OpenAPI_addr_fqdn_t *upf_addr
|
|
);
|
|
void OpenAPI_upf_information_free(OpenAPI_upf_information_t *upf_information);
|
|
OpenAPI_upf_information_t *OpenAPI_upf_information_parseFromJSON(cJSON *upf_informationJSON);
|
|
cJSON *OpenAPI_upf_information_convertToJSON(OpenAPI_upf_information_t *upf_information);
|
|
OpenAPI_upf_information_t *OpenAPI_upf_information_copy(OpenAPI_upf_information_t *dst, OpenAPI_upf_information_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_upf_information_H_ */
|
|
|