module ArchiveLow:sig
..end
This is the low level function which are almost a 1:1 mapping of libarchive functions.
Callbacks should only raise an ArchiveLow.AFailure
exception, this way they will
trigger an archive_set_error
. Any other exceptions will be mapped to a
generic exception when setting error.
Author(s): Sylvain Le Gall
type 'a
archive
typefilename =
string
typeerror_code =
int
type('a, 'b)
open_callback ='a -> 'b
type'a
read_callback ='a -> string -> int
type'a
skip_callback ='a -> int -> int
type'a
close_callback ='a -> unit
exception AEnd_of_file
exception AFailure of error_code * string
val init : unit -> unit
val is_inited : bool Pervasives.ref
val init : unit -> unit
module Entry:sig
..end
module Read:sig
..end