summaryrefslogtreecommitdiff
path: root/mg.h
diff options
context:
space:
mode:
Diffstat (limited to 'mg.h')
-rw-r--r--mg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mg.h b/mg.h
index 1236ea8d1e..c18c4262ab 100644
--- a/mg.h
+++ b/mg.h
@@ -26,3 +26,7 @@ struct magic {
char* mg_ptr;
I32 mg_len;
};
+
+#define MGf_TAINTEDDIR 1
+#define MgTAINTEDDIR(mg) (mg->mg_flags & MGf_TAINTEDDIR)
+#define MgTAINTEDDIR_on(mg) (mg->mg_flags |= MGf_TAINTEDDIR)