mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-03 13:50:08 +00:00
Added NRF
This commit is contained in:
parent
46f20cc979
commit
d0673e3066
397 changed files with 85455 additions and 209 deletions
27
lib/sbi/openapi/include/binary.h
Normal file
27
lib/sbi/openapi/include/binary.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#ifndef OGS_SBI_BINARY_H
|
||||
#define OGS_SBI_BINARY_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct OpenAPI_binary_s {
|
||||
uint8_t* data;
|
||||
unsigned 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue