lzlib.h (lzlib-1.12.tar.lz) | : | lzlib.h (lzlib-1.13.tar.lz) | ||
---|---|---|---|---|
/* Lzlib - Compression library for the lzip format | /* Lzlib - Compression library for the lzip format | |||
Copyright (C) 2009-2021 Antonio Diaz Diaz. | Copyright (C) 2009-2022 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 | |||
skipping to change at line 27 | skipping to change at line 27 | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
*/ | */ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/* LZ_API_VERSION was first defined in lzlib 1.8 to 1. | /* LZ_API_VERSION was first defined in lzlib 1.8 to 1. | |||
Since lzlib 1.12, LZ_API_VERSION is defined as (major * 1000 + minor). */ | Since lzlib 1.12, LZ_API_VERSION is defined as (major * 1000 + minor). */ | |||
#define LZ_API_VERSION 1012 | #define LZ_API_VERSION 1013 | |||
static const char * const LZ_version_string = "1.12"; | static const char * const LZ_version_string = "1.13"; | |||
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 ); /* new in 1.12 */ | int LZ_api_version( void ); /* new in 1.12 */ | |||
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 ); | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |