diff options
Diffstat (limited to 'doc/lzlib.info')
-rw-r--r-- | doc/lzlib.info | 50 |
1 files changed, 37 insertions, 13 deletions
diff --git a/doc/lzlib.info b/doc/lzlib.info index 9a516a9..af9f67b 100644 --- a/doc/lzlib.info +++ b/doc/lzlib.info @@ -12,7 +12,7 @@ File: lzlib.info, Node: Top, Next: Introduction, Up: (dir) Lzlib Manual ************ -This manual is for Lzlib (version 0.9, 10 February 2010). +This manual is for Lzlib (version 1.0, 8 May 2010). * Menu: @@ -373,6 +373,28 @@ be verified by calling `LZ_decompress_errno' before using it. Returns 1 if all the data has been read and `LZ_decompress_close' can be safely called. Otherwise it returns 0. + -- Function: int LZ_decompress_member_finished ( struct LZ_Decoder * + const DECODER ) + Returns 1 if the previous call to `LZ_decompress_read' finished + reading the current member, indicating that final values for + member are available through `LZ_decompress_data_crc', + `LZ_decompress_data_position', and + `LZ_decompress_member_position'. Otherwise it returns 0. + + -- Function: int LZ_decompress_member_version ( struct LZ_Decoder * + const DECODER ) + Returns the version of current member from member header. + + -- Function: int LZ_decompress_dictionary_size ( struct LZ_Decoder * + const DECODER ) + Returns the dictionary size of current member from member header. + + -- Function: unsigned int LZ_decompress_data_crc ( struct LZ_Decoder * + const DECODER ) + Returns the 32 bit Cyclic Redundancy Check of the data + decompressed from the current member. The returned value is valid + only when `LZ_decompress_member_finished' returns 1. + -- Function: long long LZ_decompress_data_position ( struct LZ_Decoder * const DECODER ) Returns the number of decompressed bytes already produced, but @@ -575,6 +597,8 @@ Example 4: Decompression using LZ_decompress_write_size. 3) LZ_decompress_write 4) if no more data to write, call LZ_decompress_finish 5) LZ_decompress_read + 5a) optionally, if LZ_decompress_member_finished returns 1, read + final values for member with LZ_decompress_data_crc, etc. 6) go back to step 2 until LZ_decompress_finished returns 1 7) LZ_decompress_close @@ -676,17 +700,17 @@ Concept Index Tag Table: Node: Top219 -Node: Introduction1158 -Node: Library Version2933 -Node: Buffering3578 -Node: Parameter Limits4698 -Node: Compression Functions5655 -Node: Decompression Functions11701 -Node: Error Codes16763 -Node: Error Messages18702 -Node: Data Format19281 -Node: Examples21251 -Node: Problems24827 -Node: Concept Index25399 +Node: Introduction1152 +Node: Library Version2927 +Node: Buffering3572 +Node: Parameter Limits4692 +Node: Compression Functions5649 +Node: Decompression Functions11695 +Node: Error Codes17766 +Node: Error Messages19705 +Node: Data Format20284 +Node: Examples22254 +Node: Problems25967 +Node: Concept Index26539 End Tag Table |