]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/base64.h
UCW::CGI: Let url_param_escape() encode non-ASCII characters
[libucw.git] / ucw / base64.h
index 3f30b69acf112757c76afbce83caaa8ea5a8c8a5..4575ef7d0ac3a6c4148b8fb2c766006bc6c3e0b2 100644 (file)
@@ -7,6 +7,11 @@
  *     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
@@ -21,7 +26,7 @@ uns base64_encode(byte *dest, const byte *src, uns len);
 uns base64_decode(byte *dest, const byte *src, uns len);
 
 /**
- * Use this macro to calculate base64_encode() output buffer size.
+ * Use this macro to calculate @base64_encode() output buffer size.
  */
 #define BASE64_ENC_LENGTH(x) (((x)+2)/3 *4)