X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fbase224.h;h=0dd2cab49b47894ffcb8c382f5ebe769d9d6a43f;hb=1e5ae8a779b693d8023ce9821b839f29e210d9e8;hp=beb17486ced0da5945532d41f2576b421d09824d;hpb=a4fe009d3366b0a3e119713b0ecc7fc0070efdfa;p=libucw.git diff --git a/ucw/base224.h b/ucw/base224.h index beb17486..0dd2cab4 100644 --- a/ucw/base224.h +++ b/ucw/base224.h @@ -7,18 +7,23 @@ * 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.