"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lzlib.h" between
lzlib-1.11.tar.lz and lzlib-1.12-rc1.tar.lz

About: Lzlib is a data compression library providing in-memory LZMA compression and decompression functions using the lzip format. Release candidate.

lzlib.h  (lzlib-1.11.tar.lz):lzlib.h  (lzlib-1.12-rc1.tar.lz)
/* Lzlib - Compression library for the lzip format /* Lzlib - Compression library for the lzip format
Copyright (C) 2009-2019 Antonio Diaz Diaz. Copyright (C) 2009-2020 Antonio Diaz Diaz.
This library is free software. Redistribution and use in source and This library is free software. Redistribution and use in source and
binary forms, with or without modification, are permitted provided binary forms, with or without modification, are permitted provided
that the following conditions are met: that the following conditions are met:
1. Redistributions of source code must retain the above copyright 1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer. notice, this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright 2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the notice, this list of conditions, and the following disclaimer in the
documentation and/or other materials provided with the distribution. documentation and/or other materials provided with the distribution.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#define LZ_API_VERSION 1 #define LZ_API_VERSION 1
static const char * const LZ_version_string = "1.11"; static const char * const LZ_version_string = "1.12-rc1";
enum LZ_Errno { LZ_ok = 0, LZ_bad_argument, LZ_mem_error, enum LZ_Errno { LZ_ok = 0, LZ_bad_argument, LZ_mem_error,
LZ_sequence_error, LZ_header_error, LZ_unexpected_eof, LZ_sequence_error, LZ_header_error, LZ_unexpected_eof,
LZ_data_error, LZ_library_error }; LZ_data_error, LZ_library_error };
int LZ_api_version( void ); /* don't use */
const char * LZ_version( void ); const char * LZ_version( void );
const char * LZ_strerror( const enum LZ_Errno lz_errno ); const char * LZ_strerror( const enum LZ_Errno lz_errno );
int LZ_min_dictionary_bits( void ); int LZ_min_dictionary_bits( void );
int LZ_min_dictionary_size( void ); int LZ_min_dictionary_size( void );
int LZ_max_dictionary_bits( void ); int LZ_max_dictionary_bits( void );
int LZ_max_dictionary_size( void ); int LZ_max_dictionary_size( void );
int LZ_min_match_len_limit( void ); int LZ_min_match_len_limit( void );
int LZ_max_match_len_limit( void ); int LZ_max_match_len_limit( void );
/*---------------------- Compression Functions ----------------------*/ /* --------------------- Compression Functions --------------------- */
struct LZ_Encoder; struct LZ_Encoder;
struct LZ_Encoder * LZ_compress_open( const int dictionary_size, struct LZ_Encoder * LZ_compress_open( const int dictionary_size,
const int match_len_limit, const int match_len_limit,
const unsigned long long member_size ); const unsigned long long member_size );
int LZ_compress_close( struct LZ_Encoder * const encoder ); int LZ_compress_close( struct LZ_Encoder * const encoder );
int LZ_compress_finish( struct LZ_Encoder * const encoder ); int LZ_compress_finish( struct LZ_Encoder * const encoder );
int LZ_compress_restart_member( struct LZ_Encoder * const encoder, int LZ_compress_restart_member( struct LZ_Encoder * const encoder,
skipping to change at line 71 skipping to change at line 72
enum LZ_Errno LZ_compress_errno( struct LZ_Encoder * const encoder ); enum LZ_Errno LZ_compress_errno( struct LZ_Encoder * const encoder );
int LZ_compress_finished( struct LZ_Encoder * const encoder ); int LZ_compress_finished( struct LZ_Encoder * const encoder );
int LZ_compress_member_finished( struct LZ_Encoder * const encoder ); int LZ_compress_member_finished( struct LZ_Encoder * const encoder );
unsigned long long LZ_compress_data_position( struct LZ_Encoder * const encoder ); unsigned long long LZ_compress_data_position( struct LZ_Encoder * const encoder );
unsigned long long LZ_compress_member_position( struct LZ_Encoder * const encode r ); unsigned long long LZ_compress_member_position( struct LZ_Encoder * const encode r );
unsigned long long LZ_compress_total_in_size( struct LZ_Encoder * const encoder ); unsigned long long LZ_compress_total_in_size( struct LZ_Encoder * const encoder );
unsigned long long LZ_compress_total_out_size( struct LZ_Encoder * const encoder ); unsigned long long LZ_compress_total_out_size( struct LZ_Encoder * const encoder );
/*--------------------- Decompression Functions ---------------------*/ /* -------------------- Decompression Functions -------------------- */
struct LZ_Decoder; struct LZ_Decoder;
struct LZ_Decoder * LZ_decompress_open( void ); struct LZ_Decoder * LZ_decompress_open( void );
int LZ_decompress_close( struct LZ_Decoder * const decoder ); int LZ_decompress_close( struct LZ_Decoder * const decoder );
int LZ_decompress_finish( struct LZ_Decoder * const decoder ); int LZ_decompress_finish( struct LZ_Decoder * const decoder );
int LZ_decompress_reset( struct LZ_Decoder * const decoder ); int LZ_decompress_reset( struct LZ_Decoder * const decoder );
int LZ_decompress_sync_to_member( struct LZ_Decoder * const decoder ); int LZ_decompress_sync_to_member( struct LZ_Decoder * const decoder );
 End of changes. 6 change blocks. 
19 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)