diff options
Diffstat (limited to 'src/rexmpp_base64.h')
-rw-r--r-- | src/rexmpp_base64.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/rexmpp_base64.h b/src/rexmpp_base64.h new file mode 100644 index 0000000..e681ed9 --- /dev/null +++ b/src/rexmpp_base64.h @@ -0,0 +1,14 @@ +/** + @file rexmpp_base64.h + @brief Base64 implementation + @author defanor <defanor@uberspace.net> + @date 2021 + @copyright MIT license. + + Implements RFC 4648, with API similar to gsasl's. +*/ + +#include <stddef.h> + +int rexmpp_base64_to (const char *in, size_t in_len, char **out, size_t *out_len); +int rexmpp_base64_from (const char *in, size_t in_len, char **out, size_t *out_len); |