mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20:09 +00:00
[5GC] Added BSF(Binding Support Function)
This commit is contained in:
parent
611986794b
commit
fe89f7cd11
293 changed files with 24988 additions and 1507 deletions
88
lib/sbi/openapi/model/pcf_binding.h
Normal file
88
lib/sbi/openapi/model/pcf_binding.h
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
/*
|
||||
* pcf_binding.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_pcf_binding_H_
|
||||
#define _OpenAPI_pcf_binding_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "binding_level.h"
|
||||
#include "ip_end_point.h"
|
||||
#include "parameter_combination.h"
|
||||
#include "snssai.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_pcf_binding_s OpenAPI_pcf_binding_t;
|
||||
typedef struct OpenAPI_pcf_binding_s {
|
||||
char *supi;
|
||||
char *gpsi;
|
||||
char *ipv4_addr;
|
||||
char *ipv6_prefix;
|
||||
OpenAPI_list_t *add_ipv6_prefixes;
|
||||
char *ip_domain;
|
||||
char *mac_addr48;
|
||||
OpenAPI_list_t *add_mac_addrs;
|
||||
char *dnn;
|
||||
char *pcf_fqdn;
|
||||
OpenAPI_list_t *pcf_ip_end_points;
|
||||
char *pcf_diam_host;
|
||||
char *pcf_diam_realm;
|
||||
char *pcf_sm_fqdn;
|
||||
OpenAPI_list_t *pcf_sm_ip_end_points;
|
||||
struct OpenAPI_snssai_s *snssai;
|
||||
char *supp_feat;
|
||||
char *pcf_id;
|
||||
char *pcf_set_id;
|
||||
char *recovery_time;
|
||||
struct OpenAPI_parameter_combination_s *para_com;
|
||||
OpenAPI_binding_level_e bind_level;
|
||||
OpenAPI_list_t *ipv4_frame_route_list;
|
||||
OpenAPI_list_t *ipv6_frame_route_list;
|
||||
} OpenAPI_pcf_binding_t;
|
||||
|
||||
OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_create(
|
||||
char *supi,
|
||||
char *gpsi,
|
||||
char *ipv4_addr,
|
||||
char *ipv6_prefix,
|
||||
OpenAPI_list_t *add_ipv6_prefixes,
|
||||
char *ip_domain,
|
||||
char *mac_addr48,
|
||||
OpenAPI_list_t *add_mac_addrs,
|
||||
char *dnn,
|
||||
char *pcf_fqdn,
|
||||
OpenAPI_list_t *pcf_ip_end_points,
|
||||
char *pcf_diam_host,
|
||||
char *pcf_diam_realm,
|
||||
char *pcf_sm_fqdn,
|
||||
OpenAPI_list_t *pcf_sm_ip_end_points,
|
||||
OpenAPI_snssai_t *snssai,
|
||||
char *supp_feat,
|
||||
char *pcf_id,
|
||||
char *pcf_set_id,
|
||||
char *recovery_time,
|
||||
OpenAPI_parameter_combination_t *para_com,
|
||||
OpenAPI_binding_level_e bind_level,
|
||||
OpenAPI_list_t *ipv4_frame_route_list,
|
||||
OpenAPI_list_t *ipv6_frame_route_list
|
||||
);
|
||||
void OpenAPI_pcf_binding_free(OpenAPI_pcf_binding_t *pcf_binding);
|
||||
OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_parseFromJSON(cJSON *pcf_bindingJSON);
|
||||
cJSON *OpenAPI_pcf_binding_convertToJSON(OpenAPI_pcf_binding_t *pcf_binding);
|
||||
OpenAPI_pcf_binding_t *OpenAPI_pcf_binding_copy(OpenAPI_pcf_binding_t *dst, OpenAPI_pcf_binding_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_pcf_binding_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue