]> granicus.if.org Git - file/commitdiff
add define for no builtins.
authorChristos Zoulas <christos@zoulas.com>
Thu, 28 Jan 2010 23:24:52 +0000 (23:24 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 28 Jan 2010 23:24:52 +0000 (23:24 +0000)
src/magic.h

index 765ff2be3532223e0ffe564a5c6b597061602ca3..5a6af44b4535af0ba34e7cf6b95cd4bd87d40707 100644 (file)
@@ -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