This file is indexed.

/usr/share/doc/libghc-dpkg-doc/html/dpkg.txt is in libghc-dpkg-doc 0.0.3-8.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
-- 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 GHC.Show.Show Debian.Dpkg.Types.C'dpkg_error
instance GHC.Classes.Eq Debian.Dpkg.Types.C'dpkg_error
instance GHC.Show.Show Debian.Dpkg.Types.C'pkginfo
instance GHC.Classes.Eq Debian.Dpkg.Types.C'pkginfo
instance GHC.Show.Show Debian.Dpkg.Types.C'pkgset
instance GHC.Classes.Eq Debian.Dpkg.Types.C'pkgset
instance GHC.Show.Show Debian.Dpkg.Types.C'pkgbin
instance GHC.Classes.Eq Debian.Dpkg.Types.C'pkgbin
instance GHC.Show.Show Debian.Dpkg.Types.C'filedetails
instance GHC.Classes.Eq Debian.Dpkg.Types.C'filedetails
instance GHC.Show.Show Debian.Dpkg.Types.C'dpkg_version
instance GHC.Classes.Eq Debian.Dpkg.Types.C'dpkg_version
instance Foreign.Storable.Storable Debian.Dpkg.Types.C'dpkg_version
instance Foreign.Storable.Storable Debian.Dpkg.Types.C'filedetails
instance Foreign.Storable.Storable Debian.Dpkg.Types.C'pkgbin
instance Foreign.Storable.Storable Debian.Dpkg.Types.C'pkginfo
instance Foreign.Storable.Storable Debian.Dpkg.Types.C'pkgset
instance Foreign.Storable.Storable Debian.Dpkg.Types.C'dpkg_error

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_UNSET :: 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
instance GHC.Show.Show Debian.Dpkg.Enums.DpkgMsgType
instance GHC.Classes.Eq Debian.Dpkg.Enums.DpkgMsgType
instance GHC.Enum.Enum Debian.Dpkg.Enums.DpkgMsgType
instance GHC.Show.Show Debian.Dpkg.Enums.PkgPriority
instance GHC.Classes.Eq Debian.Dpkg.Enums.PkgPriority
instance GHC.Show.Show Debian.Dpkg.Enums.PkgStatus
instance GHC.Classes.Eq Debian.Dpkg.Enums.PkgStatus
instance GHC.Enum.Enum Debian.Dpkg.Enums.PkgStatus
instance GHC.Show.Show Debian.Dpkg.Enums.PkgEflag
instance GHC.Classes.Eq Debian.Dpkg.Enums.PkgEflag
instance GHC.Show.Show Debian.Dpkg.Enums.PkgWant
instance GHC.Classes.Eq Debian.Dpkg.Enums.PkgWant
instance GHC.Enum.Enum Debian.Dpkg.Enums.PkgWant
instance GHC.Enum.Enum Debian.Dpkg.Enums.PkgEflag
instance GHC.Enum.Enum Debian.Dpkg.Enums.PkgPriority

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 GHC.Show.Show Debian.Dpkg.DpkgVersion.DpkgVersion
instance GHC.Classes.Eq Debian.Dpkg.DpkgVersion.DpkgVersion
instance GHC.Classes.Ord Debian.Dpkg.Types.C'dpkg_version

module Debian.Dpkg