]> 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 d96b72386adc703040e8db3e0e73b7f1b3882f46..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_DARWIN
-uns strnlen(const char *str, uns n);
+#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; })
 #endif
 
 #define stk_strdup(s) ({ const char *_s=(s); uns _l=strlen(_s)+1; char *_x=alloca(_l); memcpy(_x, _s, _l); _x; })