diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-06 03:01:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-06 03:01:00 +0100 |
commit | 141b6b83d7ca5bd32d55a0a7e08384084d081557 (patch) | |
tree | 5c0aea567c793844ba1568c77b3eb3bea2e6fe81 /cache.h | |
parent | Merge branch 'jc/maint-split-diff-metainfo' into maint (diff) | |
parent | Wrap inflate and other zlib routines for better error reporting (diff) | |
download | git-141b6b83d7ca5bd32d55a0a7e08384084d081557.tar.xz git-141b6b83d7ca5bd32d55a0a7e08384084d081557.zip |
Merge branch 'lt/maint-wrap-zlib' into maint
* lt/maint-wrap-zlib:
Wrap inflate and other zlib routines for better error reporting
Conflicts:
http-push.c
http-walker.c
sha1_file.c
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -18,6 +18,10 @@ #define deflateBound(c,s) ((s) + (((s) + 7) >> 3) + (((s) + 63) >> 6) + 11) #endif +void git_inflate_init(z_streamp strm); +void git_inflate_end(z_streamp strm); +int git_inflate(z_streamp strm, int flush); + #if defined(DT_UNKNOWN) && !defined(NO_D_TYPE_IN_DIRENT) #define DTYPE(de) ((de)->d_type) #else |