mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
Added NRF
This commit is contained in:
parent
46f20cc979
commit
d0673e3066
397 changed files with 85455 additions and 209 deletions
55
lib/sbi/openapi/model/amf_info.h
Normal file
55
lib/sbi/openapi/model/amf_info.h
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
* amf_info.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_amf_info_H_
|
||||
#define _OpenAPI_amf_info_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "guami.h"
|
||||
#include "n2_interface_amf_info.h"
|
||||
#include "tai.h"
|
||||
#include "tai_range.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_amf_info_s OpenAPI_amf_info_t;
|
||||
typedef struct OpenAPI_amf_info_s {
|
||||
char *amf_set_id;
|
||||
char *amf_region_id;
|
||||
OpenAPI_list_t *guami_list;
|
||||
OpenAPI_list_t *tai_list;
|
||||
OpenAPI_list_t *tai_range_list;
|
||||
OpenAPI_list_t *backup_info_amf_failure;
|
||||
OpenAPI_list_t *backup_info_amf_removal;
|
||||
struct OpenAPI_n2_interface_amf_info_s *n2_interface_amf_info;
|
||||
} OpenAPI_amf_info_t;
|
||||
|
||||
OpenAPI_amf_info_t *OpenAPI_amf_info_create(
|
||||
char *amf_set_id,
|
||||
char *amf_region_id,
|
||||
OpenAPI_list_t *guami_list,
|
||||
OpenAPI_list_t *tai_list,
|
||||
OpenAPI_list_t *tai_range_list,
|
||||
OpenAPI_list_t *backup_info_amf_failure,
|
||||
OpenAPI_list_t *backup_info_amf_removal,
|
||||
OpenAPI_n2_interface_amf_info_t *n2_interface_amf_info
|
||||
);
|
||||
void OpenAPI_amf_info_free(OpenAPI_amf_info_t *amf_info);
|
||||
OpenAPI_amf_info_t *OpenAPI_amf_info_parseFromJSON(cJSON *amf_infoJSON);
|
||||
cJSON *OpenAPI_amf_info_convertToJSON(OpenAPI_amf_info_t *amf_info);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_amf_info_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue