[Release-17] Upgrade SBI to v17.x.0

This commit is contained in:
Sukchan Lee 2023-03-01 19:56:49 +09:00
parent 969c116e77
commit 4d44b1843e
1687 changed files with 121604 additions and 9310 deletions

View file

@ -0,0 +1,40 @@
/*
* slice_mbr.h
*
* MBR related to slice
*/
#ifndef _OpenAPI_slice_mbr_H_
#define _OpenAPI_slice_mbr_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_slice_mbr_s OpenAPI_slice_mbr_t;
typedef struct OpenAPI_slice_mbr_s {
char *uplink;
char *downlink;
} OpenAPI_slice_mbr_t;
OpenAPI_slice_mbr_t *OpenAPI_slice_mbr_create(
char *uplink,
char *downlink
);
void OpenAPI_slice_mbr_free(OpenAPI_slice_mbr_t *slice_mbr);
OpenAPI_slice_mbr_t *OpenAPI_slice_mbr_parseFromJSON(cJSON *slice_mbrJSON);
cJSON *OpenAPI_slice_mbr_convertToJSON(OpenAPI_slice_mbr_t *slice_mbr);
OpenAPI_slice_mbr_t *OpenAPI_slice_mbr_copy(OpenAPI_slice_mbr_t *dst, OpenAPI_slice_mbr_t *src);
#ifdef __cplusplus
}
#endif
#endif /* _OpenAPI_slice_mbr_H_ */