~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to iris/src/xmpp/zlib/common.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef ZLIB_COMMON_H
 
2
#define ZLIB_COMMON_H
 
3
 
 
4
#define CHUNK_SIZE 1024
 
5
 
 
6
static void initZStream(z_stream* z)
 
7
{
 
8
        z->next_in = NULL;
 
9
        z->avail_in = 0;
 
10
        z->total_in = 0;
 
11
        z->next_out = NULL;
 
12
        z->avail_out = 0;
 
13
        z->total_out = 0;
 
14
        z->msg = NULL;
 
15
        z->state = NULL;
 
16
        z->zalloc = Z_NULL;
 
17
        z->zfree = Z_NULL;
 
18
        z->opaque = Z_NULL;
 
19
        z->data_type = Z_BINARY;
 
20
        z->adler = 0;
 
21
        z->reserved = 0;
 
22
}
 
23
 
 
24
#endif