mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
Add only one 5GC scenario (call-flow)
This commit is contained in:
parent
20008b6a13
commit
dbee687a75
1415 changed files with 86635 additions and 5877 deletions
45
lib/sbi/openapi/model/tunnel_info.h
Normal file
45
lib/sbi/openapi/model/tunnel_info.h
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* tunnel_info.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_tunnel_info_H_
|
||||
#define _OpenAPI_tunnel_info_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "access_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_tunnel_info_s OpenAPI_tunnel_info_t;
|
||||
typedef struct OpenAPI_tunnel_info_s {
|
||||
char *ipv4_addr;
|
||||
char *ipv6_addr;
|
||||
char *gtp_teid;
|
||||
OpenAPI_access_type_e an_type;
|
||||
} OpenAPI_tunnel_info_t;
|
||||
|
||||
OpenAPI_tunnel_info_t *OpenAPI_tunnel_info_create(
|
||||
char *ipv4_addr,
|
||||
char *ipv6_addr,
|
||||
char *gtp_teid,
|
||||
OpenAPI_access_type_e an_type
|
||||
);
|
||||
void OpenAPI_tunnel_info_free(OpenAPI_tunnel_info_t *tunnel_info);
|
||||
OpenAPI_tunnel_info_t *OpenAPI_tunnel_info_parseFromJSON(cJSON *tunnel_infoJSON);
|
||||
cJSON *OpenAPI_tunnel_info_convertToJSON(OpenAPI_tunnel_info_t *tunnel_info);
|
||||
OpenAPI_tunnel_info_t *OpenAPI_tunnel_info_copy(OpenAPI_tunnel_info_t *dst, OpenAPI_tunnel_info_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_tunnel_info_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue