mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +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
59
lib/sbi/openapi/model/pcf_binding_patch.h
Normal file
59
lib/sbi/openapi/model/pcf_binding_patch.h
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
/*
|
||||
* pcf_binding_patch.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_pcf_binding_patch_H_
|
||||
#define _OpenAPI_pcf_binding_patch_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "ip_end_point.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_pcf_binding_patch_s OpenAPI_pcf_binding_patch_t;
|
||||
typedef struct OpenAPI_pcf_binding_patch_s {
|
||||
char *ipv4_addr;
|
||||
char *ip_domain;
|
||||
char *ipv6_prefix;
|
||||
OpenAPI_list_t *add_ipv6_prefixes;
|
||||
char *mac_addr48;
|
||||
OpenAPI_list_t *add_mac_addrs;
|
||||
char *pcf_id;
|
||||
char *pcf_fqdn;
|
||||
OpenAPI_list_t *pcf_ip_end_points;
|
||||
char *pcf_diam_host;
|
||||
char *pcf_diam_realm;
|
||||
} OpenAPI_pcf_binding_patch_t;
|
||||
|
||||
OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_create(
|
||||
char *ipv4_addr,
|
||||
char *ip_domain,
|
||||
char *ipv6_prefix,
|
||||
OpenAPI_list_t *add_ipv6_prefixes,
|
||||
char *mac_addr48,
|
||||
OpenAPI_list_t *add_mac_addrs,
|
||||
char *pcf_id,
|
||||
char *pcf_fqdn,
|
||||
OpenAPI_list_t *pcf_ip_end_points,
|
||||
char *pcf_diam_host,
|
||||
char *pcf_diam_realm
|
||||
);
|
||||
void OpenAPI_pcf_binding_patch_free(OpenAPI_pcf_binding_patch_t *pcf_binding_patch);
|
||||
OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_parseFromJSON(cJSON *pcf_binding_patchJSON);
|
||||
cJSON *OpenAPI_pcf_binding_patch_convertToJSON(OpenAPI_pcf_binding_patch_t *pcf_binding_patch);
|
||||
OpenAPI_pcf_binding_patch_t *OpenAPI_pcf_binding_patch_copy(OpenAPI_pcf_binding_patch_t *dst, OpenAPI_pcf_binding_patch_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_pcf_binding_patch_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue