4 typedef struct git_zstream
{
6 unsigned long avail_in
;
7 unsigned long avail_out
;
8 unsigned long total_in
;
9 unsigned long total_out
;
10 unsigned char *next_in
;
11 unsigned char *next_out
;
14 void git_inflate_init(git_zstream
*);
15 void git_inflate_init_gzip_only(git_zstream
*);
16 void git_inflate_end(git_zstream
*);
17 int git_inflate(git_zstream
*, int flush
);
19 void git_deflate_init(git_zstream
*, int level
);
20 void git_deflate_init_gzip(git_zstream
*, int level
);
21 void git_deflate_init_raw(git_zstream
*, int level
);
22 void git_deflate_end(git_zstream
*);
23 int git_deflate_abort(git_zstream
*);
24 int git_deflate_end_gently(git_zstream
*);
25 int git_deflate(git_zstream
*, int flush
);
26 unsigned long git_deflate_bound(git_zstream
*, unsigned long);
28 #endif /* GIT_ZLIB_H */