magic

Undocumented in source.

Members

Aliases

magic_t
alias magic_t = void*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Classes

Magic
class Magic
Undocumented in source.
MagicOpenFail
class MagicOpenFail
Undocumented in source.

Functions

magic_buffer
immutable(char)* magic_buffer(magic_t ms, void* buffer, size_t length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_check
int magic_check(magic_t ms, char* path)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_close
void magic_close(magic_t ms)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_compile
int magic_compile(magic_t ms, char* path)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_descriptor
immutable(char)* magic_descriptor(magic_t ms, int fd)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_errno
int magic_errno(magic_t ms)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_error
immutable(char)* magic_error(magic_t ms)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_file
immutable(char)* magic_file(magic_t ms, char* path)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_getpath
immutable(char)* magic_getpath(char* path, int flags)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_list
int magic_list(magic_t ms, char* path)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_load
int magic_load(magic_t ms, char* path)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_open
magic_t magic_open(int flags)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_setflags
int magic_setflags(magic_t ms, int flags)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
magic_version
int magic_version()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

MAGIC_APPLE
enum MAGIC_APPLE;

Return the Apple creator and type

MAGIC_CHECK
enum MAGIC_CHECK;

Return the Apple creator and type

MAGIC_COMPRESS
enum MAGIC_COMPRESS;

Return the Apple creator and type

MAGIC_CONTINUE
enum MAGIC_CONTINUE;

Return the Apple creator and type

MAGIC_DEBUG
enum MAGIC_DEBUG;

Return the Apple creator and type

MAGIC_DEVICES
enum MAGIC_DEVICES;

Return the Apple creator and type

MAGIC_ERROR
enum MAGIC_ERROR;

Return the Apple creator and type

MAGIC_MIME
enum MAGIC_MIME;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MAGIC_MIME_ENCODING
enum MAGIC_MIME_ENCODING;

Return the Apple creator and type

MAGIC_MIME_TYPE
enum MAGIC_MIME_TYPE;

Return the Apple creator and type

MAGIC_NONE
enum MAGIC_NONE;

Return the Apple creator and type

MAGIC_NO_CHECK_APPTYPE
enum MAGIC_NO_CHECK_APPTYPE;

Don't check text encodings

MAGIC_NO_CHECK_ASCII
enum MAGIC_NO_CHECK_ASCII;

Defined for backwards compatibility (renamed)

MAGIC_NO_CHECK_BUILTIN
enum MAGIC_NO_CHECK_BUILTIN;

No built-in tests; only consult the magic file

MAGIC_NO_CHECK_CDF
enum MAGIC_NO_CHECK_CDF;

Don't check text encodings

MAGIC_NO_CHECK_COMPRESS
enum MAGIC_NO_CHECK_COMPRESS;

Don't check text encodings

MAGIC_NO_CHECK_ELF
enum MAGIC_NO_CHECK_ELF;

Don't check text encodings

MAGIC_NO_CHECK_ENCODING
enum MAGIC_NO_CHECK_ENCODING;

Don't check text encodings

MAGIC_NO_CHECK_FORTRAN
enum MAGIC_NO_CHECK_FORTRAN;

Defined for backwards compatibility; do nothing +//// Don't check ascii/trof

MAGIC_NO_CHECK_SOFT
enum MAGIC_NO_CHECK_SOFT;

Don't check text encodings

MAGIC_NO_CHECK_TAR
enum MAGIC_NO_CHECK_TAR;

Don't check text encodings

MAGIC_NO_CHECK_TEXT
enum MAGIC_NO_CHECK_TEXT;

Don't check text encodings

MAGIC_NO_CHECK_TOKENS
enum MAGIC_NO_CHECK_TOKENS;

Don't check text encodings

MAGIC_NO_CHECK_TROFF
enum MAGIC_NO_CHECK_TROFF;

Defined for backwards compatibility; do nothing +//// Don't check ascii/trof

MAGIC_PRESERVE_ATIME
enum MAGIC_PRESERVE_ATIME;

Return the Apple creator and type

MAGIC_RAW
enum MAGIC_RAW;

Return the Apple creator and type

MAGIC_SYMLINK
enum MAGIC_SYMLINK;

Return the Apple creator and type

MAGIC_VERSION
enum MAGIC_VERSION;

This implementation

Meta