| Copyright | Copyright (C) 2005 John Goerzen |
|---|---|
| License | BSD |
| Maintainer | John Goerzen, |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell98 |
Magic.Init
Description
Initialization and shutdown for magic programs
Written by John Goerzen, jgoerzen@complete.org
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.