X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fstring.h;h=0c64ace57dca303d8f3e6e447fc09cec03b931b0;hb=ff7f126077850f9a193b4e4369dbc35f0ce81b12;hp=b5faa9ac2afcd7cec12ea155f803d656cebd691f;hpb=c681101e384bb5633396364586b0d3667238d755;p=libucw.git diff --git a/ucw/string.h b/ucw/string.h index b5faa9ac..0c64ace5 100644 --- a/ucw/string.h +++ b/ucw/string.h @@ -2,7 +2,7 @@ * UCW Library -- String Routines * * (c) 2006 Pavel Charvat - * (c) 2007--2011 Martin Mares + * (c) 2007--2012 Martin Mares * * This software may be freely distributed and used according to the terms * of the GNU Lesser General Public License. @@ -11,10 +11,26 @@ #ifndef _UCW_STRING_H #define _UCW_STRING_H +#ifdef CONFIG_UCW_CLEAN_ABI +#define hex_to_mem ucw_hex_to_mem +#define mem_to_hex ucw_mem_to_hex +#define str_count_char ucw_str_count_char +#define str_format_flags ucw_str_format_flags +#define str_has_prefix ucw_str_has_prefix +#define str_has_suffix ucw_str_has_suffix +#define str_hier_prefix ucw_str_hier_prefix +#define str_hier_suffix ucw_str_hier_suffix +#define str_match_pattern ucw_str_match_pattern +#define str_match_pattern_nocase ucw_str_match_pattern_nocase +#define str_sepsplit ucw_str_sepsplit +#define str_unesc ucw_str_unesc +#define str_wordsplit ucw_str_wordsplit +#endif + /* string.c */ #ifdef CONFIG_DARWIN -uns strnlen(const char *str, uns n); +uns strnlen(const char *str, uns n); // NOAPI #endif /**