-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | libdpkg bindings
--   
--   Haskell bindings to the libdpkg API
@package dpkg
@version 0.0.3

module Debian.Dpkg.Types
data C'dpkg_version
C'dpkg_version :: CInt -> CString -> CString -> C'dpkg_version
c'dpkg_version'epoch :: C'dpkg_version -> CInt
c'dpkg_version'version :: C'dpkg_version -> CString
c'dpkg_version'revision :: C'dpkg_version -> CString
p'dpkg_version'epoch :: Ptr (C'dpkg_version) -> Ptr (CInt)
p'dpkg_version'version :: Ptr (C'dpkg_version) -> Ptr (CString)
data C'filedetails
C'filedetails :: Ptr C'filedetails -> CString -> CString -> CString -> CString -> C'filedetails
c'filedetails'next :: C'filedetails -> Ptr C'filedetails
c'filedetails'name :: C'filedetails -> CString
c'filedetails'msdosname :: C'filedetails -> CString
c'filedetails'size :: C'filedetails -> CString
c'filedetails'md5sum :: C'filedetails -> CString
p'dpkg_version'revision :: Ptr (C'dpkg_version) -> Ptr (CString)
data C'pkgbin
C'pkgbin :: C'pkgbin
data C'perpackagestate
C'perpackagestate :: C'perpackagestate
type C'pkgwant = CUInt
type C'pkgeflag = CUInt
p'filedetails'next :: Ptr (C'filedetails) -> Ptr (Ptr C'filedetails)
type C'pkgstatus = CUInt
type C'pkgpriority = CInt
p'filedetails'name :: Ptr (C'filedetails) -> Ptr (CString)
data C'pkgiterator
C'pkgiterator :: C'pkgiterator
p'filedetails'msdosname :: Ptr (C'filedetails) -> Ptr (CString)
p'filedetails'size :: Ptr (C'filedetails) -> Ptr (CString)
p'filedetails'md5sum :: Ptr (C'filedetails) -> Ptr (CString)
data C'pkginfo
C'pkginfo :: Ptr C'pkgset -> Ptr C'pkginfo -> C'pkgwant -> C'pkgeflag -> C'pkgstatus -> C'pkgpriority -> CString -> CString -> C'dpkg_version -> Ptr C'filedetails -> C'pkgbin -> C'pkgbin -> Ptr C'perpackagestate -> C'pkginfo
c'pkginfo'set :: C'pkginfo -> Ptr C'pkgset
c'pkginfo'arch_next :: C'pkginfo -> Ptr C'pkginfo
c'pkginfo'want :: C'pkginfo -> C'pkgwant
c'pkginfo'eflag :: C'pkginfo -> C'pkgeflag
c'pkginfo'status :: C'pkginfo -> C'pkgstatus
c'pkginfo'priority :: C'pkginfo -> C'pkgpriority
c'pkginfo'otherpriority :: C'pkginfo -> CString
c'pkginfo'section :: C'pkginfo -> CString
c'pkginfo'configversion :: C'pkginfo -> C'dpkg_version
c'pkginfo'files :: C'pkginfo -> Ptr C'filedetails
c'pkginfo'installed :: C'pkginfo -> C'pkgbin
c'pkginfo'available :: C'pkginfo -> C'pkgbin
c'pkginfo'clientdata :: C'pkginfo -> Ptr C'perpackagestate
data C'pkgset
C'pkgset :: Ptr C'pkgset -> CString -> C'pkginfo -> C'pkgset
c'pkgset'next :: C'pkgset -> Ptr C'pkgset
c'pkgset'name :: C'pkgset -> CString
c'pkgset'pkg :: C'pkgset -> C'pkginfo
type C'dpkg_msg_type = CUInt
p'pkgset'next :: Ptr (C'pkgset) -> Ptr (Ptr C'pkgset)
data C'dpkg_error
C'dpkg_error :: C'dpkg_msg_type -> CString -> C'dpkg_error
c'dpkg_error'type :: C'dpkg_error -> C'dpkg_msg_type
c'dpkg_error'str :: C'dpkg_error -> CString
p'pkgset'name :: Ptr (C'pkgset) -> Ptr (CString)
p'pkgset'pkg :: Ptr (C'pkgset) -> Ptr (C'pkginfo)
p'pkginfo'set :: Ptr (C'pkginfo) -> Ptr (Ptr C'pkgset)
p'pkginfo'arch_next :: Ptr (C'pkginfo) -> Ptr (Ptr C'pkginfo)
p'dpkg_error'type :: Ptr (C'dpkg_error) -> Ptr (C'dpkg_msg_type)
p'pkginfo'want :: Ptr (C'pkginfo) -> Ptr (C'pkgwant)
p'dpkg_error'str :: Ptr (C'dpkg_error) -> Ptr (CString)
p'pkginfo'eflag :: Ptr (C'pkginfo) -> Ptr (C'pkgeflag)
p'pkginfo'status :: Ptr (C'pkginfo) -> Ptr (C'pkgstatus)
p'pkginfo'priority :: Ptr (C'pkginfo) -> Ptr (C'pkgpriority)
p'pkginfo'otherpriority :: Ptr (C'pkginfo) -> Ptr (CString)
p'pkginfo'section :: Ptr (C'pkginfo) -> Ptr (CString)
p'pkginfo'configversion :: Ptr (C'pkginfo) -> Ptr (C'dpkg_version)
p'pkginfo'files :: Ptr (C'pkginfo) -> Ptr (Ptr C'filedetails)
p'pkginfo'installed :: Ptr (C'pkginfo) -> Ptr (C'pkgbin)
p'pkginfo'available :: Ptr (C'pkginfo) -> Ptr (C'pkgbin)
p'pkginfo'clientdata :: Ptr (C'pkginfo) -> Ptr (Ptr C'perpackagestate)
instance Eq C'dpkg_version
instance Show C'dpkg_version
instance Eq C'filedetails
instance Show C'filedetails
instance Eq C'pkgbin
instance Show C'pkgbin
instance Eq C'pkgset
instance Show C'pkgset
instance Eq C'pkginfo
instance Show C'pkginfo
instance Eq C'dpkg_error
instance Show C'dpkg_error
instance Storable C'dpkg_error
instance Storable C'pkgset
instance Storable C'pkginfo
instance Storable C'pkgbin
instance Storable C'filedetails
instance Storable C'dpkg_version

module Debian.Dpkg.PkgSpec
pkgSpecParsePkg :: String -> IO C'pkginfo

module Debian.Dpkg.Enums
data PkgWant
PKG_WANT_UNKNOWN :: PkgWant
PKG_WANT_INSTALL :: PkgWant
PKG_WANT_HOLD :: PkgWant
PKG_WANT_DEINSTALL :: PkgWant
PKG_WANT_PURGE :: PkgWant
PKG_WANT_SENTINEL :: PkgWant
data PkgEflag
PKG_EFLAG_OK :: PkgEflag
PKG_EFLAG_REINSTREQ :: PkgEflag
data PkgStatus
PKG_STAT_NOTINSTALLED :: PkgStatus
PKG_STAT_CONFIGFILES :: PkgStatus
PKG_STAT_HALFINSTALLED :: PkgStatus
PKG_STAT_UNPACKED :: PkgStatus
PKG_STAT_HALFCONFIGURED :: PkgStatus
PKG_STAT_TRIGGERSAWAITED :: PkgStatus
PKG_STAT_TRIGGERSPENDING :: PkgStatus
PKG_STAT_INSTALLED :: PkgStatus
data PkgPriority
PKG_PRIO_REQUIRED :: PkgPriority
PKG_PRIO_IMPORTANT :: PkgPriority
PKG_PRIO_STANDARD :: PkgPriority
PKG_PRIO_OPTIONAL :: PkgPriority
PKG_PRIO_EXTRA :: PkgPriority
PKG_PRIO_OTHER :: PkgPriority
PKG_PRIO_UNKNOWN :: PkgPriority
PKG_PRIO_UNSET :: PkgPriority
instance Enum PkgWant
instance Eq PkgWant
instance Show PkgWant
instance Eq PkgEflag
instance Show PkgEflag
instance Enum PkgStatus
instance Eq PkgStatus
instance Show PkgStatus
instance Eq PkgPriority
instance Show PkgPriority
instance Enum DpkgMsgType
instance Eq DpkgMsgType
instance Show DpkgMsgType
instance Enum PkgPriority
instance Enum PkgEflag

module Debian.Dpkg.DB
msdbInit :: IO ()
setDbDir :: String -> IO ()
pkgList :: IO [C'pkginfo]
parseVersion :: ByteString -> IO (Either String C'dpkg_version)
c'parseversion :: Ptr C'dpkg_version -> CString -> Ptr C'dpkg_error -> IO CInt
c'dpkg_version_compare :: Ptr C'dpkg_version -> Ptr C'dpkg_version -> IO CInt

module Debian.Dpkg.DpkgVersion
peekDpkgVersion :: C'dpkg_version -> IO DpkgVersion
getConfigVersion :: C'pkginfo -> IO String
data DpkgVersion
DpkgVersion :: Int -> ByteString -> ByteString -> DpkgVersion
vr_epoch :: DpkgVersion -> Int
vr_version :: DpkgVersion -> ByteString
vr_revision :: DpkgVersion -> ByteString
instance Eq DpkgVersion
instance Show DpkgVersion
instance Ord C'dpkg_version

module Debian.Dpkg
