X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fbase224.h;h=0dd2cab49b47894ffcb8c382f5ebe769d9d6a43f;hb=959566090f98dd31eaa67d3d5959b641e5fe902b;hp=f1941919e6091be9c1fdcfce797b8ad30d43c17a;hpb=4a65d555b1d57bc037b7fef9d04a611c43a44d86;p=libucw.git diff --git a/ucw/base224.h b/ucw/base224.h index f1941919..0dd2cab4 100644 --- a/ucw/base224.h +++ b/ucw/base224.h @@ -7,21 +7,26 @@ * of the GNU Lesser General Public License. */ +#ifdef CONFIG_UCW_CLEAN_ABI +#define base224_decode ucw_base224_decode +#define base224_encode ucw_base224_encode +#endif + /** * Encodes @len bytes of data pointed to by @src by base224 encoding. * Stores them in @dest and returns the number of bytes the output * takes. */ -uns base224_encode(byte *dest, const byte *src, uns len); +uint base224_encode(byte *dest, const byte *src, uint len); /** * Decodes @len bytes of data pointed to by @src from base224 encoding. * All invalid characters are ignored. The result is stored into @dest * and length of the result is returned. */ -uns base224_decode(byte *dest, const byte *src, uns len); +uint base224_decode(byte *dest, const byte *src, uint len); /** - * Use this macro to calculate base224_encode() output buffer size. + * Use this macro to calculate @base224_encode() output buffer size. * It can happen 4 more bytes would be needed, this macro takes care * of that. */