]> mj.ucw.cz Git - libucw.git/blobdiff - charset/stk-charconv.h
Opt: Cleaned up opt-conf
[libucw.git] / charset / stk-charconv.h
index 3b47940f317d63ce7f99e943b3512835d26cccbd..71cdbc5149d7c3f99f786f9d6cebbd6ef6b9e1fe 100644 (file)
 #ifndef _CHARSET_STK_CHARCONV_H
 #define _CHARSET_STK_CHARCONV_H
 
-#include "charset/charconv.h"
+#include <charset/charconv.h>
 #include <alloca.h>
 
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define stk_strconv_init ucw_stk_strconv_init
+#define stk_strconv_step ucw_stk_strconv_step
+#endif
+
 /* The following macros convert strings between given charsets (CONV_CHARSET_x). */
 
 #define stk_strconv(s, cs_in, cs_out) \
@@ -24,7 +29,7 @@
 
 /* Internals */
 
-uns stk_strconv_init(struct conv_context *c, byte *s, uns cs_in, uns cs_out);
+uns stk_strconv_init(struct conv_context *c, const byte *s, uns cs_in, uns cs_out);
 uns stk_strconv_step(struct conv_context *c, byte *buf, uns len);
 
 #endif