summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 809a2d156b..64d903bd2c 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -4309,3 +4309,9 @@ typedef struct
// We have to guess how much a sequence of bytes may expand when converting
// with iconv() to be able to allocate a buffer.
#define ICONV_MULT 8
+
+typedef enum {
+ MAGIC_NOT_SET, // p_magic not overruled
+ MAGIC_ON, // magic on inside regexp
+ MAGIC_OFF // magic off inside regexp
+} magic_T;