summaryrefslogtreecommitdiff
path: root/source4/lib/zlib/zlib.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-09-06 10:58:53 +0200
committerStefan Metzmacher <metze@samba.org>2008-09-06 16:16:41 +0200
commit5631a1b9bc03d6cf31af66b13872255f18979fe8 (patch)
tree053f1e9eeaff5ab2850c27ba8555dff9d2d9a45d /source4/lib/zlib/zlib.h
parentc285076f29c6aea01c1529c7ce84b5976f95be72 (diff)
downloadsamba-5631a1b9bc03d6cf31af66b13872255f18979fe8.tar.gz
samba-5631a1b9bc03d6cf31af66b13872255f18979fe8.tar.bz2
samba-5631a1b9bc03d6cf31af66b13872255f18979fe8.zip
Revert "zlib: add inflateReset2()..."
This reverts commit 2a4fb661d7e3d601a5eb9ccecb4d4f2b07073097. (we don't need inflateReset2 anymore) metze (This used to be commit ac43081b93966b545928230f7af8654b942432da)
Diffstat (limited to 'source4/lib/zlib/zlib.h')
-rw-r--r--source4/lib/zlib/zlib.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/source4/lib/zlib/zlib.h b/source4/lib/zlib/zlib.h
index 8ff1d222de..a660031e94 100644
--- a/source4/lib/zlib/zlib.h
+++ b/source4/lib/zlib/zlib.h
@@ -210,9 +210,6 @@ typedef gz_header FAR *gz_headerp;
#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
-#define Z_RESET_KEEP_WINDOW 0x0001
-/* This flag can be passed to inflateReset2 and deflateReset2 */
-
#define zlib_version zlibVersion()
/* for compatibility with versions < 1.0.2 */
@@ -805,8 +802,6 @@ ZEXTERN int ZEXPORT inflateCopy OF((z_streamp dest,
destination.
*/
-ZEXTERN int ZEXPORT inflateReset2 OF((z_streamp strm, unsigned flags));
-
ZEXTERN int ZEXPORT inflateReset OF((z_streamp strm));
/*
This function is equivalent to inflateEnd followed by inflateInit,
@@ -817,16 +812,6 @@ ZEXTERN int ZEXPORT inflateReset OF((z_streamp strm));
stream state was inconsistent (such as zalloc or state being NULL).
*/
-ZEXTERN int ZEXPORT inflateReset2 OF((z_streamp strm, unsigned flags));
-/*
- This function is like inflateReset, but you can pass some flags
- to have further control over the behavior. If you pass Z_RESET_KEEP_WINDOW
- the window will be untouched and will be reused in the next runs of inflate()
-
- inflateReset2 returns Z_OK if success, or Z_STREAM_ERROR if the source
- stream state was inconsistent (such as zalloc or state being NULL).
-*/
-
ZEXTERN int ZEXPORT inflatePrime OF((z_streamp strm,
int bits,
int value));