X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fregex.h;h=992988974b89bc52b08dc90674e962d8b85db5b1;hb=156301aa8c7fd24d49ed27cfbd1afc10ccb7bc58;hp=584d70cc2f0a20c5fdab5b366944b1b8d4923312;hpb=a4fe009d3366b0a3e119713b0ecc7fc0070efdfa;p=libucw.git diff --git a/ucw/regex.h b/ucw/regex.h index 584d70cc..99298897 100644 --- a/ucw/regex.h +++ b/ucw/regex.h @@ -11,11 +11,18 @@ #ifndef _UCW_REGEX_H #define _UCW_REGEX_H +#ifdef CONFIG_UCW_CLEAN_ABI +#define rx_compile ucw_rx_compile +#define rx_free ucw_rx_free +#define rx_match ucw_rx_match +#define rx_subst ucw_rx_subst +#endif + typedef struct regex regex; regex *rx_compile(const char *r, int icase); void rx_free(regex *r); int rx_match(regex *r, const char *s); -int rx_subst(regex *r, const char *by, const char *src, char *dest, uns destlen); +int rx_subst(regex *r, const char *by, const char *src, char *dest, uint destlen); #endif