]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/stkstring.h
UCW::CGI: Let url_param_escape() encode non-ASCII characters
[libucw.git] / ucw / stkstring.h
index d0d6ad7f34bdc5a2ad412817f05aaa2051b53b5e..6ce9b6675b5aa1a8a8d6fbc3020893e578785a37 100644 (file)
 #include <alloca.h>
 #include <string.h>
 #include <stdio.h>
 #include <alloca.h>
 #include <string.h>
 #include <stdio.h>
+#include <ucw/string.h>
+
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define stk_array_join ucw_stk_array_join
+#define stk_array_len ucw_stk_array_len
+#define stk_fsize_internal ucw_stk_fsize_internal
+#define stk_hexdump_internal ucw_stk_hexdump_internal
+#define stk_printf_internal ucw_stk_printf_internal
+#define stk_vprintf_internal ucw_stk_vprintf_internal
+#endif
 
 #define stk_strdup(s) ({ const char *_s=(s); uns _l=strlen(_s)+1; char *_x=alloca(_l); memcpy(_x, _s, _l); _x; })
 #define stk_strndup(s,n) ({ const char *_s=(s); uns _l=strnlen(_s,(n)); char *_x=alloca(_l+1); memcpy(_x, _s, _l); _x[_l]=0; _x; })
 
 #define stk_strdup(s) ({ const char *_s=(s); uns _l=strlen(_s)+1; char *_x=alloca(_l); memcpy(_x, _s, _l); _x; })
 #define stk_strndup(s,n) ({ const char *_s=(s); uns _l=strnlen(_s,(n)); char *_x=alloca(_l+1); memcpy(_x, _s, _l); _x[_l]=0; _x; })