From 8ae8b50b474c44bef7ee5f7e5e919d6bc3a598e2 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 28 Jan 2010 23:24:52 +0000 Subject: [PATCH] add define for no builtins. --- src/magic.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/magic.h b/src/magic.h index 765ff2be..5a6af44b 100644 --- a/src/magic.h +++ b/src/magic.h @@ -43,6 +43,7 @@ #define MAGIC_MIME_ENCODING 0x000400 /* Return the MIME encoding */ #define MAGIC_MIME (MAGIC_MIME_TYPE|MAGIC_MIME_ENCODING) #define MAGIC_APPLE 0x000800 /* Return the Apple creator and type */ + #define MAGIC_NO_CHECK_COMPRESS 0x001000 /* Don't check for compressed files */ #define MAGIC_NO_CHECK_TAR 0x002000 /* Don't check for tar files */ #define MAGIC_NO_CHECK_SOFT 0x004000 /* Don't check magic entries */ @@ -53,6 +54,9 @@ #define MAGIC_NO_CHECK_TOKENS 0x100000 /* Don't check tokens */ #define MAGIC_NO_CHECK_ENCODING 0x200000 /* Don't check text encodings */ +/* No built-in tests; only consult the magic file */ +#define MAGIC_NO_CHECK_BUILTIN 0x3fb000 + /* Defined for backwards compatibility (renamed) */ #define MAGIC_NO_CHECK_ASCII MAGIC_NO_CHECK_TEXT -- 2.50.1