X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Futils.h;fp=src%2Futils.h;h=4e0b55fc58f0515ae979f45f5c9c841b150f088c;hb=1d92dd62a786ecabbc05dfba5195f3f08e0f9585;hp=6f00e5a28cffb42a6196e127aea6f639eefa8bb1;hpb=c385d115331845e8a844322e66571d74d833e822;p=meshlink diff --git a/src/utils.h b/src/utils.h index 6f00e5a2..4e0b55fc 100644 --- a/src/utils.h +++ b/src/utils.h @@ -24,6 +24,9 @@ extern void hex2bin(char *src, char *dst, int length); extern void bin2hex(char *src, char *dst, int length); +extern int b64encode(const char *src, char *dst, int length); +extern int b64decode(const char *src, char *dst, int length); + #ifdef HAVE_MINGW extern const char *winerror(int); #define strerror(x) ((x)>0?strerror(x):winerror(GetLastError()))