mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10:11 +00:00
Added NRF
This commit is contained in:
parent
46f20cc979
commit
d0673e3066
397 changed files with 85455 additions and 209 deletions
44
lib/sbi/openapi/model/patch_item.h
Normal file
44
lib/sbi/openapi/model/patch_item.h
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
* patch_item.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _OpenAPI_patch_item_H_
|
||||
#define _OpenAPI_patch_item_H_
|
||||
|
||||
#include <string.h>
|
||||
#include "../external/cJSON.h"
|
||||
#include "../include/list.h"
|
||||
#include "../include/keyValuePair.h"
|
||||
#include "../include/binary.h"
|
||||
#include "patch_operation.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_patch_item_s OpenAPI_patch_item_t;
|
||||
typedef struct OpenAPI_patch_item_s {
|
||||
OpenAPI_patch_operation_e op;
|
||||
char *path;
|
||||
char *from;
|
||||
char *value;
|
||||
} OpenAPI_patch_item_t;
|
||||
|
||||
OpenAPI_patch_item_t *OpenAPI_patch_item_create(
|
||||
OpenAPI_patch_operation_e op,
|
||||
char *path,
|
||||
char *from,
|
||||
char *value
|
||||
);
|
||||
void OpenAPI_patch_item_free(OpenAPI_patch_item_t *patch_item);
|
||||
OpenAPI_patch_item_t *OpenAPI_patch_item_parseFromJSON(cJSON *patch_itemJSON);
|
||||
cJSON *OpenAPI_patch_item_convertToJSON(OpenAPI_patch_item_t *patch_item);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _OpenAPI_patch_item_H_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue