private package UnZip.Decompress is
trace : constant Trace_type := none;
no_trace : constant Boolean := trace = none;
some_trace : constant Boolean := trace >= some_t;
full_trace : constant Boolean := trace = full;
procedure Decompress_data
( | zip_file | : Zip_Streams.Zipstream_Class; |
-- zip_file must be open and its index is meant -- to point to the beginning of compressed data format | : PKZip_method; | |
mode | : Write_mode; | |
output_file_name | : String; | |
-- relevant only if mode = write_to_file output_memory_access | : out p_Stream_Element_Array; | |
-- = write_to_memory feedback | : Zip.Feedback_proc; | |
explode_literal_tree | : Boolean; | |
-- relevant for the "explode" format explode_slide_8KB | : Boolean; | |
-- relevant for the "explode" format end_data_descriptor | : Boolean; | |
encrypted | : Boolean; | |
password | : in out Unbounded_String; | |
get_new_password | : Get_password_proc; | |
-- if null, initial pwd must fit hint | : in out Zip.Headers.Data_descriptor -- values are known, or smart fakes and corrected if a closing -- Data_descriptor is appended to the compressed data (1 - pass written -- zip files, like JAR, OpenDocument, etc.) ); |