mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-07 07:14:06 +00:00
Avoid checking return values repeatedly on compress that only lead to failures anyway
This commit is contained in:
parent
aa753fee53
commit
c3bc42e2c8
4 changed files with 80 additions and 127 deletions
4
stream.h
4
stream.h
|
|
@ -36,8 +36,8 @@ bool prepare_streamout_threads(rzip_control *control);
|
|||
bool close_streamout_threads(rzip_control *control);
|
||||
void *open_stream_out(rzip_control *control, int f, unsigned int n, i64 chunk_limit, char cbytes);
|
||||
void *open_stream_in(rzip_control *control, int f, int n, char cbytes);
|
||||
bool flush_buffer(rzip_control *control, struct stream_info *sinfo, int stream);
|
||||
int write_stream(rzip_control *control, void *ss, int streamno, uchar *p, i64 len);
|
||||
void flush_buffer(rzip_control *control, struct stream_info *sinfo, int stream);
|
||||
void write_stream(rzip_control *control, void *ss, int streamno, uchar *p, i64 len);
|
||||
i64 read_stream(rzip_control *control, void *ss, int streamno, uchar *p, i64 len);
|
||||
int close_stream_out(rzip_control *control, void *ss);
|
||||
int close_stream_in(rzip_control *control, void *ss);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue