78 rs_byte_t *scoop_next;
102 int rs_job_input_is_ending(
rs_job_t *job);
105 #define RS_JOB_TAG 20010225 111 #define rs_job_check(job) do {\ 112 assert(job->dogtag == RS_JOB_TAG);\ Description of input and output buffers.
rs_copy_cb * copy_cb
Callback used to copy data from the basis into the output.
rs_long_t copy_len
If copy_len is >0, then that much data should be copied through from the input.
rs_result final_result
Final result of processing job.
rs_byte_t write_buf[36]
If USED is >0, then buf contains that much write data to be sent out.
unsigned char op
Command byte currently being processed, if any.
rs_signature_t * signature
Pointer to the signature that's being used by the operation.
struct rs_mdfour rs_mdfour_t
MD4 message-digest accumulator.
weaksum_t weak_sum
The rollsum weak signature accumulator used by delta.c.
int job_owns_sig
Flag indicating signature should be destroyed with the job.
rs_long_t param1
Lengths of expected parameters.
rs_weak_sum_t weak_sig
The weak signature digest used by readsums.c.
rs_result rs_copy_cb(void *opaque, rs_long_t pos, size_t *len, void **buf)
Callback used to retrieve parts of the basis file.
rs_long_t basis_pos
Copy from the basis position.
rs_result(* statefn)(rs_job_t *)
Callback for each processing step.
rs_stats_t stats
Encoding statistics.
rs_long_t sig_fsize
The size of the signature file if available.
const char * job_name
Human-readable job operation name.
Signature of a whole file.
Performance statistics from a librsync encoding or decoding operation.
rs_result
Return codes from nonblocking rsync operations.
rs_byte_t * scoop_buf
Buffer of data in the scoop.
Abstract wrapper around weaksum implementations.
The contents of this structure are private.