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'aread_callback ='a -> string -> int
type'askip_callback ='a -> int -> int
type'aclose_callback ='a -> unit
exception AEnd_of_file
exception AFailure of error_code * string
val init : unit -> unitval is_inited : bool Pervasives.refval init : unit -> unitmodule Entry:sig..end
module Read:sig..end