📄 zlibdll.txt
字号:
! int EXPORT inflateReset(z)
z_streamp z;
{
uLong c;
***************
*** 64,70 ****
}
! int inflateEnd(z)
z_streamp z;
{
uLong c;
--- 64,70 ----
}
! int EXPORT inflateEnd(z)
z_streamp z;
{
uLong c;
***************
*** 80,86 ****
}
! int inflateInit2_(z, w, version, stream_size)
z_streamp z;
int w;
const char *version;
--- 80,86 ----
}
! int EXPORT inflateInit2_(z, w, version, stream_size)
z_streamp z;
int w;
const char *version;
***************
*** 137,143 ****
}
! int inflateInit_(z, version, stream_size)
z_streamp z;
const char *version;
int stream_size;
--- 137,143 ----
}
! int EXPORT inflateInit_(z, version, stream_size)
z_streamp z;
const char *version;
int stream_size;
***************
*** 149,155 ****
#define NEEDBYTE {if(z->avail_in==0)return r;r=Z_OK;}
#define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++)
! int inflate(z, f)
z_streamp z;
int f;
{
--- 149,155 ----
#define NEEDBYTE {if(z->avail_in==0)return r;r=Z_OK;}
#define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++)
! int EXPORT inflate(z, f)
z_streamp z;
int f;
{
***************
*** 271,277 ****
}
! int inflateSetDictionary(z, dictionary, dictLength)
z_streamp z;
const Bytef *dictionary;
uInt dictLength;
--- 271,277 ----
}
! int EXPORT inflateSetDictionary(z, dictionary, dictLength)
z_streamp z;
const Bytef *dictionary;
uInt dictLength;
***************
*** 295,301 ****
}
! int inflateSync(z)
z_streamp z;
{
uInt n; /* number of bytes to look at */
--- 295,301 ----
}
! int EXPORT inflateSync(z)
z_streamp z;
{
uInt n; /* number of bytes to look at */
Only in ../zlib_bcc: makefile.unx
diff -c ./uncompr.c ../zlib_bcc/uncompr.c
*** ./uncompr.c Tue Jan 30 22:59:26 1996
--- ../zlib_bcc/uncompr.c Sat Nov 23 19:17:04 1996
***************
*** 22,28 ****
enough memory, Z_BUF_ERROR if there was not enough room in the output
buffer, or Z_DATA_ERROR if the input data was corrupted.
*/
! int uncompress (dest, destLen, source, sourceLen)
Bytef *dest;
uLongf *destLen;
const Bytef *source;
--- 22,28 ----
enough memory, Z_BUF_ERROR if there was not enough room in the output
buffer, or Z_DATA_ERROR if the input data was corrupted.
*/
! int EXPORT uncompress (dest, destLen, source, sourceLen)
Bytef *dest;
uLongf *destLen;
const Bytef *source;
diff -c ./zconf.h ../zlib_bcc/zconf.h
*** ./zconf.h Tue Jul 02 17:09:28 1996
--- ../zlib_bcc/zconf.h Sun Nov 24 09:40:04 1996
***************
*** 175,182 ****
--- 175,192 ----
/* Compile with -DZLIB_DLL for Windows DLL support */
#if (defined(_WINDOWS) || defined(WINDOWS)) && defined(ZLIB_DLL)
+ #ifdef __BORLANDC__
+ # undef FAR
# include <windows.h>
+ # if defined(MAKE_DLL)
+ # define EXPORT WINAPI _export
+ # else
+ # define EXPORT WINAPI
+ # endif
+ #else
+ # include <windows.h>
# define EXPORT WINAPI
+ #endif
#else
# define EXPORT
#endif
diff -c ./zlib16.def ../zlib_bcc/zlib16.def
*** ./zlib16.def Sun Nov 24 21:45:20 1996
--- ../zlib_bcc/zlib16.def Sat Nov 23 19:10:40 1996
***************
*** 0 ****
--- 1,34 ----
+ LIBRARY zlib16
+ DESCRIPTION 'zlib data compression library'
+ EXETYPE WINDOWS
+ CODE PRELOAD DISCARDABLE
+ DATA SINGLE SHARED
+ HEAPSIZE 4096
+ EXPORTS
+ zlibVersion
+ deflate
+ deflateEnd
+ inflate
+ inflateEnd
+ deflateSetDictionary
+ deflateCopy
+ deflateReset
+ deflateParams
+ inflateSetDictionary
+ inflateSync
+ inflateReset
+ compress
+ uncompress
+ gzopen
+ gzdopen
+ gzread
+ gzwrite
+ gzflush
+ gzclose
+ gzerror
+ adler32
+ crc32
+ deflateInit_
+ inflateInit_
+ deflateInit2_
+ inflateInit2_
diff -c ./zlib16.rc ../zlib_bcc/zlib16.rc
*** ./zlib16.rc Sun Nov 24 21:48:00 1996
--- ../zlib_bcc/zlib16.rc Sun Nov 24 13:54:58 1996
***************
*** 0 ****
--- 1,32 ----
+ #include <windows.h>
+
+ #define IDR_VERSION1 1
+ IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
+ FILEVERSION 1,0,4,0
+ PRODUCTVERSION 1,0,4,0
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS 0
+ FILEOS VOS_DOS_WINDOWS32
+ FILETYPE VFT_DLL
+ FILESUBTYPE 0 // not used
+ BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ //language ID = U.S. English, char set = Windows, Multilingual
+
+ BEGIN
+ VALUE "FileDescription", "zlib data compression library\0"
+ VALUE "FileVersion", "1.0.4\0"
+ VALUE "InternalName", "zlib16\0"
+ VALUE "OriginalFilename", "zlib16.lib\0"
+ VALUE "ProductName", "ZLib16.DLL\0"
+ VALUE "Comments", "DLL support by Alessandro Iacopetti\0"
+ VALUE "LegalCopyright", "(C) 1995-1996 Jean-loup Gailly & Mark Adler\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0409, 1252
+ END
+ END
diff -c ./zlib2.def ../zlib_bcc/zlib2.def
*** ./zlib2.def Sun Nov 24 21:48:46 1996
--- ../zlib_bcc/zlib2.def Sun Nov 24 14:31:10 1996
***************
*** 0 ****
--- 1,31 ----
+ LIBRARY ZLIB2
+ DESCRIPTION 'zlib data compression library'
+ DATA MULTIPLE NONSHARED
+ EXPORTS
+ zlibVersion
+ deflate
+ deflateEnd
+ inflate
+ inflateEnd
+ deflateSetDictionary
+ deflateCopy
+ deflateReset
+ deflateParams
+ inflateSetDictionary
+ inflateSync
+ inflateReset
+ compress
+ uncompress
+ gzopen
+ gzdopen
+ gzread
+ gzwrite
+ gzflush
+ gzclose
+ gzerror
+ adler32
+ crc32
+ deflateInit_
+ inflateInit_
+ deflateInit2_
+ inflateInit2_
diff -c ./zlib2.rc ../zlib_bcc/zlib2.rc
*** ./zlib2.rc Sun Nov 24 21:48:38 1996
--- ../zlib_bcc/zlib2.rc Sun Nov 24 14:31:24 1996
***************
*** 0 ****
--- 1 ----
+ /* empty at the moment */
diff -c ./zlib32.def ../zlib_bcc/zlib32.def
*** ./zlib32.def Sun Nov 24 21:47:48 1996
--- ../zlib_bcc/zlib32.def Sat Nov 23 19:30:24 1996
***************
*** 0 ****
--- 1,38 ----
+ LIBRARY zlib32
+
+ DESCRIPTION 'zlib data compression library'
+
+ CODE PRELOAD DISCARDABLE
+
+ DATA MULTIPLE SHARED
+
+ HEAPSIZE 1048576,4096
+
+ EXPORTS
+ zlibVersion
+ deflate
+ deflateEnd
+ inflate
+ inflateEnd
+ deflateSetDictionary
+ deflateCopy
+ deflateReset
+ deflateParams
+ inflateSetDictionary
+ inflateSync
+ inflateReset
+ compress
+ uncompress
+ gzopen
+ gzdopen
+ gzread
+ gzwrite
+ gzflush
+ gzclose
+ gzerror
+ adler32
+ crc32
+ deflateInit_
+ inflateInit_
+ deflateInit2_
+ inflateInit2_
diff -c ./zlib32.rc ../zlib_bcc/zlib32.rc
*** ./zlib32.rc Sun Nov 24 21:47:52 1996
--- ../zlib_bcc/zlib32.rc Sun Nov 24 13:55:14 1996
***************
*** 0 ****
--- 1,32 ----
+ #include <windows.h>
+
+ #define IDR_VERSION1 1
+ IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
+ FILEVERSION 1,0,4,0
+ PRODUCTVERSION 1,0,4,0
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS 0
+ FILEOS VOS_DOS_WINDOWS32
+ FILETYPE VFT_DLL
+ FILESUBTYPE 0 // not used
+ BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ //language ID = U.S. English, char set = Windows, Multilingual
+
+ BEGIN
+ VALUE "FileDescription", "zlib data compression library\0"
+ VALUE "FileVersion", "1.0.4\0"
+ VALUE "InternalName", "zlib32\0"
+ VALUE "OriginalFilename", "zlib32.lib\0"
+ VALUE "ProductName", "ZLib32.DLL\0"
+ VALUE "Comments", "DLL support by Alessandro Iacopetti\0"
+ VALUE "LegalCopyright", "(C) 1995-1996 Jean-loup Gailly & Mark Adler\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0409, 1252
+ END
+ END
diff -c ./zutil.c ../zlib_bcc/zutil.c
*** ./zutil.c Wed Jul 24 15:41:12 1996
--- ../zlib_bcc/zutil.c Sat Nov 23 19:19:32 1996
***************
*** 28,34 ****
""};
! const char *zlibVersion()
{
return ZLIB_VERSION;
}
--- 28,34 ----
""};
! const char * EXPORT zlibVersion()
{
return ZLIB_VERSION;
}
diff -c ./zutil.h ../zlib_bcc/zutil.h
*** ./zutil.h Wed Jul 24 15:41:14 1996
--- ../zlib_bcc/zutil.h Sun Nov 24 13:39:42 1996
***************
*** 190,196 ****
#endif
! typedef uLong (*check_func) OF((uLong check, const Bytef *buf, uInt len));
voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
void zcfree OF((voidpf opaque, voidpf ptr));
--- 190,196 ----
#endif
! typedef uLong EXPORT (*check_func) OF((uLong check, const Bytef *buf, uInt len));
voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
void zcfree OF((voidpf opaque, voidpf ptr));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -