mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 06:57:19 +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
40
lib/sbi/openapi/model/address_list.h
Normal file
40
lib/sbi/openapi/model/address_list.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* address_list.h
|
||||
*
|
||||
* Represents a list of IPv4 and/or IPv6 addresses.
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_address_list_H_
|
||||
#define _OpenAPI_address_list_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_address_list_s OpenAPI_address_list_t;
|
||||
typedef struct OpenAPI_address_list_s {
|
||||
OpenAPI_list_t *ipv4_addrs;
|
||||
OpenAPI_list_t *ipv6_addrs;
|
||||
} OpenAPI_address_list_t;
|
||||
|
||||
OpenAPI_address_list_t *OpenAPI_address_list_create(
|
||||
OpenAPI_list_t *ipv4_addrs,
|
||||
OpenAPI_list_t *ipv6_addrs
|
||||
);
|
||||
void OpenAPI_address_list_free(OpenAPI_address_list_t *address_list);
|
||||
OpenAPI_address_list_t *OpenAPI_address_list_parseFromJSON(cJSON *address_listJSON);
|
||||
cJSON *OpenAPI_address_list_convertToJSON(OpenAPI_address_list_t *address_list);
|
||||
OpenAPI_address_list_t *OpenAPI_address_list_copy(OpenAPI_address_list_t *dst, OpenAPI_address_list_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_address_list_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue