librsync
2.3.0
|
Go to the source code of this file.
Data Structures | |
struct | rs_filebuf |
Functions | |
rs_filebuf_t * | rs_filebuf_new (FILE *f, size_t buf_len) |
void | rs_filebuf_free (rs_filebuf_t *fb) |
rs_result | rs_infilebuf_fill (rs_job_t *job, rs_buffers_t *buf, void *opaque) |
rs_result | rs_outfilebuf_drain (rs_job_t *job, rs_buffers_t *buf, void *opaque) |
Buffers that map between stdio file streams and librsync streams.
As the stream consumes input and produces output, it is refilled from appropriate input and output FILEs. A dynamically allocated buffer of configurable size is used as an intermediary.
Definition in file buf.c.