summaryrefslogtreecommitdiff
path: root/regexset.h
diff options
context:
space:
mode:
Diffstat (limited to 'regexset.h')
-rw-r--r--regexset.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/regexset.h b/regexset.h
new file mode 100644
index 0000000..23b933e
--- /dev/null
+++ b/regexset.h
@@ -0,0 +1,15 @@
+#ifndef _REGEXSET_H_
+#define _REGEXSEt_H_
+
+#include <pcre.h>
+
+struct regexset_t {
+ pcre *text;
+ pcre *join;
+};
+
+void rs_init();
+struct regexset_t *rs_add(const char *text, const char *join);
+void rs_free();
+
+#endif