diff options
Diffstat (limited to 'thirdparty/misc/base64.h')
-rw-r--r-- | thirdparty/misc/base64.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/thirdparty/misc/base64.h b/thirdparty/misc/base64.h new file mode 100644 index 0000000000..456ef1811b --- /dev/null +++ b/thirdparty/misc/base64.h @@ -0,0 +1,19 @@ +/* + * File: base64.h + * Description: Simple BASE64 conversion methods + * Author: Ari Edelkind + * License: Public Domain + * Website: http://episec.com/people/edelkind/c.html + */ + +#ifndef BASE64_H +#define BASE64_H + +extern "C" { + +uint32_t base64_encode (char* to, char* from, uint32_t len); +uint32_t base64_decode (char* to, char* from, uint32_t len); + +}; + +#endif /* BASE64_H */ |