mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 14:20: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
43
lib/sbi/openapi/model/uri_list.h
Normal file
43
lib/sbi/openapi/model/uri_list.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* uri_list.h
|
||||
*
|
||||
* Represents a set of URIs following the 3GPP hypermedia format (containing a \"_links\" attribute).
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_uri_list_H_
|
||||
#define _OpenAPI_uri_list_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "links_value_schema.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_uri_list_s OpenAPI_uri_list_t;
|
||||
typedef struct OpenAPI_uri_list_s {
|
||||
OpenAPI_list_t* _links;
|
||||
bool is_total_item_count;
|
||||
int total_item_count;
|
||||
} OpenAPI_uri_list_t;
|
||||
|
||||
OpenAPI_uri_list_t *OpenAPI_uri_list_create(
|
||||
OpenAPI_list_t* _links,
|
||||
bool is_total_item_count,
|
||||
int total_item_count
|
||||
);
|
||||
void OpenAPI_uri_list_free(OpenAPI_uri_list_t *uri_list);
|
||||
OpenAPI_uri_list_t *OpenAPI_uri_list_parseFromJSON(cJSON *uri_listJSON);
|
||||
cJSON *OpenAPI_uri_list_convertToJSON(OpenAPI_uri_list_t *uri_list);
|
||||
OpenAPI_uri_list_t *OpenAPI_uri_list_copy(OpenAPI_uri_list_t *dst, OpenAPI_uri_list_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_uri_list_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue