summaryrefslogtreecommitdiff
path: root/magic.py
diff options
context:
space:
mode:
Diffstat (limited to 'magic.py')
-rw-r--r--magic.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/magic.py b/magic.py
index 87550b6..f281cb4 100644
--- a/magic.py
+++ b/magic.py
@@ -258,43 +258,24 @@ magic_compile.argtypes = [magic_t, c_char_p]
MAGIC_NONE = 0x000000 # No flags
-
MAGIC_DEBUG = 0x000001 # Turn on debugging
-
MAGIC_SYMLINK = 0x000002 # Follow symlinks
-
MAGIC_COMPRESS = 0x000004 # Check inside compressed files
-
MAGIC_DEVICES = 0x000008 # Look at the contents of devices
-
MAGIC_MIME = 0x000010 # Return a mime string
-
MAGIC_MIME_ENCODING = 0x000400 # Return the MIME encoding
-
MAGIC_CONTINUE = 0x000020 # Return all matches
-
MAGIC_CHECK = 0x000040 # Print warnings to stderr
-
MAGIC_PRESERVE_ATIME = 0x000080 # Restore access time on exit
-
MAGIC_RAW = 0x000100 # Don't translate unprintable chars
-
MAGIC_ERROR = 0x000200 # Handle ENOENT etc as real errors
MAGIC_NO_CHECK_COMPRESS = 0x001000 # Don't check for compressed files
-
MAGIC_NO_CHECK_TAR = 0x002000 # Don't check for tar files
-
MAGIC_NO_CHECK_SOFT = 0x004000 # Don't check magic entries
-
MAGIC_NO_CHECK_APPTYPE = 0x008000 # Don't check application type
-
MAGIC_NO_CHECK_ELF = 0x010000 # Don't check for elf details
-
MAGIC_NO_CHECK_ASCII = 0x020000 # Don't check for ascii files
-
MAGIC_NO_CHECK_TROFF = 0x040000 # Don't check ascii/troff
-
MAGIC_NO_CHECK_FORTRAN = 0x080000 # Don't check ascii/fortran
-
MAGIC_NO_CHECK_TOKENS = 0x100000 # Don't check ascii/tokens