summaryrefslogtreecommitdiff
path: root/win32/regex/engine.ih
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-07-31 18:18:18 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-07-31 18:18:18 +0200
commit680a012532e2d962a55c1a588900c3b52c0d6b69 (patch)
tree613b0399000e5c72290efa2497cf008fbccb12df /win32/regex/engine.ih
parent3c97ca53d8279f0f16ca2f82a703bafa517e39f3 (diff)
parentee0ffcb7bcb46d3d129bd262781d54afa736ffbb (diff)
Merge branch 'master' of /pub/repo.git/Balau
Diffstat (limited to 'win32/regex/engine.ih')
-rw-r--r--win32/regex/engine.ih35
1 files changed, 35 insertions, 0 deletions
diff --git a/win32/regex/engine.ih b/win32/regex/engine.ih
new file mode 100644
index 0000000..cc98334
--- /dev/null
+++ b/win32/regex/engine.ih
@@ -0,0 +1,35 @@
+/* ========= begin header generated by ./mkh ========= */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* === engine.c === */
+static int matcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
+static char *dissect(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
+static char *backref(register struct match *m, char *start, char *stop, sopno startst, sopno stopst, sopno lev);
+static char *fast(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
+static char *slow(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
+static states step(register struct re_guts *g, sopno start, sopno stop, register states bef, int ch, register states aft);
+#define BOL (OUT+1)
+#define EOL (BOL+1)
+#define BOLEOL (BOL+2)
+#define NOTHING (BOL+3)
+#define BOW (BOL+4)
+#define EOW (BOL+5)
+#define CODEMAX (BOL+5) /* highest code used */
+#define NONCHAR(c) ((c) > CHAR_MAX)
+#define NNONCHAR (CODEMAX-CHAR_MAX)
+#ifdef REDEBUG
+static void print(struct match *m, char *caption, states st, int ch, FILE *d);
+#endif
+#ifdef REDEBUG
+static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst);
+#endif
+#ifdef REDEBUG
+static char *pchar(int ch);
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+/* ========= end header generated by ./mkh ========= */