2 * UCW Library -- Interface to Regular Expression Libraries
4 * (c) 1997--2004 Martin Mares <mj@ucw.cz>
5 * (c) 2001 Robert Spalek <robert@ucw.cz>
7 * This software may be freely distributed and used according to the terms
8 * of the GNU Lesser General Public License.
14 #ifdef CONFIG_UCW_CLEAN_ABI
15 #define rx_compile ucw_rx_compile
16 #define rx_free ucw_rx_free
17 #define rx_match ucw_rx_match
18 #define rx_subst ucw_rx_subst
21 typedef struct regex regex;
23 regex *rx_compile(const char *r, int icase);
24 void rx_free(regex *r);
25 int rx_match(regex *r, const char *s);
26 int rx_subst(regex *r, const char *by, const char *src, char *dest, uns destlen);