magic-1.0.5: Interface to C file/magic libraryContentsIndex
Magic.Init
MaintainerJohn Goerzen,
Description

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

Initialization and shutdown for magic programs

Written by John Goerzen, jgoerzen@complete.org

Synopsis
magicOpen :: [MagicFlag] -> IO Magic
magicLoad :: Magic -> String -> IO ()
magicLoadDefault :: Magic -> IO ()
Documentation
magicOpen :: [MagicFlag] -> IO Magic
Create a Magic object. You must call either magicLoadDefault or magicLoad after this.
magicLoad :: Magic -> String -> IO ()
Load the specified magic database(s). The given string may contain multiple colon-separated pathnames.
magicLoadDefault :: Magic -> IO ()
Load the system's default magic database.
Produced by Haddock version 0.8