mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
arch: DB schema Changes (#796)
- New function : NSSF - New feature : SMF selection
This commit is contained in:
parent
c6bfbed922
commit
9af4268bab
691 changed files with 40727 additions and 18985 deletions
60
lib/sbi/openapi/model/scp_info.h
Normal file
60
lib/sbi/openapi/model/scp_info.h
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
/*
|
||||
* scp_info.h
|
||||
*
|
||||
* Information of an SCP Instance
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_scp_info_H_
|
||||
#define _OpenAPI_scp_info_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "ipv4_address_range.h"
|
||||
#include "ipv6_prefix_range.h"
|
||||
#include "plmn_id.h"
|
||||
#include "scp_domain_info.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_scp_info_s OpenAPI_scp_info_t;
|
||||
typedef struct OpenAPI_scp_info_s {
|
||||
OpenAPI_list_t* scp_domain_info_list;
|
||||
char *scp_prefix;
|
||||
OpenAPI_list_t* scp_ports;
|
||||
OpenAPI_list_t *address_domains;
|
||||
OpenAPI_list_t *ipv4_addresses;
|
||||
OpenAPI_list_t *ipv6_prefixes;
|
||||
OpenAPI_list_t *ipv4_addr_ranges;
|
||||
OpenAPI_list_t *ipv6_prefix_ranges;
|
||||
OpenAPI_list_t *served_nf_set_id_list;
|
||||
OpenAPI_list_t *remote_plmn_list;
|
||||
} OpenAPI_scp_info_t;
|
||||
|
||||
OpenAPI_scp_info_t *OpenAPI_scp_info_create(
|
||||
OpenAPI_list_t* scp_domain_info_list,
|
||||
char *scp_prefix,
|
||||
OpenAPI_list_t* scp_ports,
|
||||
OpenAPI_list_t *address_domains,
|
||||
OpenAPI_list_t *ipv4_addresses,
|
||||
OpenAPI_list_t *ipv6_prefixes,
|
||||
OpenAPI_list_t *ipv4_addr_ranges,
|
||||
OpenAPI_list_t *ipv6_prefix_ranges,
|
||||
OpenAPI_list_t *served_nf_set_id_list,
|
||||
OpenAPI_list_t *remote_plmn_list
|
||||
);
|
||||
void OpenAPI_scp_info_free(OpenAPI_scp_info_t *scp_info);
|
||||
OpenAPI_scp_info_t *OpenAPI_scp_info_parseFromJSON(cJSON *scp_infoJSON);
|
||||
cJSON *OpenAPI_scp_info_convertToJSON(OpenAPI_scp_info_t *scp_info);
|
||||
OpenAPI_scp_info_t *OpenAPI_scp_info_copy(OpenAPI_scp_info_t *dst, OpenAPI_scp_info_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_scp_info_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue