diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-06-04 19:14:54 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-06-04 19:14:54 +0200 |
| commit | 240e7804156c5c374d4cf1216161f4feefd3fcb1 (patch) | |
| tree | 0906dddbedc22fb9dbccc07a42c093f6077c2058 | |
| parent | a95acc4d382cbb4937097e7fa2f6526974a26fcc (diff) | |
| download | cabinet-240e7804156c5c374d4cf1216161f4feefd3fcb1.tar.xz cabinet-240e7804156c5c374d4cf1216161f4feefd3fcb1.zip | |
magic: add missing flags
| -rw-r--r-- | cabinet/magic.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cabinet/magic.hpp b/cabinet/magic.hpp index 3ad6dfa..02af9c2 100644 --- a/cabinet/magic.hpp +++ b/cabinet/magic.hpp @@ -17,6 +17,27 @@ namespace cab follow_symlinks = MAGIC_SYMLINK, inspect_compressed = MAGIC_COMPRESS, inspect_devices = MAGIC_DEVICES, + mime_type = MAGIC_MIME_TYPE, + mime_encoding = MAGIC_MIME_ENCODING, + mime = MAGIC_MIME, + all_matches = MAGIC_CONTINUE, + check_database = MAGIC_CHECK, + preserve_access_time = MAGIC_PRESERVE_ATIME, + raw = MAGIC_RAW, + forward_errors = MAGIC_ERROR, + apple = MAGIC_APPLE, + extensions = MAGIC_EXTENSION, + transparent_compression = MAGIC_COMPRESS_TRANSP, + emx_dont_check_application_type = MAGIC_NO_CHECK_APPTYPE, + no_elf_details = MAGIC_NO_CHECK_ELF, + no_text_encodings = MAGIC_NO_CHECK_ENCODING, + no_magic_files = MAGIC_NO_CHECK_SOFT, + dont_inspect_tar = MAGIC_NO_CHECK_TAR, + no_text_files = MAGIC_NO_CHECK_TEXT, + no_tokens = MAGIC_NO_CHECK_TOKENS, + no_json = MAGIC_NO_CHECK_JSON, + no_csv = MAGIC_NO_CHECK_CSV, + no_simh = MAGIC_NO_CHECK_SIMH, }; magic(flags flags); |
