~ubuntu-branches/ubuntu/hardy/clamav/hardy-backports

« back to all changes in this revision

Viewing changes to libclamav/nsis/nsis_zlib.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes, Stephen Gran, Michael Meskes, Michael Tautschnig
  • Date: 2008-11-29 12:15:34 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (4.1.3 sid) (0.5.4 karmic)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20081129121534-8sbpoy6kr01ox2eo
[ Stephen Gran ]
* New upstream version

[ Michael Meskes ]
* Removed unused debconf templates and unfuzzied all translations.

[ Michael Tautschnig ]
* Removed --unzip from clampipe script (closes: #506055)
* Moved clamav-milter specific stuff from its specific README.Debian to
  clamav-global one.
* Sync start of clamav-milter with clamav-daemon when clamav-daemon is being
  upgraded (closes: #309067)
* The TemporaryDirectory option has been added long ago, no need for hacks
  via clamav-daemon.default anymore (closes: #253080)

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
 
108
108
typedef struct inflate_codes_state inflate_codes_statef;
109
109
 
 
110
#define FIXEDH 544      /* number of hufts used by fixed tables */
 
111
 
 
112
struct z_stuff {
 
113
  char fixed_built;
 
114
  inflate_huft fixed_mem[FIXEDH];
 
115
  uInt fixed_bl;
 
116
  uInt fixed_bd;
 
117
  inflate_huft *fixed_tl;
 
118
  inflate_huft *fixed_td;
 
119
};
 
120
 
110
121
struct inflate_blocks_state {
 
122
  /* acab */
 
123
  struct z_stuff zs;
111
124
 
112
125
  /* mode */
113
126
  inflate_mode  mode;    /* current inflate_block mode */
200
213
#define Z_NULL  0  /* for initializing zalloc, zfree, opaque */
201
214
 
202
215
 
203
 
#define nsis_inflateInit(x) inflateReset(x)
 
216
#define nsis_inflateInit(z) \
 
217
{ \
 
218
 (z)->blocks.zs.fixed_built = 0; \
 
219
 (z)->blocks.zs.fixed_bl = 9;     \
 
220
 (z)->blocks.zs.fixed_bd = 5;     \
 
221
 inflateReset(z);         \
 
222
}
204
223
int ZEXPORT nsis_inflate(nsis_z_streamp z);
205
224
#define inflateReset(z) \
206
225
{ \