libarchive-3.0.2.0: Haskell interface to libarchive
Safe HaskellNone
LanguageHaskell2010

Codec.Archive.Foreign.Archive

Description

This module corresponds to archive.h

Functions in this module are stateful and hence take place in the IO monad.

Synopsis

Documentation

Version information

Miscellany

Read

Write

Write disk

Read disk

Version macros

Capability macros

Time matching macros

Entry flags

Read disk flags

Abstract types

data Archive Source #

Abstract type

Haskell types

C types

newtype FilePtr Source #

FILE* in C

Constructors

FilePtr (Ptr FilePtr) 

Enum types

Lower-level API types

data Flags Source #

Instances

Instances details
Semigroup Flags Source # 
Instance details

Defined in Codec.Archive.Types.Foreign

Methods

(<>) :: Flags -> Flags -> Flags #

sconcat :: NonEmpty Flags -> Flags #

stimes :: Integral b => b -> Flags -> Flags #

Monoid Flags Source # 
Instance details

Defined in Codec.Archive.Types.Foreign

Methods

mempty :: Flags #

mappend :: Flags -> Flags -> Flags #

mconcat :: [Flags] -> Flags #

Callback types

Callback constructors

noOpenCallback :: FunPtr (ArchiveOpenCallbackRaw a) Source #

Don't use an open callback. This is the recommended argument to archiveReadOpen

mkFreeCallback :: ArchiveFreeCallback a -> IO (FunPtr (ArchiveFreeCallbackRaw a)) Source #

mkCleanup :: (Ptr a -> IO ()) -> IO (FunPtr (Ptr a -> IO ())) Source #

mkMatch :: (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ()) -> IO (FunPtr (Ptr Archive -> Ptr a -> Ptr ArchiveEntry -> IO ())) Source #

Type synonyms

libarchive types