magic-1.0.8: Interface to C file/magic librarySource codeContentsIndex
Magic.Types
MaintainerJohn Goerzen,
Description

Maintainer : jgoerzen@complete.org Stability : provisional Portability: portable

Types for magic programs.

Written by John Goerzen, jgoerzen@complete.org

Synopsis
type Magic = ForeignPtr CMagic
data MagicFlag
= MagicNone
| MagicDebug
| MagicSymlink
| MagicCompress
| MagicDevices
| MagicMime
| MagicContinue
| MagicCheck
| MagicPreserveAtime
| MagicRaw
| MagicError
| UnknownMagicFlag Int
Documentation
type Magic = ForeignPtr CMagicSource

Main Magic object type.

Magic objects are automatically closed (and memory freed) when they are garbage-collected by Haskell. There is no need to explicitly close them.

data MagicFlag Source
Constructors
MagicNone
MagicDebug
MagicSymlink
MagicCompress
MagicDevices
MagicMime
MagicContinue
MagicCheck
MagicPreserveAtime
MagicRaw
MagicError
UnknownMagicFlag Int
Produced by Haddock version 2.6.0