mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +00:00
59 lines
1.6 KiB
C
59 lines
1.6 KiB
C
/*
|
|
* lmf_info.h
|
|
*
|
|
* Information of an LMF NF Instance
|
|
*/
|
|
|
|
#ifndef _OpenAPI_lmf_info_H_
|
|
#define _OpenAPI_lmf_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"
|
|
#include "an_node_type.h"
|
|
#include "external_client_type.h"
|
|
#include "rat_type.h"
|
|
#include "supported_gad_shapes.h"
|
|
#include "tai.h"
|
|
#include "tai_range.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct OpenAPI_lmf_info_s OpenAPI_lmf_info_t;
|
|
typedef struct OpenAPI_lmf_info_s {
|
|
OpenAPI_list_t *serving_client_types;
|
|
char *lmf_id;
|
|
OpenAPI_list_t *serving_access_types;
|
|
OpenAPI_list_t *serving_an_node_types;
|
|
OpenAPI_list_t *serving_rat_types;
|
|
OpenAPI_list_t *tai_list;
|
|
OpenAPI_list_t *tai_range_list;
|
|
OpenAPI_list_t *supported_gad_shapes;
|
|
} OpenAPI_lmf_info_t;
|
|
|
|
OpenAPI_lmf_info_t *OpenAPI_lmf_info_create(
|
|
OpenAPI_list_t *serving_client_types,
|
|
char *lmf_id,
|
|
OpenAPI_list_t *serving_access_types,
|
|
OpenAPI_list_t *serving_an_node_types,
|
|
OpenAPI_list_t *serving_rat_types,
|
|
OpenAPI_list_t *tai_list,
|
|
OpenAPI_list_t *tai_range_list,
|
|
OpenAPI_list_t *supported_gad_shapes
|
|
);
|
|
void OpenAPI_lmf_info_free(OpenAPI_lmf_info_t *lmf_info);
|
|
OpenAPI_lmf_info_t *OpenAPI_lmf_info_parseFromJSON(cJSON *lmf_infoJSON);
|
|
cJSON *OpenAPI_lmf_info_convertToJSON(OpenAPI_lmf_info_t *lmf_info);
|
|
OpenAPI_lmf_info_t *OpenAPI_lmf_info_copy(OpenAPI_lmf_info_t *dst, OpenAPI_lmf_info_t *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OpenAPI_lmf_info_H_ */
|
|
|