Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Zlib
提交
2fa463ba
T
Third Party Zlib
项目概览
OpenHarmony
/
Third Party Zlib
接近 2 年 前同步成功
通知
18
Star
112
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Zlib
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
2fa463ba
编写于
12月 31, 2016
作者:
M
Mark Adler
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zlib 1.2.9
上级
14e3194e
变更
55
隐藏空白更改
内联
并排
Showing
55 changed file
with
777 addition
and
580 deletion
+777
-580
CMakeLists.txt
CMakeLists.txt
+1
-1
ChangeLog
ChangeLog
+31
-2
Makefile.in
Makefile.in
+2
-2
README
README
+3
-3
adler32.c
adler32.c
+1
-1
compress.c
compress.c
+1
-1
contrib/delphi/ZLib.pas
contrib/delphi/ZLib.pas
+1
-1
contrib/dotzlib/DotZLib/UnitTests.cs
contrib/dotzlib/DotZLib/UnitTests.cs
+1
-1
contrib/infback9/inftree9.c
contrib/infback9/inftree9.c
+3
-3
contrib/minizip/configure.ac
contrib/minizip/configure.ac
+1
-1
contrib/pascal/zlibpas.pas
contrib/pascal/zlibpas.pas
+2
-2
contrib/vstudio/readme.txt
contrib/vstudio/readme.txt
+1
-1
contrib/vstudio/vc10/zlib.rc
contrib/vstudio/vc10/zlib.rc
+4
-4
contrib/vstudio/vc10/zlibvc.def
contrib/vstudio/vc10/zlibvc.def
+11
-1
contrib/vstudio/vc11/zlib.rc
contrib/vstudio/vc11/zlib.rc
+4
-4
contrib/vstudio/vc11/zlibvc.def
contrib/vstudio/vc11/zlibvc.def
+10
-0
contrib/vstudio/vc12/zlib.rc
contrib/vstudio/vc12/zlib.rc
+2
-2
contrib/vstudio/vc12/zlibvc.def
contrib/vstudio/vc12/zlibvc.def
+153
-143
contrib/vstudio/vc14/zlib.rc
contrib/vstudio/vc14/zlib.rc
+2
-2
contrib/vstudio/vc14/zlibvc.def
contrib/vstudio/vc14/zlibvc.def
+153
-143
contrib/vstudio/vc9/zlib.rc
contrib/vstudio/vc9/zlib.rc
+4
-4
contrib/vstudio/vc9/zlibvc.def
contrib/vstudio/vc9/zlibvc.def
+10
-0
crc32.c
crc32.c
+1
-1
deflate.c
deflate.c
+1
-1
deflate.h
deflate.h
+1
-1
examples/gzlog.c
examples/gzlog.c
+1
-1
gzguts.h
gzguts.h
+1
-1
gzlib.c
gzlib.c
+1
-1
gzread.c
gzread.c
+1
-1
gzwrite.c
gzwrite.c
+1
-1
infback.c
infback.c
+1
-1
inffast.c
inffast.c
+1
-1
inflate.c
inflate.c
+1
-1
inflate.h
inflate.h
+1
-1
inftrees.c
inftrees.c
+3
-3
os400/README400
os400/README400
+1
-1
os400/bndsrc
os400/bndsrc
+23
-4
os400/zlib.inc
os400/zlib.inc
+83
-7
qnx/package.qpg
qnx/package.qpg
+5
-5
test/example.c
test/example.c
+1
-1
test/infcover.c
test/infcover.c
+1
-1
test/minigzip.c
test/minigzip.c
+1
-1
treebuild.xml
treebuild.xml
+2
-2
trees.c
trees.c
+1
-1
win32/README-WIN32.txt
win32/README-WIN32.txt
+2
-2
win32/zlib.def
win32/zlib.def
+94
-86
zconf.h
zconf.h
+12
-4
zconf.h.cmakein
zconf.h.cmakein
+12
-4
zconf.h.in
zconf.h.in
+12
-4
zlib.3
zlib.3
+9
-29
zlib.3.pdf
zlib.3.pdf
+0
-0
zlib.h
zlib.h
+6
-6
zlib.map
zlib.map
+94
-83
zutil.c
zutil.c
+1
-1
zutil.h
zutil.h
+1
-1
未找到文件。
CMakeLists.txt
浏览文件 @
2fa463ba
...
...
@@ -3,7 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
project
(
zlib C
)
set
(
VERSION
"1.2.
8.1
"
)
set
(
VERSION
"1.2.
9
"
)
option
(
ASM686
"Enable building i686 assembly implementation"
)
option
(
AMD64
"Enable building amd64 assembly implementation"
)
...
...
ChangeLog
浏览文件 @
2fa463ba
ChangeLog file for zlib
Changes in 1.2.8.1 (xx May 2013)
-
Changes in 1.2.9 (31 Dec 2016)
- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
- Improve contrib/blast to return unused bytes
- Assure that gzoffset() is correct when appending
- Improve compress() and uncompress() to support large lengths
- Fix bug in test/example.c where error code not saved
- Remedy Coverity warning [Randers-Pehrson]
- Improve speed of gzprintf() in transparent mode
- Fix inflateInit2() bug when windowBits is 16 or 32
- Change DEBUG macro to ZLIB_DEBUG
- Avoid uninitialized access by gzclose_w()
- Allow building zlib outside of the source directory
- Fix bug that accepted invalid zlib header when windowBits is zero
- Fix gzseek() problem on MinGW due to buggy _lseeki64 there
- Loop on write() calls in gzwrite.c in case of non-blocking I/O
- Add --warn (-w) option to ./configure for more compiler warnings
- Reject a window size of 256 bytes if not using the zlib wrapper
- Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
- Add --debug (-d) option to ./configure to define ZLIB_DEBUG
- Fix bugs in creating a very large gzip header
- Add uncompress2() function, which returns the input size used
- Assure that deflateParams() will not switch functions mid-block
- Dramatically speed up deflation for level 0 (storing)
- Add gzfread(), duplicating the interface of fread()
- Add gzfwrite(), duplicating the interface of fwrite()
- Add deflateGetDictionary() function
- Use snprintf() for later versions of Microsoft C
- Fix *Init macros to use z_ prefix when requested
- Replace as400 with os400 for OS/400 support [Monnerat]
- Add crc32_z() and adler32_z() functions with size_t lengths
- Update Visual Studio project files [AraHaan]
Changes in 1.2.8 (28 Apr 2013)
- Update contrib/minizip/iowin32.c for Windows RT [Vollant]
...
...
Makefile.in
浏览文件 @
2fa463ba
# Makefile for zlib
# Copyright (C) 1995-201
3
Jean-loup Gailly, Mark Adler
# Copyright (C) 1995-201
6
Jean-loup Gailly, Mark Adler
# For conditions of distribution and use, see copyright notice in zlib.h
# To compile and test, type:
...
...
@@ -32,7 +32,7 @@ CPP=$(CC) -E
STATICLIB
=
libz.a
SHAREDLIB
=
libz.so
SHAREDLIBV
=
libz.so.1.2.
8.1
SHAREDLIBV
=
libz.so.1.2.
9
SHAREDLIBM
=
libz.so.1
LIBS
=
$(STATICLIB)
$(SHAREDLIBV)
...
...
README
浏览文件 @
2fa463ba
ZLIB DATA COMPRESSION LIBRARY
zlib 1.2.
8.1
is a general purpose data compression library. All the code is
zlib 1.2.
9
is a general purpose data compression library. All the code is
thread safe. The data format used by the zlib library is described by RFCs
(Request for Comments) 1950 to 1952 in the files
http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and
...
...
@@ -31,7 +31,7 @@ Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997
issue of Dr. Dobb's Journal; a copy of the article is available at
http://marknelson.us/1997/01/01/zlib-engine/ .
The changes made in version 1.2.
8.1
are documented in the file ChangeLog.
The changes made in version 1.2.
9
are documented in the file ChangeLog.
Unsupported third party contributions are provided in directory contrib/ .
...
...
@@ -84,7 +84,7 @@ Acknowledgments:
Copyright notice:
(C) 1995-201
3
Jean-loup Gailly and Mark Adler
(C) 1995-201
6
Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
...
...
adler32.c
浏览文件 @
2fa463ba
/* adler32.c -- compute the Adler-32 checksum of a data stream
* Copyright (C) 1995-2011 Mark Adler
* Copyright (C) 1995-2011
, 2016
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
compress.c
浏览文件 @
2fa463ba
/* compress.c -- compress a memory buffer
* Copyright (C) 1995-2005, 2014 Jean-loup Gailly, Mark Adler
* Copyright (C) 1995-2005, 2014
, 2016
Jean-loup Gailly, Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
contrib/delphi/ZLib.pas
浏览文件 @
2fa463ba
...
...
@@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
const
OutBuf
:
Pointer
;
BufSize
:
Integer
);
const
zlib_version
=
'1.2.
8.1
'
;
zlib_version
=
'1.2.
9
'
;
type
EZlibError
=
class
(
Exception
);
...
...
contrib/dotzlib/DotZLib/UnitTests.cs
浏览文件 @
2fa463ba
...
...
@@ -156,7 +156,7 @@ namespace DotZLibTests
public
void
Info_Version
()
{
Info
info
=
new
Info
();
Assert
.
AreEqual
(
"1.2.
8.1
"
,
Info
.
Version
);
Assert
.
AreEqual
(
"1.2.
9
"
,
Info
.
Version
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfUInt
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfULong
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfPointer
);
...
...
contrib/infback9/inftree9.c
浏览文件 @
2fa463ba
/* inftree9.c -- generate Huffman trees for efficient decoding
* Copyright (C) 1995-201
3
Mark Adler
* Copyright (C) 1995-201
6
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
@@ -9,7 +9,7 @@
#define MAXBITS 15
const
char
inflate9_copyright
[]
=
" inflate9 1.2.
8.1 Copyright 1995-2013
Mark Adler "
;
" inflate9 1.2.
9 Copyright 1995-2016
Mark Adler "
;
/*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
...
...
@@ -64,7 +64,7 @@ unsigned short FAR *work;
static
const
unsigned
short
lext
[
31
]
=
{
/* Length codes 257..285 extra */
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
129
,
129
,
129
,
129
,
130
,
130
,
130
,
130
,
131
,
131
,
131
,
131
,
132
,
132
,
132
,
132
,
133
,
133
,
133
,
133
,
144
,
203
,
198
};
133
,
133
,
133
,
133
,
144
,
192
,
79
};
static
const
unsigned
short
dbase
[
32
]
=
{
/* Distance codes 0..31 base */
1
,
2
,
3
,
4
,
5
,
7
,
9
,
13
,
17
,
25
,
33
,
49
,
65
,
97
,
129
,
193
,
257
,
385
,
513
,
769
,
1025
,
1537
,
2049
,
3073
,
...
...
contrib/minizip/configure.ac
浏览文件 @
2fa463ba
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([minizip], [1.2.
8.1
], [bugzilla.redhat.com])
AC_INIT([minizip], [1.2.
9
], [bugzilla.redhat.com])
AC_CONFIG_SRCDIR([minizip.c])
AM_INIT_AUTOMAKE([foreign])
LT_INIT
...
...
contrib/pascal/zlibpas.pas
浏览文件 @
2fa463ba
...
...
@@ -10,8 +10,8 @@ unit zlibpas;
interface
const
ZLIB_VERSION
=
'1.2.
8.1
'
;
ZLIB_VERNUM
=
$
12
81
;
ZLIB_VERSION
=
'1.2.
9
'
;
ZLIB_VERNUM
=
$
12
90
;
type
alloc_func
=
function
(
opaque
:
Pointer
;
items
,
size
:
Integer
):
Pointer
;
...
...
contrib/vstudio/readme.txt
浏览文件 @
2fa463ba
Building instructions for the DLL versions of Zlib 1.2.
8.1
Building instructions for the DLL versions of Zlib 1.2.
9
========================================================
This directory contains projects that build zlib and minizip using
...
...
contrib/vstudio/vc10/zlib.rc
浏览文件 @
2fa463ba
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
8, 1
PRODUCTVERSION 1, 2,
8, 1
FILEVERSION 1, 2,
9, 0
PRODUCTVERSION 1, 2,
9, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
@@ -17,12 +17,12 @@ BEGIN
BEGIN
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
VALUE "FileVersion", "1.2.
8.1
\0"
VALUE "FileVersion", "1.2.
9
\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
VALUE "LegalCopyright", "(C) 1995-201
3
Jean-loup Gailly & Mark Adler\0"
VALUE "LegalCopyright", "(C) 1995-201
6
Jean-loup Gailly & Mark Adler\0"
END
END
BLOCK "VarFileInfo"
...
...
contrib/vstudio/vc10/zlibvc.def
浏览文件 @
2fa463ba
...
...
@@ -2,7 +2,7 @@ LIBRARY
; zlib data compression and ZIP file I/O library
VERSION 1.2
EXPORTS
adler32 @1
compress @2
...
...
@@ -141,3 +141,13 @@ EXPORTS
; zlib1 v1.2.8 added:
inflateGetDictionary @166
gzvprintf @167
; zlib1 v1.2.9 added:
inflateCodesUsed @168
inflateValidate @169
uncompress2 @170
gzfread @171
gzfwrite @172
deflateGetDictionary @173
adler32_z @174
crc32_z @175
contrib/vstudio/vc11/zlib.rc
浏览文件 @
2fa463ba
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
8, 1
PRODUCTVERSION 1, 2,
8, 1
FILEVERSION 1, 2,
9, 0
PRODUCTVERSION 1, 2,
9, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
@@ -17,12 +17,12 @@ BEGIN
BEGIN
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
VALUE "FileVersion", "1.2.
8.1
\0"
VALUE "FileVersion", "1.2.
9
\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
VALUE "LegalCopyright", "(C) 1995-201
3
Jean-loup Gailly & Mark Adler\0"
VALUE "LegalCopyright", "(C) 1995-201
6
Jean-loup Gailly & Mark Adler\0"
END
END
BLOCK "VarFileInfo"
...
...
contrib/vstudio/vc11/zlibvc.def
浏览文件 @
2fa463ba
...
...
@@ -141,3 +141,13 @@ EXPORTS
; zlib1 v1.2.8 added:
inflateGetDictionary @166
gzvprintf @167
; zlib1 v1.2.9 added:
inflateCodesUsed @168
inflateValidate @169
uncompress2 @170
gzfread @171
gzfwrite @172
deflateGetDictionary @173
adler32_z @174
crc32_z @175
contrib/vstudio/vc12/zlib.rc
浏览文件 @
2fa463ba
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
8, 1
PRODUCTVERSION 1, 2,
8, 1
FILEVERSION 1, 2,
9, 0
PRODUCTVERSION 1, 2,
9, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
contrib/vstudio/vc12/zlibvc.def
浏览文件 @
2fa463ba
LIBRARY
; zlib data compression and ZIP file I/O library
VERSION 1.2
EXPORTS
adler32 @1
compress @2
crc32 @3
deflate @4
deflateCopy @5
deflateEnd @6
deflateInit2_ @7
deflateInit_ @8
deflateParams @9
deflateReset @10
deflateSetDictionary @11
gzclose @12
gzdopen @13
gzerror @14
gzflush @15
gzopen @16
gzread @17
gzwrite @18
inflate @19
inflateEnd @20
inflateInit2_ @21
inflateInit_ @22
inflateReset @23
inflateSetDictionary @24
inflateSync @25
uncompress @26
zlibVersion @27
gzprintf @28
gzputc @29
gzgetc @30
gzseek @31
gzrewind @32
gztell @33
gzeof @34
gzsetparams @35
zError @36
inflateSyncPoint @37
get_crc_table @38
compress2 @39
gzputs @40
gzgets @41
inflateCopy @42
inflateBackInit_ @43
inflateBack @44
inflateBackEnd @45
compressBound @46
deflateBound @47
gzclearerr @48
gzungetc @49
zlibCompileFlags @50
deflatePrime @51
deflatePending @52
unzOpen @61
unzClose @62
unzGetGlobalInfo @63
unzGetCurrentFileInfo @64
unzGoToFirstFile @65
unzGoToNextFile @66
unzOpenCurrentFile @67
unzReadCurrentFile @68
unzOpenCurrentFile3 @69
unztell @70
unzeof @71
unzCloseCurrentFile @72
unzGetGlobalComment @73
unzStringFileNameCompare @74
unzLocateFile @75
unzGetLocalExtrafield @76
unzOpen2 @77
unzOpenCurrentFile2 @78
unzOpenCurrentFilePassword @79
zipOpen @80
zipOpenNewFileInZip @81
zipWriteInFileInZip @82
zipCloseFileInZip @83
zipClose @84
zipOpenNewFileInZip2 @86
zipCloseFileInZipRaw @87
zipOpen2 @88
zipOpenNewFileInZip3 @89
unzGetFilePos @100
unzGoToFilePos @101
fill_win32_filefunc @110
; zlibwapi v1.2.4 added:
fill_win32_filefunc64 @111
fill_win32_filefunc64A @112
fill_win32_filefunc64W @113
unzOpen64 @120
unzOpen2_64 @121
unzGetGlobalInfo64 @122
unzGetCurrentFileInfo64 @124
unzGetCurrentFileZStreamPos64 @125
unztell64 @126
unzGetFilePos64 @127
unzGoToFilePos64 @128
zipOpen64 @130
zipOpen2_64 @131
zipOpenNewFileInZip64 @132
zipOpenNewFileInZip2_64 @133
zipOpenNewFileInZip3_64 @134
zipOpenNewFileInZip4_64 @135
zipCloseFileInZipRaw64 @136
; zlib1 v1.2.4 added:
adler32_combine @140
crc32_combine @142
deflateSetHeader @144
deflateTune @145
gzbuffer @146
gzclose_r @147
gzclose_w @148
gzdirect @149
gzoffset @150
inflateGetHeader @156
inflateMark @157
inflatePrime @158
inflateReset2 @159
inflateUndermine @160
; zlib1 v1.2.6 added:
gzgetc_ @161
inflateResetKeep @163
deflateResetKeep @164
; zlib1 v1.2.7 added:
gzopen_w @165
; zlib1 v1.2.8 added:
inflateGetDictionary @166
gzvprintf @167
LIBRARY
; zlib data compression and ZIP file I/O library
VERSION 1.2
EXPORTS
adler32 @1
compress @2
crc32 @3
deflate @4
deflateCopy @5
deflateEnd @6
deflateInit2_ @7
deflateInit_ @8
deflateParams @9
deflateReset @10
deflateSetDictionary @11
gzclose @12
gzdopen @13
gzerror @14
gzflush @15
gzopen @16
gzread @17
gzwrite @18
inflate @19
inflateEnd @20
inflateInit2_ @21
inflateInit_ @22
inflateReset @23
inflateSetDictionary @24
inflateSync @25
uncompress @26
zlibVersion @27
gzprintf @28
gzputc @29
gzgetc @30
gzseek @31
gzrewind @32
gztell @33
gzeof @34
gzsetparams @35
zError @36
inflateSyncPoint @37
get_crc_table @38
compress2 @39
gzputs @40
gzgets @41
inflateCopy @42
inflateBackInit_ @43
inflateBack @44
inflateBackEnd @45
compressBound @46
deflateBound @47
gzclearerr @48
gzungetc @49
zlibCompileFlags @50
deflatePrime @51
deflatePending @52
unzOpen @61
unzClose @62
unzGetGlobalInfo @63
unzGetCurrentFileInfo @64
unzGoToFirstFile @65
unzGoToNextFile @66
unzOpenCurrentFile @67
unzReadCurrentFile @68
unzOpenCurrentFile3 @69
unztell @70
unzeof @71
unzCloseCurrentFile @72
unzGetGlobalComment @73
unzStringFileNameCompare @74
unzLocateFile @75
unzGetLocalExtrafield @76
unzOpen2 @77
unzOpenCurrentFile2 @78
unzOpenCurrentFilePassword @79
zipOpen @80
zipOpenNewFileInZip @81
zipWriteInFileInZip @82
zipCloseFileInZip @83
zipClose @84
zipOpenNewFileInZip2 @86
zipCloseFileInZipRaw @87
zipOpen2 @88
zipOpenNewFileInZip3 @89
unzGetFilePos @100
unzGoToFilePos @101
fill_win32_filefunc @110
; zlibwapi v1.2.4 added:
fill_win32_filefunc64 @111
fill_win32_filefunc64A @112
fill_win32_filefunc64W @113
unzOpen64 @120
unzOpen2_64 @121
unzGetGlobalInfo64 @122
unzGetCurrentFileInfo64 @124
unzGetCurrentFileZStreamPos64 @125
unztell64 @126
unzGetFilePos64 @127
unzGoToFilePos64 @128
zipOpen64 @130
zipOpen2_64 @131
zipOpenNewFileInZip64 @132
zipOpenNewFileInZip2_64 @133
zipOpenNewFileInZip3_64 @134
zipOpenNewFileInZip4_64 @135
zipCloseFileInZipRaw64 @136
; zlib1 v1.2.4 added:
adler32_combine @140
crc32_combine @142
deflateSetHeader @144
deflateTune @145
gzbuffer @146
gzclose_r @147
gzclose_w @148
gzdirect @149
gzoffset @150
inflateGetHeader @156
inflateMark @157
inflatePrime @158
inflateReset2 @159
inflateUndermine @160
; zlib1 v1.2.6 added:
gzgetc_ @161
inflateResetKeep @163
deflateResetKeep @164
; zlib1 v1.2.7 added:
gzopen_w @165
; zlib1 v1.2.8 added:
inflateGetDictionary @166
gzvprintf @167
; zlib1 v1.2.9 added:
inflateCodesUsed @168
inflateValidate @169
uncompress2 @170
gzfread @171
gzfwrite @172
deflateGetDictionary @173
adler32_z @174
crc32_z @175
contrib/vstudio/vc14/zlib.rc
浏览文件 @
2fa463ba
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
8, 1
PRODUCTVERSION 1, 2,
8, 1
FILEVERSION 1, 2,
9, 0
PRODUCTVERSION 1, 2,
9, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
contrib/vstudio/vc14/zlibvc.def
浏览文件 @
2fa463ba
LIBRARY
; zlib data compression and ZIP file I/O library
VERSION 1.2
EXPORTS
adler32 @1
compress @2
crc32 @3
deflate @4
deflateCopy @5
deflateEnd @6
deflateInit2_ @7
deflateInit_ @8
deflateParams @9
deflateReset @10
deflateSetDictionary @11
gzclose @12
gzdopen @13
gzerror @14
gzflush @15
gzopen @16
gzread @17
gzwrite @18
inflate @19
inflateEnd @20
inflateInit2_ @21
inflateInit_ @22
inflateReset @23
inflateSetDictionary @24
inflateSync @25
uncompress @26
zlibVersion @27
gzprintf @28
gzputc @29
gzgetc @30
gzseek @31
gzrewind @32
gztell @33
gzeof @34
gzsetparams @35
zError @36
inflateSyncPoint @37
get_crc_table @38
compress2 @39
gzputs @40
gzgets @41
inflateCopy @42
inflateBackInit_ @43
inflateBack @44
inflateBackEnd @45
compressBound @46
deflateBound @47
gzclearerr @48
gzungetc @49
zlibCompileFlags @50
deflatePrime @51
deflatePending @52
unzOpen @61
unzClose @62
unzGetGlobalInfo @63
unzGetCurrentFileInfo @64
unzGoToFirstFile @65
unzGoToNextFile @66
unzOpenCurrentFile @67
unzReadCurrentFile @68
unzOpenCurrentFile3 @69
unztell @70
unzeof @71
unzCloseCurrentFile @72
unzGetGlobalComment @73
unzStringFileNameCompare @74
unzLocateFile @75
unzGetLocalExtrafield @76
unzOpen2 @77
unzOpenCurrentFile2 @78
unzOpenCurrentFilePassword @79
zipOpen @80
zipOpenNewFileInZip @81
zipWriteInFileInZip @82
zipCloseFileInZip @83
zipClose @84
zipOpenNewFileInZip2 @86
zipCloseFileInZipRaw @87
zipOpen2 @88
zipOpenNewFileInZip3 @89
unzGetFilePos @100
unzGoToFilePos @101
fill_win32_filefunc @110
; zlibwapi v1.2.4 added:
fill_win32_filefunc64 @111
fill_win32_filefunc64A @112
fill_win32_filefunc64W @113
unzOpen64 @120
unzOpen2_64 @121
unzGetGlobalInfo64 @122
unzGetCurrentFileInfo64 @124
unzGetCurrentFileZStreamPos64 @125
unztell64 @126
unzGetFilePos64 @127
unzGoToFilePos64 @128
zipOpen64 @130
zipOpen2_64 @131
zipOpenNewFileInZip64 @132
zipOpenNewFileInZip2_64 @133
zipOpenNewFileInZip3_64 @134
zipOpenNewFileInZip4_64 @135
zipCloseFileInZipRaw64 @136
; zlib1 v1.2.4 added:
adler32_combine @140
crc32_combine @142
deflateSetHeader @144
deflateTune @145
gzbuffer @146
gzclose_r @147
gzclose_w @148
gzdirect @149
gzoffset @150
inflateGetHeader @156
inflateMark @157
inflatePrime @158
inflateReset2 @159
inflateUndermine @160
; zlib1 v1.2.6 added:
gzgetc_ @161
inflateResetKeep @163
deflateResetKeep @164
; zlib1 v1.2.7 added:
gzopen_w @165
; zlib1 v1.2.8 added:
inflateGetDictionary @166
gzvprintf @167
LIBRARY
; zlib data compression and ZIP file I/O library
VERSION 1.2
EXPORTS
adler32 @1
compress @2
crc32 @3
deflate @4
deflateCopy @5
deflateEnd @6
deflateInit2_ @7
deflateInit_ @8
deflateParams @9
deflateReset @10
deflateSetDictionary @11
gzclose @12
gzdopen @13
gzerror @14
gzflush @15
gzopen @16
gzread @17
gzwrite @18
inflate @19
inflateEnd @20
inflateInit2_ @21
inflateInit_ @22
inflateReset @23
inflateSetDictionary @24
inflateSync @25
uncompress @26
zlibVersion @27
gzprintf @28
gzputc @29
gzgetc @30
gzseek @31
gzrewind @32
gztell @33
gzeof @34
gzsetparams @35
zError @36
inflateSyncPoint @37
get_crc_table @38
compress2 @39
gzputs @40
gzgets @41
inflateCopy @42
inflateBackInit_ @43
inflateBack @44
inflateBackEnd @45
compressBound @46
deflateBound @47
gzclearerr @48
gzungetc @49
zlibCompileFlags @50
deflatePrime @51
deflatePending @52
unzOpen @61
unzClose @62
unzGetGlobalInfo @63
unzGetCurrentFileInfo @64
unzGoToFirstFile @65
unzGoToNextFile @66
unzOpenCurrentFile @67
unzReadCurrentFile @68
unzOpenCurrentFile3 @69
unztell @70
unzeof @71
unzCloseCurrentFile @72
unzGetGlobalComment @73
unzStringFileNameCompare @74
unzLocateFile @75
unzGetLocalExtrafield @76
unzOpen2 @77
unzOpenCurrentFile2 @78
unzOpenCurrentFilePassword @79
zipOpen @80
zipOpenNewFileInZip @81
zipWriteInFileInZip @82
zipCloseFileInZip @83
zipClose @84
zipOpenNewFileInZip2 @86
zipCloseFileInZipRaw @87
zipOpen2 @88
zipOpenNewFileInZip3 @89
unzGetFilePos @100
unzGoToFilePos @101
fill_win32_filefunc @110
; zlibwapi v1.2.4 added:
fill_win32_filefunc64 @111
fill_win32_filefunc64A @112
fill_win32_filefunc64W @113
unzOpen64 @120
unzOpen2_64 @121
unzGetGlobalInfo64 @122
unzGetCurrentFileInfo64 @124
unzGetCurrentFileZStreamPos64 @125
unztell64 @126
unzGetFilePos64 @127
unzGoToFilePos64 @128
zipOpen64 @130
zipOpen2_64 @131
zipOpenNewFileInZip64 @132
zipOpenNewFileInZip2_64 @133
zipOpenNewFileInZip3_64 @134
zipOpenNewFileInZip4_64 @135
zipCloseFileInZipRaw64 @136
; zlib1 v1.2.4 added:
adler32_combine @140
crc32_combine @142
deflateSetHeader @144
deflateTune @145
gzbuffer @146
gzclose_r @147
gzclose_w @148
gzdirect @149
gzoffset @150
inflateGetHeader @156
inflateMark @157
inflatePrime @158
inflateReset2 @159
inflateUndermine @160
; zlib1 v1.2.6 added:
gzgetc_ @161
inflateResetKeep @163
deflateResetKeep @164
; zlib1 v1.2.7 added:
gzopen_w @165
; zlib1 v1.2.8 added:
inflateGetDictionary @166
gzvprintf @167
; zlib1 v1.2.9 added:
inflateCodesUsed @168
inflateValidate @169
uncompress2 @170
gzfread @171
gzfwrite @172
deflateGetDictionary @173
adler32_z @174
crc32_z @175
contrib/vstudio/vc9/zlib.rc
浏览文件 @
2fa463ba
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
8, 1
PRODUCTVERSION 1, 2,
8, 1
FILEVERSION 1, 2,
9, 0
PRODUCTVERSION 1, 2,
9, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
@@ -17,12 +17,12 @@ BEGIN
BEGIN
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
VALUE "FileVersion", "1.2.
8.1
\0"
VALUE "FileVersion", "1.2.
9
\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
VALUE "LegalCopyright", "(C) 1995-201
3
Jean-loup Gailly & Mark Adler\0"
VALUE "LegalCopyright", "(C) 1995-201
6
Jean-loup Gailly & Mark Adler\0"
END
END
BLOCK "VarFileInfo"
...
...
contrib/vstudio/vc9/zlibvc.def
浏览文件 @
2fa463ba
...
...
@@ -141,3 +141,13 @@ EXPORTS
; zlib1 v1.2.8 added:
inflateGetDictionary @166
gzvprintf @167
; zlib1 v1.2.9 added:
inflateCodesUsed @168
inflateValidate @169
uncompress2 @170
gzfread @171
gzfwrite @172
deflateGetDictionary @173
adler32_z @174
crc32_z @175
crc32.c
浏览文件 @
2fa463ba
/* crc32.c -- compute the CRC-32 of a data stream
* Copyright (C) 1995-2006, 2010, 2011, 2012 Mark Adler
* Copyright (C) 1995-2006, 2010, 2011, 2012
, 2016
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*
* Thanks to Rodney Brown <rbrown64@csc.com.au> for his contribution of faster
...
...
deflate.c
浏览文件 @
2fa463ba
...
...
@@ -52,7 +52,7 @@
#include "deflate.h"
const
char
deflate_copyright
[]
=
" deflate 1.2.
8.1
Copyright 1995-2016 Jean-loup Gailly and Mark Adler "
;
" deflate 1.2.
9
Copyright 1995-2016 Jean-loup Gailly and Mark Adler "
;
/*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
...
...
deflate.h
浏览文件 @
2fa463ba
/* deflate.h -- internal compression state
* Copyright (C) 1995-201
2
Jean-loup Gailly
* Copyright (C) 1995-201
6
Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
examples/gzlog.c
浏览文件 @
2fa463ba
/*
* gzlog.c
* Copyright (C) 2004, 2008, 2012 Mark Adler, all rights reserved
* Copyright (C) 2004, 2008, 2012
, 2016
Mark Adler, all rights reserved
* For conditions of distribution and use, see copyright notice in gzlog.h
* version 2.2, 14 Aug 2012
*/
...
...
gzguts.h
浏览文件 @
2fa463ba
/* gzguts.h -- zlib internal header definitions for gz* operations
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013
, 2016
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
gzlib.c
浏览文件 @
2fa463ba
/* gzlib.c -- zlib functions common to reading and writing gzip files
* Copyright (C) 2004, 2010, 2011, 2012, 2013 Mark Adler
* Copyright (C) 2004, 2010, 2011, 2012, 2013
, 2016
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
gzread.c
浏览文件 @
2fa463ba
/* gzread.c -- zlib functions for reading gzip files
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013
, 2016
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
gzwrite.c
浏览文件 @
2fa463ba
/* gzwrite.c -- zlib functions for writing gzip files
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013
, 2016
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
infback.c
浏览文件 @
2fa463ba
/* infback.c -- inflate using a call-back interface
* Copyright (C) 1995-201
1
Mark Adler
* Copyright (C) 1995-201
6
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
inffast.c
浏览文件 @
2fa463ba
/* inffast.c -- fast decoding
* Copyright (C) 1995-2008, 2010, 2013 Mark Adler
* Copyright (C) 1995-2008, 2010, 2013
, 2016
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
inflate.c
浏览文件 @
2fa463ba
/* inflate.c -- zlib decompression
* Copyright (C) 1995-201
2
Mark Adler
* Copyright (C) 1995-201
6
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
inflate.h
浏览文件 @
2fa463ba
/* inflate.h -- internal inflate state definition
* Copyright (C) 1995-20
09
Mark Adler
* Copyright (C) 1995-20
16
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
inftrees.c
浏览文件 @
2fa463ba
/* inftrees.c -- generate Huffman trees for efficient decoding
* Copyright (C) 1995-201
3
Mark Adler
* Copyright (C) 1995-201
6
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
@@ -9,7 +9,7 @@
#define MAXBITS 15
const
char
inflate_copyright
[]
=
" inflate 1.2.
8.1 Copyright 1995-2013
Mark Adler "
;
" inflate 1.2.
9 Copyright 1995-2016
Mark Adler "
;
/*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
...
...
@@ -62,7 +62,7 @@ unsigned short FAR *work;
35
,
43
,
51
,
59
,
67
,
83
,
99
,
115
,
131
,
163
,
195
,
227
,
258
,
0
,
0
};
static
const
unsigned
short
lext
[
31
]
=
{
/* Length codes 257..285 extra */
16
,
16
,
16
,
16
,
16
,
16
,
16
,
16
,
17
,
17
,
17
,
17
,
18
,
18
,
18
,
18
,
19
,
19
,
19
,
19
,
20
,
20
,
20
,
20
,
21
,
21
,
21
,
21
,
16
,
203
,
198
};
19
,
19
,
19
,
19
,
20
,
20
,
20
,
20
,
21
,
21
,
21
,
21
,
16
,
192
,
79
};
static
const
unsigned
short
dbase
[
32
]
=
{
/* Distance codes 0..29 base */
1
,
2
,
3
,
4
,
5
,
7
,
9
,
13
,
17
,
25
,
33
,
49
,
65
,
97
,
129
,
193
,
257
,
385
,
513
,
769
,
1025
,
1537
,
2049
,
3073
,
4097
,
6145
,
...
...
os400/README400
浏览文件 @
2fa463ba
ZLIB version 1.2.
8
for OS/400 installation instructions
ZLIB version 1.2.
9
for OS/400 installation instructions
1) Download and unpack the zlib tarball to some IFS directory.
(i.e.: /path/to/the/zlib/ifs/source/directory)
...
...
os400/bndsrc
浏览文件 @
2fa463ba
...
...
@@ -46,6 +46,7 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
EXPORT SYMBOL("uncompress")
EXPORT SYMBOL("zlibVersion")
EXPORT SYMBOL("zError")
EXPORT SYMBOL("z_errmsg")
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
/* Version 1.2.1 additional entry points. */
...
...
@@ -53,6 +54,7 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
EXPORT SYMBOL("compressBound")
EXPORT SYMBOL("deflateBound")
EXPORT SYMBOL("deflatePending")
EXPORT SYMBOL("gzungetc")
EXPORT SYMBOL("gzclearerr")
EXPORT SYMBOL("inflateBack")
...
...
@@ -62,21 +64,25 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
EXPORT SYMBOL("zlibCompileFlags")
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
/* Version 1.2.
5
additional entry points. */
/* Version 1.2.
4
additional entry points. */
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
EXPORT SYMBOL("adler32_combine")
EXPORT SYMBOL("adler32_combine64")
EXPORT SYMBOL("crc32_combine")
EXPORT SYMBOL("crc32_combine64")
EXPORT SYMBOL("deflateSetHeader")
EXPORT SYMBOL("deflateTune")
EXPORT SYMBOL("gzbuffer")
EXPORT SYMBOL("gzclose_r")
EXPORT SYMBOL("gzclose_w")
EXPORT SYMBOL("gzdirect")
EXPORT SYMBOL("gzoffset")
EXPORT SYMBOL("gzoffset64")
EXPORT SYMBOL("gzopen64")
EXPORT SYMBOL("gzseek64")
EXPORT SYMBOL("gztell64")
EXPORT SYMBOL("gzclose_r")
EXPORT SYMBOL("gzclose_w")
EXPORT SYMBOL("inflateGetHeader")
EXPORT SYMBOL("inflateMark")
EXPORT SYMBOL("inflatePrime")
EXPORT SYMBOL("inflateReset2")
...
...
@@ -87,7 +93,6 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
EXPORT SYMBOL("deflateResetKeep")
EXPORT SYMBOL("deflatePending")
EXPORT SYMBOL("gzgetc_")
EXPORT SYMBOL("inflateResetKeep")
...
...
@@ -95,6 +100,20 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
/* Version 1.2.8 additional entry points. */
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
EXPORT SYMBOL("gzvprintf")
EXPORT SYMBOL("inflateGetDictionary")
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
/* Version 1.2.9 additional entry points. */
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
EXPORT SYMBOL("adler32_z")
EXPORT SYMBOL("crc32_z")
EXPORT SYMBOL("deflateGetDictionary")
EXPORT SYMBOL("gzfread")
EXPORT SYMBOL("gzfwrite")
EXPORT SYMBOL("inflateCodesUsed")
EXPORT SYMBOL("inflateValidate")
EXPORT SYMBOL("uncompress2")
ENDPGMEXP
os400/zlib.inc
浏览文件 @
2fa463ba
*
ZLIB
.
INC
-
Interface
to
the
general
purpose
compression
library
*
*
ILE
RPG400
version
by
Patrick
Monnerat
,
DATASPHERE
.
*
Version
1.2.
8
*
Version
1.2.
9
*
*
*
WARNING
:
...
...
@@ -22,12 +22,12 @@
*
*
Versioning
information
.
*
D
ZLIB_VERSION
C
'1.2.
8
'
D
ZLIB_VERNUM
C
X
'12
8
0'
D
ZLIB_VERSION
C
'1.2.
9
'
D
ZLIB_VERNUM
C
X
'12
9
0'
D
ZLIB_VER_MAJOR
C
1
D
ZLIB_VER_MINOR
C
2
D
ZLIB_VER_REVISION
...
D
C
8
D
C
9
D
ZLIB_VER_SUBREVISION
...
D
C
0
*
...
...
@@ -50,7 +50,7 @@
D
Z_DATA_ERROR
C
-
3
D
Z_MEM_ERROR
C
-
4
D
Z_BUF_ERROR
C
-
5
D
Z_VERSION_ERROR
C
-
6
D
Z_VERSION_ERROR
C
-
6
*
D
Z_NO_COMPRESSION
...
D
C
0
...
...
@@ -80,6 +80,7 @@
*
D
z_streamp
S
*
Stream
struct
ptr
D
gzFile
S
*
File
pointer
D
gz_headerp
S
*
D
z_off_t
S
10
i
0
Stream
offsets
D
z_off64_t
S
20
i
0
Stream
offsets
*
...
...
@@ -132,6 +133,12 @@
D
source
65535
const
options
(
*
varsize
)
Source
buffer
D
sourceLen
10
U
0
value
Source
length
*
D
uncompress2
PR
10
I
0
extproc
(
'uncompress2'
)
D
dest
65535
options
(
*
varsize
)
Destination
buffer
D
destLen
10
U
0
Destination
length
D
source
65535
const
options
(
*
varsize
)
Source
buffer
D
sourceLen
10
U
0
Source
length
*
/
if
not
defined
(
LARGE_FILES
)
D
gzopen
PR
extproc
(
'gzopen'
)
D
like
(
gzFile
)
...
...
@@ -168,11 +175,23 @@
D
buf
65535
options
(
*
varsize
)
Buffer
D
len
10
u
0
value
Buffer
length
*
D
gzfread
PR
20
I
0
extproc
(
'gzfread'
)
D
buf
65535
options
(
*
varsize
)
Buffer
D
size
20
u
0
value
Buffer
length
D
nitems
20
u
0
value
Buffer
length
D
file
value
like
(
gzFile
)
File
pointer
*
D
gzwrite
PR
10
I
0
extproc
(
'gzwrite'
)
D
file
value
like
(
gzFile
)
File
pointer
D
buf
65535
const
options
(
*
varsize
)
Buffer
D
len
10
u
0
value
Buffer
length
*
D
gzfwrite
PR
20
I
0
extproc
(
'gzfwrite'
)
D
buf
65535
options
(
*
varsize
)
Buffer
D
size
20
u
0
value
Buffer
length
D
nitems
20
u
0
value
Buffer
length
D
file
value
like
(
gzFile
)
File
pointer
*
D
gzputs
PR
10
I
0
extproc
(
'gzputs'
)
D
file
value
like
(
gzFile
)
File
pointer
D
s
*
value
options
(
*
string
)
String
to
output
...
...
@@ -252,6 +271,9 @@
/
endif
*
D
gzeof
PR
10
i
0
extproc
(
'gzeof'
)
D
file
value
like
(
gzFile
)
File
pointer
*
D
gzdirect
PR
10
i
0
extproc
(
'gzdirect'
)
D
file
value
like
(
gzFile
)
File
pointer
*
D
gzclose_r
PR
10
i
0
extproc
(
'gzclose_r'
)
...
...
@@ -311,7 +333,7 @@
D
method
10
I
0
value
Compression
method
D
windowBits
10
I
0
value
log2
(
window
size
)
D
memLevel
10
I
0
value
Mem
/
cmpress
tradeoff
D
strategy
10
I
0
value
Compression
stategy
D
strategy
10
I
0
value
Compression
st
r
ategy
D
version
*
value
options
(
*
string
)
Version
string
D
stream_size
10
i
0
value
Stream
struct
.
size
*
...
...
@@ -331,7 +353,14 @@
D
deflateParams
PR
10
I
0
extproc
(
'deflateParams'
)
Change
level
&
strat
D
strm
like
(
z_stream
)
Compression
stream
D
level
10
I
0
value
Compression
level
D
strategy
10
I
0
value
Compression
stategy
D
strategy
10
I
0
value
Compression
strategy
*
D
deflateTune
PR
10
I
0
extproc
(
'deflateTune'
)
D
strm
like
(
z_stream
)
Compression
stream
D
good
10
I
0
value
D
lazy
10
I
0
value
D
nice
10
I
0
value
D
chain
10
I
0
value
*
D
deflateBound
PR
10
U
0
extproc
(
'deflateBound'
)
Change
level
&
strat
D
strm
like
(
z_stream
)
Compression
stream
...
...
@@ -363,6 +392,12 @@
D
PR
10
I
0
extproc
(
'inflateGetDictionary'
)
Get
dictionary
D
strm
like
(
z_stream
)
Expansion
stream
D
dictionary
65535
options
(
*
varsize
)
Dictionary
bytes
D
dictLength
10
U
0
Dictionary
length
*
D
deflateGetDictionary
...
D
PR
10
I
0
extproc
(
'deflateGetDictionary'
)
Get
dictionary
D
strm
like
(
z_stream
)
Expansion
stream
D
dictionary
65535
options
(
*
varsize
)
Dictionary
bytes
D
dictLength
10
U
0
Dictionary
length
*
D
inflateSync
PR
10
I
0
extproc
(
'inflateSync'
)
Sync
.
expansion
...
...
@@ -387,6 +422,25 @@
D
inflateMark
PR
10
I
0
extproc
(
'inflateMark'
)
Get
inflate
info
D
strm
like
(
z_stream
)
Expansion
stream
*
D
inflateCodesUsed
...
PR
20
U
0
extproc
(
'inflateCodesUsed'
)
D
strm
like
(
z_stream
)
Expansion
stream
*
D
inflateValidate
...
PR
20
U
0
extproc
(
'inflateValidate'
)
D
strm
like
(
z_stream
)
Expansion
stream
D
check
10
I
0
value
*
D
inflateGetHeader
...
PR
10
U
0
extproc
(
'inflateGetHeader'
)
D
strm
like
(
z_stream
)
Expansion
stream
D
head
like
(
gz_headerp
)
*
D
deflateSetHeader
...
PR
10
U
0
extproc
(
'deflateSetHeader'
)
D
strm
like
(
z_stream
)
Expansion
stream
D
head
like
(
gz_headerp
)
*
D
inflateBackInit
...
D
PR
10
I
0
extproc
(
'inflateBackInit_'
)
D
strm
like
(
z_stream
)
Expansion
stream
...
...
@@ -417,11 +471,33 @@
D
buf
65535
const
options
(
*
varsize
)
Bytes
to
accumulate
D
len
10
U
0
value
Buffer
length
*
D
adler32_combine
...
PR
10
U
0
extproc
(
'adler32_combine'
)
New
checksum
D
adler1
10
U
0
value
Old
checksum
D
adler2
10
U
0
value
Old
checksum
D
len2
20
U
0
value
Buffer
length
*
D
adler32_z
PR
10
U
0
extproc
(
'adler32_z'
)
New
checksum
D
adler
10
U
0
value
Old
checksum
D
buf
65535
const
options
(
*
varsize
)
Bytes
to
accumulate
D
len
20
U
0
value
Buffer
length
*
D
crc32
PR
10
U
0
extproc
(
'crc32'
)
New
checksum
D
crc
10
U
0
value
Old
checksum
D
buf
65535
const
options
(
*
varsize
)
Bytes
to
accumulate
D
len
10
U
0
value
Buffer
length
*
D
crc32_combine
...
PR
10
U
0
extproc
(
'crc32_combine'
)
New
checksum
D
crc1
10
U
0
value
Old
checksum
D
crc2
10
U
0
value
Old
checksum
D
len2
20
U
0
value
Buffer
length
*
D
crc32_z
PR
10
U
0
extproc
(
'crc32_z'
)
New
checksum
D
crc
10
U
0
value
Old
checksum
D
buf
65535
const
options
(
*
varsize
)
Bytes
to
accumulate
D
len
20
U
0
value
Buffer
length
*
**************************************************************************
*
Miscellaneous
function
prototypes
**************************************************************************
...
...
qnx/package.qpg
浏览文件 @
2fa463ba
...
...
@@ -25,10 +25,10 @@
<QPG:Files>
<QPG:Add file="../zconf.h" install="/opt/include/" user="root:sys" permission="644"/>
<QPG:Add file="../zlib.h" install="/opt/include/" user="root:sys" permission="644"/>
<QPG:Add file="../libz.so.1.2.
8.1
" install="/opt/lib/" user="root:bin" permission="644"/>
<QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.
8.1
"/>
<QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.
8.1
"/>
<QPG:Add file="../libz.so.1.2.
8.1
" install="/opt/lib/" component="slib"/>
<QPG:Add file="../libz.so.1.2.
9
" install="/opt/lib/" user="root:bin" permission="644"/>
<QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.
9
"/>
<QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.
9
"/>
<QPG:Add file="../libz.so.1.2.
9
" install="/opt/lib/" component="slib"/>
</QPG:Files>
<QPG:PackageFilter>
...
...
@@ -63,7 +63,7 @@
</QPM:ProductDescription>
<QPM:ReleaseDescription>
<QPM:ReleaseVersion>1.2.
8.1
</QPM:ReleaseVersion>
<QPM:ReleaseVersion>1.2.
9
</QPM:ReleaseVersion>
<QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency>
<QPM:ReleaseStability>Stable</QPM:ReleaseStability>
<QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor>
...
...
test/example.c
浏览文件 @
2fa463ba
/* example.c -- usage example of the zlib compression library
* Copyright (C) 1995-2006, 2011
Jean-loup Gailly.
* Copyright (C) 1995-2006, 2011
, 2016 Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
test/infcover.c
浏览文件 @
2fa463ba
/* infcover.c -- test zlib's inflate routines with full code coverage
* Copyright (C) 2011 Mark Adler
* Copyright (C) 2011
, 2016
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
test/minigzip.c
浏览文件 @
2fa463ba
/* minigzip.c -- simulate gzip using the zlib compression library
* Copyright (C) 1995-2006, 2010, 2011
Jean-loup Gailly.
* Copyright (C) 1995-2006, 2010, 2011
, 2016 Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
treebuild.xml
浏览文件 @
2fa463ba
<?xml version="1.0" ?>
<package
name=
"zlib"
version=
"1.2.
8.1
"
>
<library
name=
"zlib"
dlversion=
"1.2.
8.1
"
dlname=
"z"
>
<package
name=
"zlib"
version=
"1.2.
9
"
>
<library
name=
"zlib"
dlversion=
"1.2.
9
"
dlname=
"z"
>
<property
name=
"description"
>
zip compression library
</property>
<property
name=
"include-target-dir"
value=
"$(@PACKAGE/install-includedir)"
/>
...
...
trees.c
浏览文件 @
2fa463ba
/* trees.c -- output deflated data using Huffman coding
* Copyright (C) 1995-201
2
Jean-loup Gailly
* Copyright (C) 1995-201
6
Jean-loup Gailly
* detect_data_type() function provided freely by Cosmin Truta, 2006
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
win32/README-WIN32.txt
浏览文件 @
2fa463ba
ZLIB DATA COMPRESSION LIBRARY
zlib 1.2.
8.1
is a general purpose data compression library. All the code is
zlib 1.2.
9
is a general purpose data compression library. All the code is
thread safe. The data format used by the zlib library is described by RFCs
(Request for Comments) 1950 to 1952 in the files
http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
...
...
@@ -22,7 +22,7 @@ before asking for help.
Manifest:
The package zlib-1.2.
8.1
-win32-x86.zip will contain the following files:
The package zlib-1.2.
9
-win32-x86.zip will contain the following files:
README-WIN32.txt This document
ChangeLog Changes since previous zlib packages
...
...
win32/zlib.def
浏览文件 @
2fa463ba
; zlib data compression library
EXPORTS
; basic functions
zlibVersion
deflate
deflateEnd
inflate
inflateEnd
; advanced functions
deflateSetDictionary
deflateCopy
deflateReset
deflateParams
deflateTune
deflateBound
deflatePending
deflatePrime
deflateSetHeader
inflateSetDictionary
inflateGetDictionary
inflateSync
inflateCopy
inflateReset
inflateReset2
inflatePrime
inflateMark
inflateGetHeader
inflateBack
inflateBackEnd
zlibCompileFlags
; utility functions
compress
compress2
compressBound
uncompress
gzopen
gzdopen
gzbuffer
gzsetparams
gzread
gzwrite
gzprintf
gzvprintf
gzputs
gzgets
gzputc
gzgetc
gzungetc
gzflush
gzseek
gzrewind
gztell
gzoffset
gzeof
gzdirect
gzclose
gzclose_r
gzclose_w
gzerror
gzclearerr
; large file functions
gzopen64
gzseek64
gztell64
gzoffset64
adler32_combine64
crc32_combine64
; checksum functions
adler32
crc32
adler32_combine
crc32_combine
; various hacks, don't look :)
deflateInit_
deflateInit2_
inflateInit_
inflateInit2_
inflateBackInit_
gzgetc_
zError
inflateSyncPoint
get_crc_table
inflateUndermine
inflateResetKeep
deflateResetKeep
gzopen_w
; zlib data compression library
EXPORTS
; basic functions
zlibVersion
deflate
deflateEnd
inflate
inflateEnd
; advanced functions
deflateSetDictionary
deflateGetDictionary
deflateCopy
deflateReset
deflateParams
deflateTune
deflateBound
deflatePending
deflatePrime
deflateSetHeader
inflateSetDictionary
inflateGetDictionary
inflateSync
inflateCopy
inflateReset
inflateReset2
inflatePrime
inflateMark
inflateGetHeader
inflateBack
inflateBackEnd
zlibCompileFlags
; utility functions
compress
compress2
compressBound
uncompress
uncompress2
gzopen
gzdopen
gzbuffer
gzsetparams
gzread
gzfread
gzwrite
gzfwrite
gzprintf
gzvprintf
gzputs
gzgets
gzputc
gzgetc
gzungetc
gzflush
gzseek
gzrewind
gztell
gzoffset
gzeof
gzdirect
gzclose
gzclose_r
gzclose_w
gzerror
gzclearerr
; large file functions
gzopen64
gzseek64
gztell64
gzoffset64
adler32_combine64
crc32_combine64
; checksum functions
adler32
adler32_z
crc32
crc32_z
adler32_combine
crc32_combine
; various hacks, don't look :)
deflateInit_
deflateInit2_
inflateInit_
inflateInit2_
inflateBackInit_
gzgetc_
zError
inflateSyncPoint
get_crc_table
inflateUndermine
inflateValidate
inflateCodesUsed
inflateResetKeep
deflateResetKeep
gzopen_w
zconf.h
浏览文件 @
2fa463ba
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-201
3 Jean-loup Gailly.
* Copyright (C) 1995-201
6 Jean-loup Gailly, Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
@@ -29,6 +29,7 @@
# define adler32 z_adler32
# define adler32_combine z_adler32_combine
# define adler32_combine64 z_adler32_combine64
# define adler32_z z_adler32_z
# ifndef Z_SOLO
# define compress z_compress
# define compress2 z_compress2
...
...
@@ -37,10 +38,12 @@
# define crc32 z_crc32
# define crc32_combine z_crc32_combine
# define crc32_combine64 z_crc32_combine64
# define crc32_z z_crc32_z
# define deflate z_deflate
# define deflateBound z_deflateBound
# define deflateCopy z_deflateCopy
# define deflateEnd z_deflateEnd
# define deflateGetDictionary z_deflateGetDictionary
# define deflateInit z_deflateInit
# define deflateInit2 z_deflateInit2
# define deflateInit2_ z_deflateInit2_
...
...
@@ -69,6 +72,8 @@
# define gzeof z_gzeof
# define gzerror z_gzerror
# define gzflush z_gzflush
# define gzfread z_gzfread
# define gzfwrite z_gzfwrite
# define gzgetc z_gzgetc
# define gzgetc_ z_gzgetc_
# define gzgets z_gzgets
...
...
@@ -80,7 +85,6 @@
# define gzopen_w z_gzopen_w
# endif
# define gzprintf z_gzprintf
# define gzvprintf z_gzvprintf
# define gzputc z_gzputc
# define gzputs z_gzputs
# define gzread z_gzread
...
...
@@ -91,6 +95,7 @@
# define gztell z_gztell
# define gztell64 z_gztell64
# define gzungetc z_gzungetc
# define gzvprintf z_gzvprintf
# define gzwrite z_gzwrite
# endif
# define inflate z_inflate
...
...
@@ -98,8 +103,10 @@
# define inflateBackEnd z_inflateBackEnd
# define inflateBackInit z_inflateBackInit
# define inflateBackInit_ z_inflateBackInit_
# define inflateCodesUsed z_inflateCodesUsed
# define inflateCopy z_inflateCopy
# define inflateEnd z_inflateEnd
# define inflateGetDictionary z_inflateGetDictionary
# define inflateGetHeader z_inflateGetHeader
# define inflateInit z_inflateInit
# define inflateInit2 z_inflateInit2
...
...
@@ -109,17 +116,18 @@
# define inflatePrime z_inflatePrime
# define inflateReset z_inflateReset
# define inflateReset2 z_inflateReset2
# define inflateResetKeep z_inflateResetKeep
# define inflateSetDictionary z_inflateSetDictionary
# define inflateGetDictionary z_inflateGetDictionary
# define inflateSync z_inflateSync
# define inflateSyncPoint z_inflateSyncPoint
# define inflateUndermine z_inflateUndermine
# define inflate
ResetKeep z_inflateResetKeep
# define inflate
Validate z_inflateValidate
# define inflate_copyright z_inflate_copyright
# define inflate_fast z_inflate_fast
# define inflate_table z_inflate_table
# ifndef Z_SOLO
# define uncompress z_uncompress
# define uncompress2 z_uncompress2
# endif
# define zError z_zError
# ifndef Z_SOLO
...
...
zconf.h.cmakein
浏览文件 @
2fa463ba
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-201
3 Jean-loup Gailly.
* Copyright (C) 1995-201
6 Jean-loup Gailly, Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
@@ -31,6 +31,7 @@
# define adler32 z_adler32
# define adler32_combine z_adler32_combine
# define adler32_combine64 z_adler32_combine64
# define adler32_z z_adler32_z
# ifndef Z_SOLO
# define compress z_compress
# define compress2 z_compress2
...
...
@@ -39,10 +40,12 @@
# define crc32 z_crc32
# define crc32_combine z_crc32_combine
# define crc32_combine64 z_crc32_combine64
# define crc32_z z_crc32_z
# define deflate z_deflate
# define deflateBound z_deflateBound
# define deflateCopy z_deflateCopy
# define deflateEnd z_deflateEnd
# define deflateGetDictionary z_deflateGetDictionary
# define deflateInit z_deflateInit
# define deflateInit2 z_deflateInit2
# define deflateInit2_ z_deflateInit2_
...
...
@@ -71,6 +74,8 @@
# define gzeof z_gzeof
# define gzerror z_gzerror
# define gzflush z_gzflush
# define gzfread z_gzfread
# define gzfwrite z_gzfwrite
# define gzgetc z_gzgetc
# define gzgetc_ z_gzgetc_
# define gzgets z_gzgets
...
...
@@ -82,7 +87,6 @@
# define gzopen_w z_gzopen_w
# endif
# define gzprintf z_gzprintf
# define gzvprintf z_gzvprintf
# define gzputc z_gzputc
# define gzputs z_gzputs
# define gzread z_gzread
...
...
@@ -93,6 +97,7 @@
# define gztell z_gztell
# define gztell64 z_gztell64
# define gzungetc z_gzungetc
# define gzvprintf z_gzvprintf
# define gzwrite z_gzwrite
# endif
# define inflate z_inflate
...
...
@@ -100,8 +105,10 @@
# define inflateBackEnd z_inflateBackEnd
# define inflateBackInit z_inflateBackInit
# define inflateBackInit_ z_inflateBackInit_
# define inflateCodesUsed z_inflateCodesUsed
# define inflateCopy z_inflateCopy
# define inflateEnd z_inflateEnd
# define inflateGetDictionary z_inflateGetDictionary
# define inflateGetHeader z_inflateGetHeader
# define inflateInit z_inflateInit
# define inflateInit2 z_inflateInit2
...
...
@@ -111,17 +118,18 @@
# define inflatePrime z_inflatePrime
# define inflateReset z_inflateReset
# define inflateReset2 z_inflateReset2
# define inflateResetKeep z_inflateResetKeep
# define inflateSetDictionary z_inflateSetDictionary
# define inflateGetDictionary z_inflateGetDictionary
# define inflateSync z_inflateSync
# define inflateSyncPoint z_inflateSyncPoint
# define inflateUndermine z_inflateUndermine
# define inflate
ResetKeep z_inflateResetKeep
# define inflate
Validate z_inflateValidate
# define inflate_copyright z_inflate_copyright
# define inflate_fast z_inflate_fast
# define inflate_table z_inflate_table
# ifndef Z_SOLO
# define uncompress z_uncompress
# define uncompress2 z_uncompress2
# endif
# define zError z_zError
# ifndef Z_SOLO
...
...
zconf.h.in
浏览文件 @
2fa463ba
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-201
3 Jean-loup Gailly.
* Copyright (C) 1995-201
6 Jean-loup Gailly, Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
@@ -29,6 +29,7 @@
# define adler32 z_adler32
# define adler32_combine z_adler32_combine
# define adler32_combine64 z_adler32_combine64
# define adler32_z z_adler32_z
# ifndef Z_SOLO
# define compress z_compress
# define compress2 z_compress2
...
...
@@ -37,10 +38,12 @@
# define crc32 z_crc32
# define crc32_combine z_crc32_combine
# define crc32_combine64 z_crc32_combine64
# define crc32_z z_crc32_z
# define deflate z_deflate
# define deflateBound z_deflateBound
# define deflateCopy z_deflateCopy
# define deflateEnd z_deflateEnd
# define deflateGetDictionary z_deflateGetDictionary
# define deflateInit z_deflateInit
# define deflateInit2 z_deflateInit2
# define deflateInit2_ z_deflateInit2_
...
...
@@ -69,6 +72,8 @@
# define gzeof z_gzeof
# define gzerror z_gzerror
# define gzflush z_gzflush
# define gzfread z_gzfread
# define gzfwrite z_gzfwrite
# define gzgetc z_gzgetc
# define gzgetc_ z_gzgetc_
# define gzgets z_gzgets
...
...
@@ -80,7 +85,6 @@
# define gzopen_w z_gzopen_w
# endif
# define gzprintf z_gzprintf
# define gzvprintf z_gzvprintf
# define gzputc z_gzputc
# define gzputs z_gzputs
# define gzread z_gzread
...
...
@@ -91,6 +95,7 @@
# define gztell z_gztell
# define gztell64 z_gztell64
# define gzungetc z_gzungetc
# define gzvprintf z_gzvprintf
# define gzwrite z_gzwrite
# endif
# define inflate z_inflate
...
...
@@ -98,8 +103,10 @@
# define inflateBackEnd z_inflateBackEnd
# define inflateBackInit z_inflateBackInit
# define inflateBackInit_ z_inflateBackInit_
# define inflateCodesUsed z_inflateCodesUsed
# define inflateCopy z_inflateCopy
# define inflateEnd z_inflateEnd
# define inflateGetDictionary z_inflateGetDictionary
# define inflateGetHeader z_inflateGetHeader
# define inflateInit z_inflateInit
# define inflateInit2 z_inflateInit2
...
...
@@ -109,17 +116,18 @@
# define inflatePrime z_inflatePrime
# define inflateReset z_inflateReset
# define inflateReset2 z_inflateReset2
# define inflateResetKeep z_inflateResetKeep
# define inflateSetDictionary z_inflateSetDictionary
# define inflateGetDictionary z_inflateGetDictionary
# define inflateSync z_inflateSync
# define inflateSyncPoint z_inflateSyncPoint
# define inflateUndermine z_inflateUndermine
# define inflate
ResetKeep z_inflateResetKeep
# define inflate
Validate z_inflateValidate
# define inflate_copyright z_inflate_copyright
# define inflate_fast z_inflate_fast
# define inflate_table z_inflate_table
# ifndef Z_SOLO
# define uncompress z_uncompress
# define uncompress2 z_uncompress2
# endif
# define zError z_zError
# ifndef Z_SOLO
...
...
zlib.3
浏览文件 @
2fa463ba
.TH ZLIB 3 "
7 July 2015
"
.TH ZLIB 3 "
31 Dec 2016
"
.SH NAME
zlib \- compression/decompression library
.SH SYNOPSIS
...
...
@@ -48,32 +48,10 @@ Changes to this version are documented in the file
that accompanies the source.
.LP
.I zlib
is available in Java using the java.util.zip package:
.IP
http://java.sun.com/developer/technicalArticles/Programming/compression/
.LP
A Perl interface to
.IR zlib ,
written by Paul Marquess (pmqs@cpan.org),
is available at CPAN (Comprehensive Perl Archive Network) sites,
including:
.IP
http://search.cpan.org/~pmqs/IO-Compress-Zlib/
.LP
A Python interface to
.IR zlib ,
written by A.M. Kuchling (amk@magnet.com),
is available in Python 1.5 and later versions:
.IP
http://docs.python.org/library/zlib.html
is built in to many languages and operating systems, including but not limited to
Java, Python, .NET, PHP, Perl, Ruby, Swift, and Go.
.LP
.I zlib
is built into
.IR tcl:
.IP
http://wiki.tcl.tk/4610
.LP
An experimental package to read and write files in .zip format,
An experimental package to read and write files in the .zip format,
written on top of
.I zlib
by Gilles Vollant (info@winimage.com),
...
...
@@ -92,7 +70,9 @@ web site can be found at:
.IP
http://zlib.net/
.LP
The data format used by the zlib library is described by RFC
The data format used by the
.I zlib
library is described by RFC
(Request for Comments) 1950 to 1952 in the files:
.IP
http://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format)
...
...
@@ -125,9 +105,9 @@ before asking for help.
Send questions and/or comments to zlib@gzip.org,
or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
.SH AUTHORS AND LICENSE
Version 1.2.
8.1
Version 1.2.
9
.LP
Copyright (C) 1995-201
5
Jean-loup Gailly and Mark Adler
Copyright (C) 1995-201
6
Jean-loup Gailly and Mark Adler
.LP
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
...
...
zlib.3.pdf
浏览文件 @
2fa463ba
无法预览此类型文件
zlib.h
浏览文件 @
2fa463ba
/* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.2.
8.1, May xxth, 2013
version 1.2.
9, December 31st, 2016
Copyright (C) 1995-201
3
Jean-loup Gailly and Mark Adler
Copyright (C) 1995-201
6
Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
...
...
@@ -37,12 +37,12 @@
extern
"C"
{
#endif
#define ZLIB_VERSION "1.2.
8.1-motley
"
#define ZLIB_VERNUM 0x12
81
#define ZLIB_VERSION "1.2.
9
"
#define ZLIB_VERNUM 0x12
90
#define ZLIB_VER_MAJOR 1
#define ZLIB_VER_MINOR 2
#define ZLIB_VER_REVISION
8
#define ZLIB_VER_SUBREVISION
1
#define ZLIB_VER_REVISION
9
#define ZLIB_VER_SUBREVISION
0
/*
The 'zlib' compression library provides in-memory compression and
...
...
zlib.map
浏览文件 @
2fa463ba
ZLIB_1.2.0 {
global:
compressBound;
deflateBound;
inflateBack;
inflateBackEnd;
inflateBackInit_;
inflateCopy;
local:
deflate_copyright;
inflate_copyright;
inflate_fast;
inflate_table;
zcalloc;
zcfree;
z_errmsg;
gz_error;
gz_intmax;
_*;
};
ZLIB_1.2.0.2 {
gzclearerr;
gzungetc;
zlibCompileFlags;
} ZLIB_1.2.0;
ZLIB_1.2.0.8 {
deflatePrime;
} ZLIB_1.2.0.2;
ZLIB_1.2.2 {
adler32_combine;
crc32_combine;
deflateSetHeader;
inflateGetHeader;
} ZLIB_1.2.0.8;
ZLIB_1.2.2.3 {
deflateTune;
gzdirect;
} ZLIB_1.2.2;
ZLIB_1.2.2.4 {
inflatePrime;
} ZLIB_1.2.2.3;
ZLIB_1.2.3.3 {
adler32_combine64;
crc32_combine64;
gzopen64;
gzseek64;
gztell64;
inflateUndermine;
} ZLIB_1.2.2.4;
ZLIB_1.2.3.4 {
inflateReset2;
inflateMark;
} ZLIB_1.2.3.3;
ZLIB_1.2.3.5 {
gzbuffer;
gzoffset;
gzoffset64;
gzclose_r;
gzclose_w;
} ZLIB_1.2.3.4;
ZLIB_1.2.5.1 {
deflatePending;
} ZLIB_1.2.3.5;
ZLIB_1.2.5.2 {
deflateResetKeep;
gzgetc_;
inflateResetKeep;
} ZLIB_1.2.5.1;
ZLIB_1.2.7.1 {
inflateGetDictionary;
gzvprintf;
} ZLIB_1.2.5.2;
ZLIB_1.2.0 {
global:
compressBound;
deflateBound;
inflateBack;
inflateBackEnd;
inflateBackInit_;
inflateCopy;
local:
deflate_copyright;
inflate_copyright;
inflate_fast;
inflate_table;
zcalloc;
zcfree;
z_errmsg;
gz_error;
gz_intmax;
_*;
};
ZLIB_1.2.0.2 {
gzclearerr;
gzungetc;
zlibCompileFlags;
} ZLIB_1.2.0;
ZLIB_1.2.0.8 {
deflatePrime;
} ZLIB_1.2.0.2;
ZLIB_1.2.2 {
adler32_combine;
crc32_combine;
deflateSetHeader;
inflateGetHeader;
} ZLIB_1.2.0.8;
ZLIB_1.2.2.3 {
deflateTune;
gzdirect;
} ZLIB_1.2.2;
ZLIB_1.2.2.4 {
inflatePrime;
} ZLIB_1.2.2.3;
ZLIB_1.2.3.3 {
adler32_combine64;
crc32_combine64;
gzopen64;
gzseek64;
gztell64;
inflateUndermine;
} ZLIB_1.2.2.4;
ZLIB_1.2.3.4 {
inflateReset2;
inflateMark;
} ZLIB_1.2.3.3;
ZLIB_1.2.3.5 {
gzbuffer;
gzoffset;
gzoffset64;
gzclose_r;
gzclose_w;
} ZLIB_1.2.3.4;
ZLIB_1.2.5.1 {
deflatePending;
} ZLIB_1.2.3.5;
ZLIB_1.2.5.2 {
deflateResetKeep;
gzgetc_;
inflateResetKeep;
} ZLIB_1.2.5.1;
ZLIB_1.2.7.1 {
inflateGetDictionary;
gzvprintf;
} ZLIB_1.2.5.2;
ZLIB_1.2.9 {
inflateCodesUsed;
inflateValidate;
uncompress2;
gzfread;
gzfwrite;
deflateGetDictionary;
adler32_z;
crc32_z;
} ZLIB_1.2.7.1;
zutil.c
浏览文件 @
2fa463ba
/* zutil.c -- target dependent utility functions for the compression library
* Copyright (C) 1995-2005, 2010, 2011, 2012
Jean-loup Gailly.
* Copyright (C) 1995-2005, 2010, 2011, 2012
, 2016 Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
zutil.h
浏览文件 @
2fa463ba
/* zutil.h -- internal interface and configuration of the compression library
* Copyright (C) 1995-201
3 Jean-loup Gailly.
* Copyright (C) 1995-201
6 Jean-loup Gailly, Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录