]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/base224.h
tableprinter: removed some obsolete FIXME, added some comments
[libucw.git] / ucw / base224.h
index f1941919e6091be9c1fdcfce797b8ad30d43c17a..0dd2cab49b47894ffcb8c382f5ebe769d9d6a43f 100644 (file)
@@ -7,21 +7,26 @@
  *     of the GNU Lesser General Public License.
  */
 
  *     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.
  */
 /**
  * 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.
  */
 /**
  * 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.
  */
  * It can happen 4 more bytes would be needed, this macro takes care
  * of that.
  */