aboutsummaryrefslogtreecommitdiff
path: root/deflate.h
diff options
context:
space:
mode:
Diffstat (limited to 'deflate.h')
-rw-r--r--deflate.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/deflate.h b/deflate.h
index 300c6ada62b8..0732ba83adbd 100644
--- a/deflate.h
+++ b/deflate.h
@@ -1,5 +1,5 @@
/* deflate.h -- internal compression state
- * Copyright (C) 1995-2024 Jean-loup Gailly
+ * Copyright (C) 1995-2026 Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -271,6 +271,9 @@ typedef struct internal_state {
/* Number of valid bits in bi_buf. All bits above the last valid bit
* are always zero.
*/
+ int bi_used;
+ /* Last number of used bits when going to a byte boundary.
+ */
ulg high_water;
/* High water mark offset in window for initialized bytes -- bytes above
@@ -279,6 +282,9 @@ typedef struct internal_state {
* updated to the new high water mark.
*/
+ int slid;
+ /* True if the hash table has been slid since it was cleared. */
+
} FAR deflate_state;
/* Output a byte on the stream.