X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=inflate.h;fp=inflate.h;h=9a12c8fd2963bfa45e884077679c706e1f6a2ab7;hb=4b5a43a219d51066c01ff2ab86af18b967f2d0dd;hp=8bd40a5d930c5959872c12f49019a8c47bd68c92;hpb=086e982175da84b3db958191031380794315f95f;p=zlib.git diff --git a/inflate.h b/inflate.h index 8bd40a5..9a12c8f 100644 --- a/inflate.h +++ b/inflate.h @@ -32,6 +32,7 @@ typedef enum { DICTID, /* i: waiting for dictionary check value */ DICT, /* waiting for inflateSetDictionary() call */ TYPE, /* i: waiting for type bits, including last-flag bit */ + TYPEDO, /* i: same, but skip check to exit inflate on new block */ STORED, /* i: waiting for stored size (length and complement) */ COPY, /* i/o: waiting for input or output to copy stored block */ TABLE, /* i: waiting for dynamic block table lengths */ @@ -88,7 +89,7 @@ struct inflate_state { /* sliding window */ unsigned wbits; /* log base 2 of requested window size */ unsigned wsize; /* window size or zero if not using window */ - unsigned whave; /* valid bytes in the window */ + unsigned whave; /* valid bytes in the window */ unsigned write; /* window write index */ unsigned char FAR *window; /* allocated sliding window, if needed */ /* bit accumulator */