open5gs/lib/sbi/support/r16-20210629-openapitools-5.2.0/openapi-generator/templates/binary.h.mustache
Sukchan Lee ce668c556c [SBI] Fixed openapitools MAP generation (#2103)
MAP was generated incorrectly because {{#items}}..{{#items}} was
missing.

Because of this, If scpInfo has scpPort, NRF crashes.
2023-02-26 10:01:08 +09:00

27 lines
522 B
Text

#ifndef OGS_SBI_BINARY_H
#define OGS_SBI_BINARY_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OpenAPI_binary_s {
char* data;
int len;
} OpenAPI_binary_t;
OpenAPI_binary_t *OpenAPI_instantiate_binary_t(char *data, int len);
char *OpenAPI_base64encode(const void *b64_encode_this,
int encode_this_many_bytes);
char *OpenAPI_base64decode(const void *b64_decode_this,
int decode_this_many_bytes, int *decoded_bytes);
#ifdef __cplusplus
}
#endif
#endif // OGS_SBI_BINARY_H