|
librsync
2.3.4
|
Whole-file API driver functions. More...
Go to the source code of this file.
Functions | |
| rs_result | rs_whole_run (rs_job_t *job, FILE *in_file, FILE *out_file, int inbuflen, int outbuflen) |
| Run a job continuously, with input to/from the two specified files. | |
Whole-file API driver functions.
Definition in file whole.h.
| rs_result rs_whole_run | ( | rs_job_t * | job, |
| FILE * | in_file, | ||
| FILE * | out_file, | ||
| int | inbuflen, | ||
| int | outbuflen | ||
| ) |
Run a job continuously, with input to/from the two specified files.
The job should already be set up, and must be freed by the caller after return. If rs_inbuflen or rs_outbuflen are set, they will override the inbuflen and outbuflen arguments.
| job | - the job instance to run. |
| in_file | - input file, or NULL if there is no input. |
| out_file | - output file, or NULL if there is no output. |
| inbuflen | - recommended input buffer size to use. |
| outbuflen | - recommended output buffer size to use. |
1.9.6