magic-1.0.0ContentsIndex
Magic.Types
Portability portable
Stability provisional
Maintainer jgoerzen@complete.org
Description

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 CMagic

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
Constructors
MagicNone
MagicDebug
MagicSymlink
MagicCompress
MagicDevices
MagicMime
MagicContinue
MagicCheck
MagicPreserveAtime
MagicRaw
MagicError
UnknownMagicFlag Int
Instances
Enum MagicFlag
Ord MagicFlag
Eq MagicFlag
Show MagicFlag
Produced by Haddock version 0.6