mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-30 20:39:32 +00:00
27 lines
522 B
C
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
|