forked from cory/tildefriends
apps
core
deps
codemirror
codemirror_src
crypt_blowfish
libbacktrace
libbacktrace_config
libsodium
libuv
lit
picohttpparser
prettier
quickjs
speedscope
sqlite
xopt
zlib
amiga
contrib
ada
blast
delphi
dotzlib
gcc_gvmat64
infback9
README
infback9.c
infback9.h
inffix9.h
inflate9.h
inftree9.c
inftree9.h
iostream
iostream2
iostream3
minizip
nuget
pascal
puff
testzlib
untgz
vstudio
README.contrib
doc
examples
msdos
nintendods
old
os400
qnx
test
watcom
win32
CMakeLists.txt
ChangeLog
FAQ
INDEX
LICENSE
Makefile
Makefile.in
README
adler32.c
compress.c
configure
crc32.c
crc32.h
deflate.c
deflate.h
gzclose.c
gzguts.h
gzlib.c
gzread.c
gzwrite.c
infback.c
inffast.c
inffast.h
inffixed.h
inflate.c
inflate.h
inftrees.c
inftrees.h
make_vms.com
treebuild.xml
trees.c
trees.h
uncompr.c
zconf.h
zconf.h.cmakein
zconf.h.in
zlib.3
zlib.3.pdf
zlib.h
zlib.map
zlib.pc.cmakein
zlib.pc.in
zutil.c
zutil.h
docs
src
tools
.clang-format
.dockerignore
.git-blame-ignore-revs
.gitignore
.prettierignore
.prettierrc.yaml
Dockerfile
Doxyfile
GNUmakefile
LICENSE
README.md
package-lock.json
package.json
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4455 ed5197a5-7fde-0310-b194-c3ffbd925b24
38 lines
1.5 KiB
C
38 lines
1.5 KiB
C
/* infback9.h -- header for using inflateBack9 functions
|
|
* Copyright (C) 2003 Mark Adler
|
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
|
*/
|
|
|
|
/*
|
|
* This header file and associated patches provide a decoder for PKWare's
|
|
* undocumented deflate64 compression method (method 9). Use with infback9.c,
|
|
* inftree9.h, inftree9.c, and inffix9.h. These patches are not supported.
|
|
* This should be compiled with zlib, since it uses zutil.h and zutil.o.
|
|
* This code has not yet been tested on 16-bit architectures. See the
|
|
* comments in zlib.h for inflateBack() usage. These functions are used
|
|
* identically, except that there is no windowBits parameter, and a 64K
|
|
* window must be provided. Also if int's are 16 bits, then a zero for
|
|
* the third parameter of the "out" function actually means 65536UL.
|
|
* zlib.h must be included before this header file.
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
ZEXTERN int ZEXPORT inflateBack9(z_stream FAR *strm,
|
|
in_func in, void FAR *in_desc,
|
|
out_func out, void FAR *out_desc);
|
|
ZEXTERN int ZEXPORT inflateBack9End(z_stream FAR *strm);
|
|
ZEXTERN int ZEXPORT inflateBack9Init_(z_stream FAR *strm,
|
|
unsigned char FAR *window,
|
|
const char *version,
|
|
int stream_size);
|
|
#define inflateBack9Init(strm, window) \
|
|
inflateBack9Init_((strm), (window), \
|
|
ZLIB_VERSION, sizeof(z_stream))
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|