mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
[Release-17] Upgrade SBI to v17.x.0
This commit is contained in:
parent
969c116e77
commit
4d44b1843e
1687 changed files with 121604 additions and 9310 deletions
46
lib/sbi/openapi/model/ddd_traffic_descriptor_1.h
Normal file
46
lib/sbi/openapi/model/ddd_traffic_descriptor_1.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* ddd_traffic_descriptor_1.h
|
||||
*
|
||||
* Contains a Traffic Descriptor.
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_ddd_traffic_descriptor_1_H_
|
||||
#define _OpenAPI_ddd_traffic_descriptor_1_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_ddd_traffic_descriptor_1_s OpenAPI_ddd_traffic_descriptor_1_t;
|
||||
typedef struct OpenAPI_ddd_traffic_descriptor_1_s {
|
||||
char *ipv4_addr;
|
||||
char *ipv6_addr;
|
||||
bool is_port_number;
|
||||
int port_number;
|
||||
char *mac_addr;
|
||||
} OpenAPI_ddd_traffic_descriptor_1_t;
|
||||
|
||||
OpenAPI_ddd_traffic_descriptor_1_t *OpenAPI_ddd_traffic_descriptor_1_create(
|
||||
char *ipv4_addr,
|
||||
char *ipv6_addr,
|
||||
bool is_port_number,
|
||||
int port_number,
|
||||
char *mac_addr
|
||||
);
|
||||
void OpenAPI_ddd_traffic_descriptor_1_free(OpenAPI_ddd_traffic_descriptor_1_t *ddd_traffic_descriptor_1);
|
||||
OpenAPI_ddd_traffic_descriptor_1_t *OpenAPI_ddd_traffic_descriptor_1_parseFromJSON(cJSON *ddd_traffic_descriptor_1JSON);
|
||||
cJSON *OpenAPI_ddd_traffic_descriptor_1_convertToJSON(OpenAPI_ddd_traffic_descriptor_1_t *ddd_traffic_descriptor_1);
|
||||
OpenAPI_ddd_traffic_descriptor_1_t *OpenAPI_ddd_traffic_descriptor_1_copy(OpenAPI_ddd_traffic_descriptor_1_t *dst, OpenAPI_ddd_traffic_descriptor_1_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_ddd_traffic_descriptor_1_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue