aboutsummaryrefslogtreecommitdiff
path: root/cleanregex.h
diff options
context:
space:
mode:
Diffstat (limited to 'cleanregex.h')
-rw-r--r--cleanregex.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cleanregex.h b/cleanregex.h
new file mode 100644
index 0000000..397eab8
--- /dev/null
+++ b/cleanregex.h
@@ -0,0 +1,12 @@
+#include <inttypes.h>
+#include <stdlib.h>
+#include <regex.h>
+#include "Clean.h"
+
+void cleanrgx_compile(
+ CleanString*, int64_t flags,
+ int64_t* re_code, int64_t* re_regex);
+
+int64_t cleanrgx_exec(int64_t* rgx, CleanString* cs);
+
+void cleanrgx_free(regex_t* rgx);