mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 05:10:10 +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
41
lib/sbi/openapi/model/binding_resp.h
Normal file
41
lib/sbi/openapi/model/binding_resp.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* binding_resp.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_binding_resp_H_
|
||||
#define _OpenAPI_binding_resp_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_binding_resp_s OpenAPI_binding_resp_t;
|
||||
typedef struct OpenAPI_binding_resp_s {
|
||||
char *pcf_sm_fqdn;
|
||||
OpenAPI_list_t *pcf_sm_ip_end_points;
|
||||
} OpenAPI_binding_resp_t;
|
||||
|
||||
OpenAPI_binding_resp_t *OpenAPI_binding_resp_create(
|
||||
char *pcf_sm_fqdn,
|
||||
OpenAPI_list_t *pcf_sm_ip_end_points
|
||||
);
|
||||
void OpenAPI_binding_resp_free(OpenAPI_binding_resp_t *binding_resp);
|
||||
OpenAPI_binding_resp_t *OpenAPI_binding_resp_parseFromJSON(cJSON *binding_respJSON);
|
||||
cJSON *OpenAPI_binding_resp_convertToJSON(OpenAPI_binding_resp_t *binding_resp);
|
||||
OpenAPI_binding_resp_t *OpenAPI_binding_resp_copy(OpenAPI_binding_resp_t *dst, OpenAPI_binding_resp_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_binding_resp_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue