#include </home/clem/local/src/opie/rsync/job.h>
Collaboration diagram for rs_job:

Public Attributes | |
| int | dogtag |
| const char * | job_name |
| rs_buffers_t * | stream |
| rs_result(* | statefn )(rs_job_t *) |
| rs_result | final_result |
| int | block_len |
| int | strong_sum_len |
| rs_signature_t * | signature |
| unsigned char | op |
| rs_weak_sum_t | weak_sig |
| int | have_weak_sig |
| rs_long_t | param1 |
| rs_long_t | param2 |
| rs_prototab_ent const * | cmd |
| rs_mdfour_t | output_md4 |
| rs_stats_t | stats |
| char * | scoop_buf |
| char * | scoop_next |
| size_t | scoop_alloc |
| size_t | scoop_avail |
| char | write_buf [16] |
| int | write_len |
| rs_long_t | copy_len |
| rs_long_t | basis_pos |
| rs_long_t | basis_len |
| rs_copy_cb * | copy_cb |
| void * | copy_arg |
|
|
Copy from the basis position. |
|
|
Copy from the basis position. |
|
|
|
|
|
|
|
|
|
|
|
Callback used to copy data from the basis into the output. |
|
|
If |
|
|
|
|
|
Final result of processing job. Used by rs_job_s_failed(). |
|
|
If generating a delta, this is true if we have a valid weak signature and can roll it forward. |
|
|
Human-readable job operation name. |
|
|
Command byte currently being processed, if any. |
|
|
|
|
|
Lengths of expected parameters. |
|
|
Lengths of expected parameters. |
|
|
|
|
|
|
|
|
Buffer of data left over in the scoop. Allocation is scoop_buf..scoop_alloc, and scoop_next[0..scoop_avail] contains valid data. |
|
|
|
|
|
Signature that's either being read in, or used for generating a delta. |
|
|
Callback for each processing step. |
|
|
Encoding statistics. |
|
|
|
|
|
|
|
|
If in the middle of reading a signature (rs_loadsig_s_weak()), or generating a delta, this contains the weak signature. |
|
|
If USED is >0, then buf contains that much write data to be sent out. |
|
|
|
1.4.2