Index

Package: UnZip.Decompress

Description

package UnZip.Decompress is
UnZip.Decompress ----------------- Private, internal to the UnZip package. Created 9-Mar-2007 This package includes the decompression algorithms for methods store, reduce, shrink (LZW), implode and inflate. It contains the packages UnZ_IO, UnZ_Glob, UnZ_Infl, UnZ_Olds, UnZ_Misc of previous versions of Zip-Ada. They become local packages inside the Decompress_Data procedure -> previously global variables are now local, one copy per concurrent call.

Subprograms & Entries

Decompress_data

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.)
);

References:

unzip-decompress.ads:20:14 (declaration)
unzip-decompress.adb:7:13 (body)
unzip-decompress.adb:1983:7 (label)
unzip-streams.adb:92:22 (reference)
unzip.adb:290:24 (reference)

Called by:

UnZip.Streams.UnZipFile defined at unzip-streams.adb:25:13
UnZip.UnZipFile defined at unzip.adb:15:13

Calls:

Close defined at a-ststio.ads:80:14
Close defined at a-textio.ads:101:14
Create defined at a-ststio.ads:68:14
Create defined at a-textio.ads:89:14
Is_Open defined at a-ststio.ads:89:13
Is_Open defined at a-textio.ads:110:13
To_String defined at a-strunb.ads:65:13
UnZip.Decompress.Decompress_data.Process defined at unzip-decompress.adb:1829:15
UnZip.Decompress.Decompress_data.UnZ_IO.Decryption.Init defined at unzip-decompress.adb:66:19
UnZip.Decompress.Decompress_data.UnZ_IO.Decryption.Set_mode defined at unzip-decompress.adb:64:19
UnZip.Decompress.Decompress_data.UnZ_IO.Delete_output defined at unzip-decompress.adb:113:17
UnZip.Decompress.Decompress_data.UnZ_IO.Init_Buffers defined at unzip-decompress.adb:61:17
UnZip.Decompress.Decompress_data.UnZ_Meth.Bunzip2 defined at unzip-decompress.adb:125:17
UnZip.Decompress.Decompress_data.UnZ_Meth.Copy_stored defined at unzip-decompress.adb:118:17
UnZip.Decompress.Decompress_data.UnZ_Meth.Explode defined at unzip-decompress.adb:122:17
UnZip.Decompress.Decompress_data.UnZ_Meth.Inflate defined at unzip-decompress.adb:124:17
UnZip.Decompress.Decompress_data.UnZ_Meth.Unreduce defined at unzip-decompress.adb:121:17
UnZip.Decompress.Decompress_data.UnZ_Meth.Unshrink defined at unzip-decompress.adb:119:17
Zip.CRC.Final defined at zip-crc.ads:9:13
Zip_Streams.Index defined at zip_streams.ads:44:13
Zip_Streams.Set_Index defined at zip_streams.ads:40:14