mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-04 13:57:40 +00:00
Being modifying write_1g function to be able to write to a temporary buffer instead of straight to fd_out.
Split out make_magic to be able to write magic wherever we want later.
This commit is contained in:
parent
9444441d51
commit
c75a50f723
6 changed files with 67 additions and 37 deletions
2
stream.h
2
stream.h
|
|
@ -26,7 +26,7 @@
|
|||
void create_pthread(pthread_t *thread, pthread_attr_t *attr,
|
||||
void * (*start_routine)(void *), void *arg);
|
||||
void join_pthread(pthread_t th, void **thread_return);
|
||||
ssize_t write_1g(int fd, void *buf, i64 len);
|
||||
ssize_t write_1g(rzip_control *control, int fd, void *buf, i64 len);
|
||||
ssize_t read_1g(int fd, void *buf, i64 len);
|
||||
void prepare_streamout_threads(rzip_control *control);
|
||||
void close_streamout_threads(rzip_control *control);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue