components/zlib/llib-lz
changeset 1945 3dc1935a2189
parent 184 037c654f48d9
child 7718 9960a50bc6cf
--- a/components/zlib/llib-lz	Wed Jun 11 17:13:12 2014 -0700
+++ b/components/zlib/llib-lz	Wed Jun 11 23:33:02 2014 -0700
@@ -20,7 +20,7 @@
  */
 
 /*
- * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  */
 
 /* LINTLIBRARY */
@@ -45,10 +45,12 @@
 int deflateEnd(z_streamp strm);
 int deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain);
 uLong deflateBound(z_streamp strm, uLong sourceLen);
+int deflatePending(z_streamp strm, unsigned *pending, int *bits);
 int deflatePrime(z_streamp strm, int bits, int value);
 int deflateSetHeader(z_streamp strm, gz_headerp head);
 int inflateCopy(z_streamp dest, z_streamp source);
 int inflatePrime(z_streamp strm, int bits, int value);
+long inflateMark(z_streamp strm);
 int inflateGetHeader(z_streamp strm, gz_headerp head);
 int inflateBack(z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc);
 int inflateBackEnd(z_streamp strm);
@@ -60,8 +62,10 @@
 int inflate(z_streamp strm, int flush);
 int inflateSetDictionary(z_streamp strm, const Bytef *dictionary,
     uInt dictLength);
+int inflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt  *dictLength);
 int inflateSync(z_streamp strm);
 int inflateReset(z_streamp strm);
+int inflateReset2(z_streamp strm, int windowBits);
 int inflateEnd(z_streamp strm);
 int compress(Bytef *dest, uLongf *destLen, const Bytef *source,
     uLong sourceLen);
@@ -71,7 +75,9 @@
 int uncompress(Bytef *dest, uLongf *destLen, const Bytef *source,
     uLong sourceLen);
 gzFile gzopen(const char *path, const char *mode);
+gzFile gzopen64(const char *path, const char *mode);
 gzFile gzdopen(int fd, const char *mode);
+int gzbuffer(gzFile file, unsigned size);
 int gzsetparams(gzFile file, int level, int strategy);
 int gzread(gzFile file, voidp buf, unsigned len);
 int gzwrite(gzFile file, voidpc buf, unsigned len);
@@ -80,21 +86,32 @@
 char *gzgets(gzFile file, char *buf, int len);
 int gzungetc(int c, gzFile file);
 int gzputc(gzFile file, int c);
-int gzgetc(gzFile file);
 int gzflush(gzFile file, int flush);
 z_off_t gzseek(gzFile file, z_off_t offset, int whence);
+z_off64_t gzseek64(gzFile, z_off64_t, int);
 int gzrewind(gzFile file);
 z_off_t gztell(gzFile file);
+z_off64_t gztell64(gzFile file);
+z_off_t gzoffset(gzFile file);
+z_off64_t gzoffset64(gzFile file);
 int gzeof(gzFile file);
 int gzclose(gzFile file);
+int gzclose_r(gzFile file);
+int gzclose_w(gzFile file);
 int gzdirect(gzFile file);
 void gzclearerr(gzFile file);
 const char *gzerror(gzFile file, int *errnum);
 uLong adler32(uLong adler, const Bytef *buf, uInt len);
 uLong adler32_combine(uLong adler1, uLong adler2, z_off_t len2);
+uLong adler32_combine64(uLong adler1, uLong adler2, z_off64_t len2);
 uLong crc32(uLong crc, const Bytef *buf, uInt len);
 uLong crc32_combine(uLong crc1, uLong crc2, z_off_t len2);
+uLong crc32_combine64(uLong crc1, uLong crc2, z_off64_t len2);
 const char *zError(int err);
 uLong zlibCompileFlags(void);
 int inflateSyncPoint(z_streamp z);
-const uLongf *get_crc_table(void);
+const z_crc_t *get_crc_table(void);
+int inflateUndermine(z_streamp, int);
+int inflateResetKeep(z_streamp);
+int deflateResetKeep(z_streamp);
+int gzvprintf(gzFile file, const char *format, va_list va);