Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module corresponds to archive.h
Functions in this module are stateful and hence take place in the IO
monad.
Synopsis
- archiveReadHasEncryptedEntries :: ArchivePtr -> IO ArchiveEncryption
- archiveVersionNumber :: CInt
- archiveVersionString :: String
- archiveVersionDetails :: String
- archiveZlibVersion :: IO CString
- archiveLiblzmaVersion :: IO CString
- archiveBzlibVersion :: IO CString
- archiveLiblz4Version :: IO CString
- archiveLibzstdVersion :: IO CString
- archiveErrorString :: ArchivePtr -> IO CString
- archiveFormatName :: ArchivePtr -> IO CString
- archiveFormat :: ArchivePtr -> IO ArchiveFormat
- archiveClearError :: ArchivePtr -> IO ()
- archiveSetError :: ArchivePtr -> CInt -> CString -> IO ()
- archiveCopyError :: ArchivePtr -> ArchivePtr -> IO ()
- archiveFileCount :: ArchivePtr -> IO CInt
- archiveFilterCount :: ArchivePtr -> IO CInt
- archiveFilterBytes :: ArchivePtr -> CInt -> IO LaInt64
- archiveFilterCode :: ArchivePtr -> CInt -> IO Int
- archiveFilterName :: ArchivePtr -> CInt -> IO CString
- archiveReadData :: ArchivePtr -> Ptr a -> CSize -> IO LaSSize
- archiveReadNew :: IO (Ptr Archive)
- archiveReadSetOpenCallback :: ArchivePtr -> FunPtr (ArchiveOpenCallbackRaw a) -> IO ArchiveResult
- archiveReadSetSeekCallback :: ArchivePtr -> FunPtr (ArchiveSeekCallback a) -> IO ArchiveResult
- archiveReadSetSkipCallback :: ArchivePtr -> FunPtr (ArchiveSeekCallback a) -> IO ArchiveResult
- archiveReadSetSwitchCallback :: ArchivePtr -> FunPtr (ArchiveSwitchCallbackRaw a n) -> IO ArchiveResult
- archiveReadSetCallbackData2 :: ArchivePtr -> Ptr a -> CUInt -> IO ArchiveResult
- archiveReadAddCallbackData :: ArchivePtr -> Ptr a -> CUInt -> IO ArchiveResult
- archiveReadAppendCallbackData :: ArchivePtr -> Ptr a -> IO ArchiveResult
- archiveReadPrependCallbackData :: ArchivePtr -> Ptr a -> IO ArchiveResult
- archiveReadSetReadCallback :: ArchivePtr -> FunPtr (ArchiveReadCallback a b) -> IO ArchiveResult
- archiveReadSetCloseCallback :: ArchivePtr -> FunPtr (ArchiveCloseCallbackRaw a) -> IO ArchiveResult
- archiveReadSetCallbackData :: ArchivePtr -> Ptr a -> IO ArchiveResult
- archiveReadSetFormat :: ArchivePtr -> ArchiveFormat -> IO ArchiveResult
- archiveReadOpen :: ArchivePtr -> Ptr a -> FunPtr (ArchiveOpenCallbackRaw a) -> FunPtr (ArchiveReadCallback a b) -> FunPtr (ArchiveCloseCallbackRaw a) -> IO ArchiveResult
- archiveReadOpenFilename :: ArchivePtr -> CString -> CSize -> IO ArchiveResult
- archiveReadOpenFilenameW :: ArchivePtr -> CWString -> CSize -> IO ArchiveResult
- archiveReadOpenFilenames :: ArchivePtr -> Ptr CString -> CSize -> IO ArchiveResult
- archiveReadOpenMemory :: ArchivePtr -> Ptr a -> CSize -> IO ArchiveResult
- archiveReadOpen1 :: ArchivePtr -> IO ArchiveResult
- archiveReadOpen2 :: ArchivePtr -> Ptr a -> FunPtr (ArchiveOpenCallbackRaw a) -> FunPtr (ArchiveReadCallback a b) -> FunPtr (ArchiveSkipCallback a) -> FunPtr (ArchiveCloseCallbackRaw a) -> IO ArchiveResult
- archiveReadOpenFd :: ArchivePtr -> Fd -> CSize -> IO ArchiveResult
- archiveReadOpenFILE :: ArchivePtr -> FilePtr -> IO ArchiveResult
- archiveReadNextHeader :: ArchivePtr -> IO (ArchiveResult, Ptr ArchiveEntry)
- archiveReadNextHeader2 :: ArchivePtr -> ArchiveEntryPtr -> IO ArchiveResult
- archiveReadHeaderPosition :: ArchivePtr -> IO LaInt64
- archiveReadFormatCapabilities :: ArchivePtr -> IO ArchiveCapabilities
- archiveSeekData :: ArchivePtr -> LaInt64 -> CInt -> IO LaInt64
- archiveReadDataBlock :: ArchivePtr -> Ptr (Ptr a) -> Ptr CSize -> Ptr LaInt64 -> IO ArchiveResult
- archiveReadDataIntoFd :: ArchivePtr -> Fd -> IO ArchiveResult
- archiveReadSetFormatOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult
- archiveReadSetFilterOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult
- archiveReadSetOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult
- archiveReadSetOptions :: ArchivePtr -> CString -> IO ArchiveResult
- archiveReadAddPassphrase :: ArchivePtr -> CString -> IO ArchiveResult
- archiveReadSetPassphraseCallback :: ArchivePtr -> Ptr a -> FunPtr (ArchivePassphraseCallback a) -> IO ArchiveResult
- archiveReadExtract :: ArchivePtr -> ArchiveEntryPtr -> Flags -> IO ArchiveResult
- archiveReadExtract2 :: ArchivePtr -> ArchiveEntryPtr -> ArchivePtr -> IO ArchiveResult
- archiveReadExtractSetProgressCallback :: ArchivePtr -> FunPtr (Ptr a -> IO ()) -> Ptr a -> IO ()
- archiveReadExtractSetSkipFile :: ArchivePtr -> LaInt64 -> LaInt64 -> IO ()
- archiveReadClose :: ArchivePtr -> IO ArchiveResult
- archiveReadFree :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterAll :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterBzip2 :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterCompress :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterGzip :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterGrzip :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterLrzip :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterLz4 :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterLzip :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterLzma :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterLzop :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterNone :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterProgram :: ArchivePtr -> CString -> IO ArchiveResult
- archiveReadSupportFilterProgramSignature :: ArchivePtr -> CString -> Ptr a -> CSize -> IO ArchiveResult
- archiveReadSupportFilterRpm :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterUu :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFilterXz :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatAll :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormat7zip :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatAr :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatByCode :: ArchivePtr -> CInt -> IO ArchiveResult
- archiveReadSupportFormatCab :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatCpio :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatEmpty :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatGnutar :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatIso9660 :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatLha :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatMtree :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatRar :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatRar5 :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatRaw :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatTar :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatWarc :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatXar :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatZip :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatZipStreamable :: ArchivePtr -> IO ArchiveResult
- archiveReadSupportFormatZipSeekable :: ArchivePtr -> IO ArchiveResult
- archiveReadAppendFilter :: ArchivePtr -> CInt -> IO ArchiveResult
- archiveReadAppendFilterProgram :: ArchivePtr -> CString -> IO ArchiveResult
- archiveReadAppendFilterProgramSignature :: ArchivePtr -> CString -> Ptr a -> CSize -> IO ArchiveResult
- archiveWriteOpenMemory :: ArchivePtr -> Ptr a -> CSize -> IO (ArchiveResult, CSize)
- archiveWriteNew :: IO (Ptr Archive)
- archiveWriteData :: ArchivePtr -> Ptr a -> CSize -> IO LaSSize
- archiveWriteOpen :: ArchivePtr -> Ptr a -> FunPtr (ArchiveOpenCallbackRaw a) -> FunPtr (ArchiveWriteCallback a b) -> FunPtr (ArchiveCloseCallbackRaw a) -> IO ArchiveResult
- archiveWriteClose :: ArchivePtr -> IO ArchiveResult
- archiveWriteHeader :: ArchivePtr -> ArchiveEntryPtr -> IO ArchiveResult
- archiveWriteSetBytesPerBlock :: ArchivePtr -> CInt -> IO ArchiveResult
- archiveWriteGetBytesPerBlock :: ArchivePtr -> IO CInt
- archiveWriteSetBytesInLastBlock :: ArchivePtr -> CInt -> IO ArchiveResult
- archiveWriteGetBytesInLastBlock :: ArchivePtr -> IO CInt
- archiveWriteSetSkipFile :: ArchivePtr -> LaInt64 -> LaInt64 -> IO ArchiveResult
- archiveWriteAddFilter :: ArchivePtr -> ArchiveFilter -> IO ArchiveResult
- archiveWriteAddFilterByName :: ArchivePtr -> CString -> IO ArchiveResult
- archiveWriteAddFilterB64encode :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterBzip2 :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterCompress :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterGrzip :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterLrzip :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterLz4 :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterLzma :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterLzip :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterLzop :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterNone :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterProgram :: ArchivePtr -> CString -> IO ArchiveResult
- archiveWriteAddFilterUuencode :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterXz :: ArchivePtr -> IO ArchiveResult
- archiveWriteAddFilterZstd :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormat :: ArchivePtr -> ArchiveFormat -> IO ArchiveResult
- archiveWriteSetFormatByName :: ArchivePtr -> CString -> IO ArchiveResult
- archiveWriteSetFormatArBsd :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatArSvr4 :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatCpio :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatCpioNewc :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatGnutar :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatMtree :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatMtreeClassic :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatPax :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatPaxRestricted :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatZip :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormat7zip :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatRaw :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatShar :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatSharDump :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatUstar :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatV7tar :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatWarc :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatXar :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatFilterByExt :: ArchivePtr -> CString -> IO ArchiveResult
- archiveWriteSetFormatFilterByExtDef :: ArchivePtr -> CString -> CString -> IO ArchiveResult
- archiveWriteZipSetCompressionDeflate :: ArchivePtr -> IO ArchiveResult
- archiveWriteZipSetCompressionStore :: ArchivePtr -> IO ArchiveResult
- archiveWriteOpenFd :: ArchivePtr -> Fd -> IO ArchiveResult
- archiveWriteOpenFilenameW :: ArchivePtr -> CWString -> IO ArchiveResult
- archiveWriteOpenFilename :: ArchivePtr -> CString -> IO ArchiveResult
- archiveWriteOpenFILE :: ArchivePtr -> FilePtr -> IO ArchiveResult
- archiveWriteDataBlock :: ArchivePtr -> Ptr a -> CSize -> LaInt64 -> IO LaSSize
- archiveWriteFinishEntry :: ArchivePtr -> IO ArchiveResult
- archiveWriteFail :: ArchivePtr -> IO ArchiveResult
- archiveWriteFree :: ArchivePtr -> IO ArchiveResult
- archiveWriteSetFormatOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult
- archiveWriteSetFilterOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult
- archiveWriteSetOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult
- archiveWriteSetOptions :: ArchivePtr -> CString -> IO ArchiveResult
- archiveWriteSetPassphrase :: ArchivePtr -> CString -> IO ArchiveResult
- archiveWriteSetPassphraseCallback :: ArchivePtr -> Ptr a -> FunPtr (ArchivePassphraseCallback a) -> IO ArchiveResult
- archiveWriteDiskSetOptions :: ArchivePtr -> Flags -> IO ArchiveResult
- archiveWriteDiskNew :: IO (Ptr Archive)
- archiveWriteDiskSetSkipFile :: ArchivePtr -> LaInt64 -> LaInt64 -> IO ArchiveResult
- archiveWriteDiskSetStandardLookup :: ArchivePtr -> IO ArchiveResult
- archiveWriteDiskSetGroupLookup :: ArchivePtr -> Ptr a -> FunPtr (Ptr a -> CString -> LaInt64 -> IO LaInt64) -> FunPtr (Ptr a -> IO ()) -> IO ArchiveResult
- archiveWriteDiskSetUserLookup :: ArchivePtr -> Ptr a -> FunPtr (Ptr a -> CString -> LaInt64 -> IO LaInt64) -> FunPtr (Ptr a -> IO ()) -> IO ArchiveResult
- archiveWriteDiskGid :: ArchivePtr -> CString -> LaInt64 -> IO LaInt64
- archiveWriteDiskUid :: ArchivePtr -> CString -> LaInt64 -> IO LaInt64
- archiveReadDiskNew :: IO (Ptr Archive)
- archiveReadDiskSetSymlinkLogical :: ArchivePtr -> IO ArchiveResult
- archiveReadDiskSetSymlinkPhysical :: ArchivePtr -> IO ArchiveResult
- archiveReadDiskSetSymlinkHybrid :: ArchivePtr -> IO ArchiveResult
- archiveReadDiskEntryFromFile :: ArchivePtr -> ArchiveEntryPtr -> Fd -> StatPtr -> IO ArchiveResult
- archiveReadDiskGname :: ArchivePtr -> LaInt64 -> IO CString
- archiveReadDiskUname :: ArchivePtr -> LaInt64 -> IO CString
- archiveReadDiskSetStandardLookup :: ArchivePtr -> IO ArchiveResult
- archiveReadDiskSetGnameLookup :: ArchivePtr -> Ptr a -> FunPtr (Ptr a -> LaInt64 -> IO CString) -> FunPtr (Ptr a -> IO ()) -> IO ArchiveResult
- archiveReadDiskSetUnameLookup :: ArchivePtr -> Ptr a -> FunPtr (Ptr a -> LaInt64 -> IO CString) -> FunPtr (Ptr a -> IO ()) -> IO ArchiveResult
- archiveReadDiskOpen :: ArchivePtr -> CString -> IO ArchiveResult
- archiveReadDiskOpenW :: ArchivePtr -> CWString -> IO ArchiveResult
- archiveReadDiskDescend :: ArchivePtr -> IO ArchiveResult
- archiveReadDiskCanDescend :: ArchivePtr -> IO Bool
- archiveReadDiskCurrentFilesystem :: ArchivePtr -> IO CInt
- archiveReadDiskCurrentFilesystemIsSynthetic :: ArchivePtr -> IO Bool
- archiveReadDiskCurrentFilesystemIsRemote :: ArchivePtr -> IO Bool
- archiveReadDiskSetAtimeRestored :: ArchivePtr -> IO ArchiveResult
- archiveReadDiskSetBehavior :: ArchivePtr -> Flags -> IO ArchiveResult
- archiveReadDiskSetMatching :: ArchivePtr -> ArchivePtr -> FunPtr (ArchivePtr -> Ptr a -> ArchiveEntryPtr -> IO ()) -> Ptr a -> IO ArchiveResult
- archiveReadDiskSetMetadataFilterCallback :: ArchivePtr -> FunPtr (ArchivePtr -> Ptr a -> ArchiveEntry -> IO CInt) -> Ptr a -> IO ArchiveResult
- archiveReadDiskNoAcl :: ReadDiskFlags
- archiveReadDiskNoFFlags :: ReadDiskFlags
- archiveVersionNumberMacro :: Int
- archiveVersionOnlyString :: String
- archiveVersionStringMacro :: String
- archiveReadFormatCapsNone :: ArchiveCapabilities
- archiveReadFormatCapsEncryptData :: ArchiveCapabilities
- archiveReadFormatCapsEncryptMetadata :: ArchiveCapabilities
- archiveMatchMTime :: TimeFlag
- archiveMatchCTime :: TimeFlag
- archiveMatchNewer :: TimeFlag
- archiveMatchOlder :: TimeFlag
- archiveMatchEqual :: TimeFlag
- archiveExtractOwner :: Flags
- archiveExtractPerm :: Flags
- archiveExtractTime :: Flags
- archiveExtractNoOverwrite :: Flags
- archiveExtractUnlink :: Flags
- archiveExtractACL :: Flags
- archiveExtractFFlags :: Flags
- archiveExtractXattr :: Flags
- archiveExtractSecureSymlinks :: Flags
- archiveExtractSecureNoDotDot :: Flags
- archiveExtractNoAutodir :: Flags
- archiveExtractSparse :: Flags
- archiveExtractMacMetadata :: Flags
- archiveExtractNoHfsCompression :: Flags
- archiveExtractHfsCompressionForced :: Flags
- archiveExtractSecureNoAbsolutePaths :: Flags
- archiveExtractClearNoChangeFFlags :: Flags
- archiveExtractNoOverwriteNewer :: Flags
- archiveReadDiskRestoreATime :: ReadDiskFlags
- archiveReadDiskHonorNoDump :: ReadDiskFlags
- archiveReadDiskMacCopyFile :: ReadDiskFlags
- archiveReadDiskNoTraverseMounts :: ReadDiskFlags
- archiveReadDiskNoXattr :: ReadDiskFlags
- archiveFree :: Ptr Archive -> IO CInt
- archiveEntryFree :: FinalizerPtr ()
- archiveMatchExcluded :: ArchivePtr -> ArchiveEntryPtr -> IO Bool
- archiveMatchPathExcluded :: ArchivePtr -> ArchiveEntryPtr -> IO Bool
- archiveMatchSetInclusionRecursion :: ArchivePtr -> Bool -> IO ArchiveResult
- archiveMatchExcludePattern :: ArchivePtr -> CString -> IO ArchiveResult
- archiveMatchExcludePatternW :: ArchivePtr -> CWString -> IO ArchiveResult
- archiveMatchIncludePattern :: ArchivePtr -> CString -> IO ArchiveResult
- archiveMatchIncludePatternW :: ArchivePtr -> CWString -> IO ArchiveResult
- archiveMatchExcludePatternFromFile :: ArchivePtr -> CString -> Bool -> IO ArchiveResult
- archiveMatchExcludePatternFromFileW :: ArchivePtr -> CWString -> Bool -> IO ArchiveResult
- archiveMatchIncludePatternFromFile :: ArchivePtr -> CString -> Bool -> IO ArchiveResult
- archiveMatchIncludePatternFromFileW :: ArchivePtr -> CWString -> Bool -> IO ArchiveResult
- archiveMatchPathUnmatchedInclusions :: ArchivePtr -> IO CInt
- archiveMatchPathUnmatchedInclusionsNext :: ArchivePtr -> IO (ArchiveResult, CString)
- archiveMatchPathUnmatchedInclusionsNextW :: ArchivePtr -> IO (ArchiveResult, CWString)
- archiveMatchIncludeTime :: ArchivePtr -> TimeFlag -> CTime -> CLong -> IO ArchiveResult
- archiveMatchIncludeDate :: ArchivePtr -> TimeFlag -> CString -> IO ArchiveResult
- archiveMatchIncludeDateW :: ArchivePtr -> TimeFlag -> CWString -> IO ArchiveResult
- archiveMatchIncludeFileTime :: ArchivePtr -> TimeFlag -> CString -> IO ArchiveResult
- archiveMatchIncludeFileTimeW :: ArchivePtr -> TimeFlag -> CWString -> IO ArchiveResult
- archiveMatchTimeExcluded :: ArchivePtr -> ArchiveEntryPtr -> IO Bool
- archiveMatchOwnerExcluded :: ArchivePtr -> ArchiveEntryPtr -> IO Bool
- archiveMatchExcludeEntry :: ArchivePtr -> TimeFlag -> ArchiveEntryPtr -> IO ArchiveResult
- archiveReadDataSkip :: ArchivePtr -> IO ArchiveResult
- archiveMatchIncludeGname :: ArchivePtr -> CString -> IO ArchiveResult
- archiveMatchIncludeGnameW :: ArchivePtr -> CWString -> IO ArchiveResult
- archiveMatchIncludeUname :: ArchivePtr -> CString -> IO ArchiveResult
- archiveMatchIncludeUnameW :: ArchivePtr -> CWString -> IO ArchiveResult
- archiveMatchIncludeUid :: ArchivePtr -> Id -> IO ArchiveResult
- archiveMatchIncludeGid :: ArchivePtr -> Id -> IO ArchiveResult
- archiveErrno :: ArchivePtr -> IO ArchiveResult
- data Archive
- data ArchiveEncryption
- newtype FilePtr = FilePtr (Ptr FilePtr)
- data ArchiveFilter
- data ArchiveFormat
- = ArchiveFormatCpio
- | ArchiveFormatCpioPosix
- | ArchiveFormatCpioBinLe
- | ArchiveFormatCpioBinBe
- | ArchiveFormatCpioSvr4Nocrc
- | ArchiveFormatCpioSvr4Crc
- | ArchiveFormatCpioAfioLarge
- | ArchiveFormatShar
- | ArchiveFormatSharBase
- | ArchiveFormatSharDump
- | ArchiveFormatTar
- | ArchiveFormatTarUstar
- | ArchiveFormatTarPaxInterchange
- | ArchiveFormatTarPaxRestricted
- | ArchiveFormatTarGnutar
- | ArchiveFormatIso9660
- | ArchiveFormatIso9660Rockridge
- | ArchiveFormatZip
- | ArchiveFormatEmpty
- | ArchiveFormatAr
- | ArchiveFormatArGnu
- | ArchiveFormatArBsd
- | ArchiveFormatMtree
- | ArchiveFormatRaw
- | ArchiveFormatXar
- | ArchiveFormatLha
- | ArchiveFormatCab
- | ArchiveFormatRar
- | ArchiveFormat7zip
- | ArchiveFormatWarc
- | ArchiveFormatRarV5
- data Flags
- data ArchiveCapabilities
- data ReadDiskFlags
- data TimeFlag
- type ArchiveReadCallback a b = Ptr Archive -> Ptr a -> Ptr (Ptr b) -> IO LaSSize
- type ArchiveSkipCallback a = Ptr Archive -> Ptr a -> LaInt64 -> IO LaInt64
- type ArchiveSeekCallback a = Ptr Archive -> Ptr a -> LaInt64 -> CInt -> IO LaInt64
- type ArchiveWriteCallback a b = Ptr Archive -> Ptr a -> Ptr b -> CSize -> IO LaSSize
- type ArchiveOpenCallback a = Ptr Archive -> Ptr a -> IO ArchiveResult
- type ArchiveCloseCallback a = Ptr Archive -> Ptr a -> IO ArchiveResult
- type ArchiveSwitchCallback a b = Ptr Archive -> Ptr a -> Ptr b -> IO ArchiveResult
- type ArchiveOpenCallbackRaw a = Ptr Archive -> Ptr a -> IO CInt
- type ArchiveCloseCallbackRaw a = Ptr Archive -> Ptr a -> IO CInt
- type ArchiveSwitchCallbackRaw a b = Ptr Archive -> Ptr a -> Ptr b -> IO CInt
- type ArchivePassphraseCallback a = Ptr Archive -> Ptr a -> IO CString
- noOpenCallback :: FunPtr (ArchiveOpenCallbackRaw a)
- mkReadCallback :: ArchiveReadCallback a b -> IO (FunPtr (ArchiveReadCallback a b))
- mkSkipCallback :: ArchiveSkipCallback a -> IO (FunPtr (ArchiveSkipCallback a))
- mkSeekCallback :: ArchiveSeekCallback a -> IO (FunPtr (ArchiveSeekCallback a))
- mkWriteCallback :: ArchiveWriteCallback a b -> IO (FunPtr (ArchiveWriteCallback a b))
- mkPassphraseCallback :: ArchivePassphraseCallback a -> IO (FunPtr (ArchivePassphraseCallback a))
- mkOpenCallback :: ArchiveOpenCallback a -> IO (FunPtr (ArchiveOpenCallbackRaw a))
- mkCloseCallback :: ArchiveCloseCallback a -> IO (FunPtr (ArchiveCloseCallbackRaw a))
- mkSwitchCallback :: ArchiveSwitchCallback a b -> IO (FunPtr (ArchiveSwitchCallbackRaw a b))
- mkWriteLookup :: (Ptr a -> CString -> LaInt64 -> IO LaInt64) -> IO (FunPtr (Ptr a -> CString -> LaInt64 -> IO LaInt64))
- mkReadLookup :: (Ptr a -> LaInt64 -> IO CString) -> IO (FunPtr (Ptr a -> LaInt64 -> IO CString))
- mkCleanup :: (Ptr a -> IO ()) -> IO (FunPtr (Ptr a -> IO ()))
- mkMatch :: (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ()) -> IO (FunPtr (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ()))
- mkFilter :: (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO Bool) -> IO (FunPtr (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO CInt))
- mkExcludedCallback :: (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ()) -> IO (FunPtr (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ()))
- type ArchiveEntryPtr = ForeignPtr ArchiveEntry
- type ArchivePtr = ForeignPtr Archive
- type StatPtr = Ptr Stat
- type LaInt64 = CLong
- type LaSSize = CLong
Documentation
Version information
Miscellany
archiveErrorString :: ArchivePtr -> IO CString Source #
archiveFormatName :: ArchivePtr -> IO CString Source #
archiveClearError :: ArchivePtr -> IO () Source #
archiveSetError :: ArchivePtr -> CInt -> CString -> IO () Source #
archiveCopyError :: ArchivePtr -> ArchivePtr -> IO () Source #
archiveFileCount :: ArchivePtr -> IO CInt Source #
archiveFilterCount :: ArchivePtr -> IO CInt Source #
archiveFilterBytes :: ArchivePtr -> CInt -> IO LaInt64 Source #
archiveFilterCode :: ArchivePtr -> CInt -> IO Int Source #
archiveFilterName :: ArchivePtr -> CInt -> IO CString Source #
Read
archiveReadData :: ArchivePtr -> Ptr a -> CSize -> IO LaSSize Source #
archiveReadSetOpenCallback :: ArchivePtr -> FunPtr (ArchiveOpenCallbackRaw a) -> IO ArchiveResult Source #
archiveReadSetSeekCallback :: ArchivePtr -> FunPtr (ArchiveSeekCallback a) -> IO ArchiveResult Source #
archiveReadSetSkipCallback :: ArchivePtr -> FunPtr (ArchiveSeekCallback a) -> IO ArchiveResult Source #
archiveReadSetSwitchCallback :: ArchivePtr -> FunPtr (ArchiveSwitchCallbackRaw a n) -> IO ArchiveResult Source #
archiveReadSetCallbackData2 :: ArchivePtr -> Ptr a -> CUInt -> IO ArchiveResult Source #
archiveReadAddCallbackData :: ArchivePtr -> Ptr a -> CUInt -> IO ArchiveResult Source #
archiveReadAppendCallbackData :: ArchivePtr -> Ptr a -> IO ArchiveResult Source #
archiveReadPrependCallbackData :: ArchivePtr -> Ptr a -> IO ArchiveResult Source #
archiveReadSetReadCallback :: ArchivePtr -> FunPtr (ArchiveReadCallback a b) -> IO ArchiveResult Source #
archiveReadSetCloseCallback :: ArchivePtr -> FunPtr (ArchiveCloseCallbackRaw a) -> IO ArchiveResult Source #
archiveReadSetCallbackData :: ArchivePtr -> Ptr a -> IO ArchiveResult Source #
archiveReadOpen :: ArchivePtr -> Ptr a -> FunPtr (ArchiveOpenCallbackRaw a) -> FunPtr (ArchiveReadCallback a b) -> FunPtr (ArchiveCloseCallbackRaw a) -> IO ArchiveResult Source #
archiveReadOpenFilename :: ArchivePtr -> CString -> CSize -> IO ArchiveResult Source #
archiveReadOpenFilenameW :: ArchivePtr -> CWString -> CSize -> IO ArchiveResult Source #
archiveReadOpenFilenames :: ArchivePtr -> Ptr CString -> CSize -> IO ArchiveResult Source #
archiveReadOpenMemory :: ArchivePtr -> Ptr a -> CSize -> IO ArchiveResult Source #
archiveReadOpen2 :: ArchivePtr -> Ptr a -> FunPtr (ArchiveOpenCallbackRaw a) -> FunPtr (ArchiveReadCallback a b) -> FunPtr (ArchiveSkipCallback a) -> FunPtr (ArchiveCloseCallbackRaw a) -> IO ArchiveResult Source #
archiveReadOpenFd :: ArchivePtr -> Fd -> CSize -> IO ArchiveResult Source #
archiveReadOpenFILE :: ArchivePtr -> FilePtr -> IO ArchiveResult Source #
archiveSeekData :: ArchivePtr -> LaInt64 -> CInt -> IO LaInt64 Source #
archiveReadDataBlock :: ArchivePtr -> Ptr (Ptr a) -> Ptr CSize -> Ptr LaInt64 -> IO ArchiveResult Source #
archiveReadDataIntoFd :: ArchivePtr -> Fd -> IO ArchiveResult Source #
archiveReadSetFormatOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult Source #
archiveReadSetFilterOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult Source #
archiveReadSetOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult Source #
archiveReadSetOptions :: ArchivePtr -> CString -> IO ArchiveResult Source #
archiveReadSetPassphraseCallback :: ArchivePtr -> Ptr a -> FunPtr (ArchivePassphraseCallback a) -> IO ArchiveResult Source #
archiveReadExtract :: ArchivePtr -> ArchiveEntryPtr -> Flags -> IO ArchiveResult Source #
archiveReadExtract2 :: ArchivePtr -> ArchiveEntryPtr -> ArchivePtr -> IO ArchiveResult Source #
archiveReadExtractSetProgressCallback :: ArchivePtr -> FunPtr (Ptr a -> IO ()) -> Ptr a -> IO () Source #
archiveReadExtractSetSkipFile :: ArchivePtr -> LaInt64 -> LaInt64 -> IO () Source #
archiveReadSupportFilterProgramSignature :: ArchivePtr -> CString -> Ptr a -> CSize -> IO ArchiveResult Source #
archiveReadAppendFilter :: ArchivePtr -> CInt -> IO ArchiveResult Source #
archiveReadAppendFilterProgramSignature :: ArchivePtr -> CString -> Ptr a -> CSize -> IO ArchiveResult Source #
Write
archiveWriteOpenMemory :: ArchivePtr -> Ptr a -> CSize -> IO (ArchiveResult, CSize) Source #
archiveWriteData :: ArchivePtr -> Ptr a -> CSize -> IO LaSSize Source #
archiveWriteOpen :: ArchivePtr -> Ptr a -> FunPtr (ArchiveOpenCallbackRaw a) -> FunPtr (ArchiveWriteCallback a b) -> FunPtr (ArchiveCloseCallbackRaw a) -> IO ArchiveResult Source #
archiveWriteSetSkipFile :: ArchivePtr -> LaInt64 -> LaInt64 -> IO ArchiveResult Source #
archiveWriteSetFormatFilterByExtDef :: ArchivePtr -> CString -> CString -> IO ArchiveResult Source #
archiveWriteOpenFd :: ArchivePtr -> Fd -> IO ArchiveResult Source #
archiveWriteOpenFILE :: ArchivePtr -> FilePtr -> IO ArchiveResult Source #
archiveWriteDataBlock :: ArchivePtr -> Ptr a -> CSize -> LaInt64 -> IO LaSSize Source #
archiveWriteSetFormatOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult Source #
archiveWriteSetFilterOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult Source #
archiveWriteSetOption :: ArchivePtr -> CString -> CString -> CString -> IO ArchiveResult Source #
archiveWriteSetPassphraseCallback :: ArchivePtr -> Ptr a -> FunPtr (ArchivePassphraseCallback a) -> IO ArchiveResult Source #
Write disk
archiveWriteDiskSetSkipFile :: ArchivePtr -> LaInt64 -> LaInt64 -> IO ArchiveResult Source #
archiveWriteDiskSetGroupLookup :: ArchivePtr -> Ptr a -> FunPtr (Ptr a -> CString -> LaInt64 -> IO LaInt64) -> FunPtr (Ptr a -> IO ()) -> IO ArchiveResult Source #
archiveWriteDiskSetUserLookup :: ArchivePtr -> Ptr a -> FunPtr (Ptr a -> CString -> LaInt64 -> IO LaInt64) -> FunPtr (Ptr a -> IO ()) -> IO ArchiveResult Source #
archiveWriteDiskGid :: ArchivePtr -> CString -> LaInt64 -> IO LaInt64 Source #
archiveWriteDiskUid :: ArchivePtr -> CString -> LaInt64 -> IO LaInt64 Source #
Read disk
archiveReadDiskEntryFromFile :: ArchivePtr -> ArchiveEntryPtr -> Fd -> StatPtr -> IO ArchiveResult Source #
archiveReadDiskGname :: ArchivePtr -> LaInt64 -> IO CString Source #
archiveReadDiskUname :: ArchivePtr -> LaInt64 -> IO CString Source #
archiveReadDiskSetGnameLookup :: ArchivePtr -> Ptr a -> FunPtr (Ptr a -> LaInt64 -> IO CString) -> FunPtr (Ptr a -> IO ()) -> IO ArchiveResult Source #
archiveReadDiskSetUnameLookup :: ArchivePtr -> Ptr a -> FunPtr (Ptr a -> LaInt64 -> IO CString) -> FunPtr (Ptr a -> IO ()) -> IO ArchiveResult Source #
archiveReadDiskOpen :: ArchivePtr -> CString -> IO ArchiveResult Source #
archiveReadDiskOpenW :: ArchivePtr -> CWString -> IO ArchiveResult Source #
archiveReadDiskSetMatching :: ArchivePtr -> ArchivePtr -> FunPtr (ArchivePtr -> Ptr a -> ArchiveEntryPtr -> IO ()) -> Ptr a -> IO ArchiveResult Source #
archiveReadDiskSetMetadataFilterCallback :: ArchivePtr -> FunPtr (ArchivePtr -> Ptr a -> ArchiveEntry -> IO CInt) -> Ptr a -> IO ArchiveResult Source #
archiveReadDiskNoAcl :: ReadDiskFlags Source #
Since: 2.1.1.0
archiveReadDiskNoFFlags :: ReadDiskFlags Source #
Since: 2.1.1.0
Version macros
Capability macros
Time matching macros
Entry flags
Read disk flags
archiveEntryFree :: FinalizerPtr () Source #
archiveMatchExcluded :: ArchivePtr -> ArchiveEntryPtr -> IO Bool Source #
archiveMatchIncludeTime :: ArchivePtr -> TimeFlag -> CTime -> CLong -> IO ArchiveResult Source #
archiveMatchIncludeDate :: ArchivePtr -> TimeFlag -> CString -> IO ArchiveResult Source #
archiveMatchIncludeDateW :: ArchivePtr -> TimeFlag -> CWString -> IO ArchiveResult Source #
archiveMatchIncludeFileTime :: ArchivePtr -> TimeFlag -> CString -> IO ArchiveResult Source #
archiveMatchIncludeFileTimeW :: ArchivePtr -> TimeFlag -> CWString -> IO ArchiveResult Source #
archiveMatchIncludeUid :: ArchivePtr -> Id -> IO ArchiveResult Source #
archiveMatchIncludeGid :: ArchivePtr -> Id -> IO ArchiveResult Source #
archiveErrno :: ArchivePtr -> IO ArchiveResult Source #
Abstract types
Haskell types
data ArchiveEncryption Source #
Instances
Eq ArchiveEncryption Source # | |
Defined in Codec.Archive.Types (==) :: ArchiveEncryption -> ArchiveEncryption -> Bool # (/=) :: ArchiveEncryption -> ArchiveEncryption -> Bool # |
C types
Enum types
data ArchiveFilter Source #
Instances
Enum ArchiveFilter Source # | |
Defined in Codec.Archive.Types.Foreign succ :: ArchiveFilter -> ArchiveFilter # pred :: ArchiveFilter -> ArchiveFilter # toEnum :: Int -> ArchiveFilter # fromEnum :: ArchiveFilter -> Int # enumFrom :: ArchiveFilter -> [ArchiveFilter] # enumFromThen :: ArchiveFilter -> ArchiveFilter -> [ArchiveFilter] # enumFromTo :: ArchiveFilter -> ArchiveFilter -> [ArchiveFilter] # enumFromThenTo :: ArchiveFilter -> ArchiveFilter -> ArchiveFilter -> [ArchiveFilter] # |
data ArchiveFormat Source #
Instances
Enum ArchiveFormat Source # | |
Defined in Codec.Archive.Types.Foreign succ :: ArchiveFormat -> ArchiveFormat # pred :: ArchiveFormat -> ArchiveFormat # toEnum :: Int -> ArchiveFormat # fromEnum :: ArchiveFormat -> Int # enumFrom :: ArchiveFormat -> [ArchiveFormat] # enumFromThen :: ArchiveFormat -> ArchiveFormat -> [ArchiveFormat] # enumFromTo :: ArchiveFormat -> ArchiveFormat -> [ArchiveFormat] # enumFromThenTo :: ArchiveFormat -> ArchiveFormat -> ArchiveFormat -> [ArchiveFormat] # | |
Eq ArchiveFormat Source # | |
Defined in Codec.Archive.Types.Foreign (==) :: ArchiveFormat -> ArchiveFormat -> Bool # (/=) :: ArchiveFormat -> ArchiveFormat -> Bool # |
Lower-level API types
data ArchiveCapabilities Source #
Instances
Eq ArchiveCapabilities Source # | |
Defined in Codec.Archive.Types.Foreign (==) :: ArchiveCapabilities -> ArchiveCapabilities -> Bool # (/=) :: ArchiveCapabilities -> ArchiveCapabilities -> Bool # | |
Semigroup ArchiveCapabilities Source # | |
Defined in Codec.Archive.Types.Foreign (<>) :: ArchiveCapabilities -> ArchiveCapabilities -> ArchiveCapabilities # sconcat :: NonEmpty ArchiveCapabilities -> ArchiveCapabilities # stimes :: Integral b => b -> ArchiveCapabilities -> ArchiveCapabilities # | |
Monoid ArchiveCapabilities Source # | |
Defined in Codec.Archive.Types.Foreign |
data ReadDiskFlags Source #
Instances
Semigroup ReadDiskFlags Source # | |
Defined in Codec.Archive.Types.Foreign (<>) :: ReadDiskFlags -> ReadDiskFlags -> ReadDiskFlags # sconcat :: NonEmpty ReadDiskFlags -> ReadDiskFlags # stimes :: Integral b => b -> ReadDiskFlags -> ReadDiskFlags # |
Callback types
type ArchiveOpenCallback a = Ptr Archive -> Ptr a -> IO ArchiveResult Source #
type ArchiveCloseCallback a = Ptr Archive -> Ptr a -> IO ArchiveResult Source #
type ArchiveSwitchCallback a b = Ptr Archive -> Ptr a -> Ptr b -> IO ArchiveResult Source #
Callback constructors
noOpenCallback :: FunPtr (ArchiveOpenCallbackRaw a) Source #
Don't use an open callback. This is the recommended argument to archiveReadOpen
mkReadCallback :: ArchiveReadCallback a b -> IO (FunPtr (ArchiveReadCallback a b)) Source #
mkSkipCallback :: ArchiveSkipCallback a -> IO (FunPtr (ArchiveSkipCallback a)) Source #
mkSeekCallback :: ArchiveSeekCallback a -> IO (FunPtr (ArchiveSeekCallback a)) Source #
mkWriteCallback :: ArchiveWriteCallback a b -> IO (FunPtr (ArchiveWriteCallback a b)) Source #
mkPassphraseCallback :: ArchivePassphraseCallback a -> IO (FunPtr (ArchivePassphraseCallback a)) Source #
mkOpenCallback :: ArchiveOpenCallback a -> IO (FunPtr (ArchiveOpenCallbackRaw a)) Source #
mkCloseCallback :: ArchiveCloseCallback a -> IO (FunPtr (ArchiveCloseCallbackRaw a)) Source #
mkSwitchCallback :: ArchiveSwitchCallback a b -> IO (FunPtr (ArchiveSwitchCallbackRaw a b)) Source #
mkWriteLookup :: (Ptr a -> CString -> LaInt64 -> IO LaInt64) -> IO (FunPtr (Ptr a -> CString -> LaInt64 -> IO LaInt64)) Source #
mkReadLookup :: (Ptr a -> LaInt64 -> IO CString) -> IO (FunPtr (Ptr a -> LaInt64 -> IO CString)) Source #
mkCleanup :: (Ptr a -> IO ()) -> IO (FunPtr (Ptr a -> IO ())) Source #
Can also be used with archiveReadExtractSetProgressCallback
mkMatch :: (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ()) -> IO (FunPtr (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ())) Source #
mkFilter :: (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO Bool) -> IO (FunPtr (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO CInt)) Source #
mkExcludedCallback :: (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ()) -> IO (FunPtr (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ())) Source #
Type synonyms
type ArchiveEntryPtr = ForeignPtr ArchiveEntry Source #
type ArchivePtr = ForeignPtr Archive Source #