magic-1.0.5: Interface to C file/magic libraryContentsIndex
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 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
show/hide Instances
Produced by Haddock version 0.8