summaryrefslogtreecommitdiff
path: root/lib/tre-compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tre-compile.h')
-rw-r--r--lib/tre-compile.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/tre-compile.h b/lib/tre-compile.h
new file mode 100644
index 0000000000000..51d5ac94acc61
--- /dev/null
+++ b/lib/tre-compile.h
@@ -0,0 +1,27 @@
+/*
+ tre-compile.h: Regex compilation definitions
+
+ This software is released under a BSD-style license.
+ See the file LICENSE for details and copyright.
+
+*/
+
+
+#ifndef TRE_COMPILE_H
+#define TRE_COMPILE_H 1
+
+typedef struct {
+ int position;
+ int code_min;
+ int code_max;
+ int *tags;
+ int assertions;
+ tre_ctype_t class;
+ tre_ctype_t *neg_classes;
+ int backref;
+ int *params;
+} tre_pos_and_tags_t;
+
+#endif /* TRE_COMPILE_H */
+
+/* EOF */