mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-14 05:52:49 +00:00
cleanups, make clang happy
This commit is contained in:
parent
9ac54f6db3
commit
390e8ea9de
11 changed files with 44 additions and 34 deletions
2
base64.h
2
base64.h
|
@ -1,7 +1,7 @@
|
|||
// converts src[0:slen] to base64 string
|
||||
char *base64_to(char *dst,const u8 *src,size_t slen);
|
||||
// calculates length needed to store data converted to base64
|
||||
#define BASE64_TO_LEN(l) (((l + 3 - 1) / 3) * 4)
|
||||
#define BASE64_TO_LEN(l) ((((l) + 2) / 3) * 4)
|
||||
// converts src string from base64
|
||||
size_t base64_from(u8 *dst,const char *src,size_t slen);
|
||||
// calculates length needed to store data converted from base64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue