mempool.h pagecache.h \
arraysort.h \
lists.h clists.h slists.h simple-lists.h \
- string.h \
+ string.h stkstring.h unicode.h chartype.h regex.h \
+ wildmatch.h patmatch.h \
unaligned.h prefetch.h \
bbuf.h gbuf.h bitarray.h bitsig.h \
hashfunc.h hashtable.h \
conf.h getopt.h ipaccess.h \
profile.h \
fastbuf.h lfs.h ff-unicode.h ff-binary.h \
- chartype.h unicode.h stkstring.h \
- wildmatch.h patmatch.h \
db.h \
url.h \
mainloop.h \
uns get_timer(timestamp_t *timer);
uns switch_timer(timestamp_t *old, timestamp_t *new);
-/* regex.c */
-
-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);
-
/* random.c */
uns random_u32(void);
#include "lib/lib.h"
#include "lib/chartype.h"
#include "lib/hashfunc.h"
+#include "lib/regex.h"
#include <stdio.h>
#include <string.h>
--- /dev/null
+/*
+ * UCW Library -- Interface to Regular Expression Libraries
+ *
+ * (c) 1997--2004 Martin Mares <mj@ucw.cz>
+ * (c) 2001 Robert Spalek <robert@ucw.cz>
+ *
+ * This software may be freely distributed and used according to the terms
+ * of the GNU Lesser General Public License.
+ */
+
+#ifndef _UCW_REGEX_H
+#define _UCW_REGEX_H
+
+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);
+
+#endif