open5gs/lib/sbi/openapi/include/binary.h
Sukchan Lee f278d58a69 Upgrade SBI(Service-based Interface)
* OpenAPI Generator version: 4.3.1 ==> 5.5.1
* Specification : r16.8.0 (20210629)
2021-07-07 17:32:55 +09:00

27 lines
522 B
C

#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