X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fbase64.h;h=2e2ad0313f2955ad768f39e8d7738b454d728e12;hb=0053f1a862cd0c2f359a4d12f0fdd35b17d18906;hp=31c1cb89b42ae9e3eacfd74011b7a32a2f83e76b;hpb=1cf8ac51f5495ccd5187dc220ffc69e95d6e0cfc;p=libucw.git diff --git a/ucw/base64.h b/ucw/base64.h index 31c1cb89..2e2ad031 100644 --- a/ucw/base64.h +++ b/ucw/base64.h @@ -7,18 +7,23 @@ * of the GNU Lesser General Public License. */ +#ifdef CONFIG_UCW_CLEAN_ABI +#define base64_decode ucw_base64_decode +#define base64_encode ucw_base64_encode +#endif + /** * Encodes @len bytes of data pointed to by @src by base64 encoding. * Stores them in @dest and returns the number of bytes the output * takes. */ -uns base64_encode(byte *dest, const byte *src, uns len); +uint base64_encode(byte *dest, const byte *src, uint len); /** * Decodes @len bytes of data pointed to by @src from base64 encoding. * All invalid characters are ignored. The result is stored into @dest * and length of the result is returned. */ -uns base64_decode(byte *dest, const byte *src, uns len); +uint base64_decode(byte *dest, const byte *src, uint len); /** * Use this macro to calculate @base64_encode() output buffer size.