infback.c (237691) | infback.c (254069) |
---|---|
1/* infback.c -- inflate using a call-back interface 2 * Copyright (C) 1995-2011 Mark Adler 3 * For conditions of distribution and use, see copyright notice in zlib.h 4 */ 5 6/* 7 This code is largely copied from inflate.c. Normally either infback.o or 8 inflate.o would be linked into an application--not both. The interface --- 241 unchanged lines hidden (view full) --- 250int ZEXPORT inflateBack(strm, in, in_desc, out, out_desc) 251z_streamp strm; 252in_func in; 253void FAR *in_desc; 254out_func out; 255void FAR *out_desc; 256{ 257 struct inflate_state FAR *state; | 1/* infback.c -- inflate using a call-back interface 2 * Copyright (C) 1995-2011 Mark Adler 3 * For conditions of distribution and use, see copyright notice in zlib.h 4 */ 5 6/* 7 This code is largely copied from inflate.c. Normally either infback.o or 8 inflate.o would be linked into an application--not both. The interface --- 241 unchanged lines hidden (view full) --- 250int ZEXPORT inflateBack(strm, in, in_desc, out, out_desc) 251z_streamp strm; 252in_func in; 253void FAR *in_desc; 254out_func out; 255void FAR *out_desc; 256{ 257 struct inflate_state FAR *state; |
258 unsigned char FAR *next; /* next input */ | 258 z_const unsigned char FAR *next; /* next input */ |
259 unsigned char FAR *put; /* next output */ 260 unsigned have, left; /* available input and output */ 261 unsigned long hold; /* bit buffer */ 262 unsigned bits; /* bits in bit buffer */ 263 unsigned copy; /* number of stored or match bytes to copy */ 264 unsigned char FAR *from; /* where to copy match bytes from */ 265 code here; /* current decoding table entry */ 266 code last; /* parent table entry */ --- 374 unchanged lines hidden --- | 259 unsigned char FAR *put; /* next output */ 260 unsigned have, left; /* available input and output */ 261 unsigned long hold; /* bit buffer */ 262 unsigned bits; /* bits in bit buffer */ 263 unsigned copy; /* number of stored or match bytes to copy */ 264 unsigned char FAR *from; /* where to copy match bytes from */ 265 code here; /* current decoding table entry */ 266 code last; /* parent table entry */ --- 374 unchanged lines hidden --- |