Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/git-zlib.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / git-zlib.h` 30 lines ยท 822 bytes Raw Blame History 1 #ifndef GIT_ZLIB_H 2 #define GIT_ZLIB_H 3 4 #include "compat/zlib-compat.h" 5 6 typedef struct git_zstream { 7 struct z_stream_s z; 8 size_t avail_in; 9 size_t avail_out; 10 size_t total_in; 11 size_t total_out; 12 unsigned char *next_in; 13 unsigned char *next_out; 14 } git_zstream; 15 16 void git_inflate_init(git_zstream *); 17 void git_inflate_init_gzip_only(git_zstream *); 18 void git_inflate_end(git_zstream *); 19 int git_inflate(git_zstream *, int flush); 20 21 void git_deflate_init(git_zstream *, int level); 22 void git_deflate_init_gzip(git_zstream *, int level); 23 void git_deflate_init_raw(git_zstream *, int level); 24 void git_deflate_end(git_zstream *); 25 int git_deflate_abort(git_zstream *); 26 int git_deflate_end_gently(git_zstream *); 27 int git_deflate(git_zstream *, int flush); 28 size_t git_deflate_bound(git_zstream *, size_t); 29 30 #endif /* GIT_ZLIB_H */