Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

rs_job Struct Reference

#include </home/clem/local/src/opie/rsync/job.h>

Collaboration diagram for rs_job:

Collaboration graph
[legend]
List of all members.

Public Attributes

int dogtag
const char * job_name
rs_buffers_tstream
rs_result(* statefn )(rs_job_t *)
rs_result final_result
int block_len
int strong_sum_len
rs_signature_tsignature
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_cbcopy_cb
void * copy_arg

Member Data Documentation

rs_long_t rs_job::basis_len
 

Copy from the basis position.

Definition at line 86 of file job.h.

rs_long_t rs_job::basis_pos
 

Copy from the basis position.

Definition at line 86 of file job.h.

int rs_job::block_len
 

Definition at line 41 of file job.h.

struct rs_prototab_ent const* rs_job::cmd
 

Definition at line 62 of file job.h.

void* rs_job::copy_arg
 

Definition at line 90 of file job.h.

rs_copy_cb* rs_job::copy_cb
 

Callback used to copy data from the basis into the output.

Definition at line 89 of file job.h.

rs_long_t rs_job::copy_len
 

If copy_len is >0, then that much data should be copied through from the input.

Definition at line 83 of file job.h.

int rs_job::dogtag
 

Definition at line 25 of file job.h.

rs_result rs_job::final_result
 

Final result of processing job. Used by rs_job_s_failed().

Definition at line 36 of file job.h.

int rs_job::have_weak_sig
 

If generating a delta, this is true if we have a valid weak signature and can roll it forward.

Definition at line 57 of file job.h.

const char* rs_job::job_name
 

Human-readable job operation name.

Definition at line 28 of file job.h.

unsigned char rs_job::op
 

Command byte currently being processed, if any.

Definition at line 49 of file job.h.

rs_mdfour_t rs_job::output_md4
 

Definition at line 63 of file job.h.

rs_long_t rs_job::param1
 

Lengths of expected parameters.

Definition at line 60 of file job.h.

rs_long_t rs_job::param2
 

Lengths of expected parameters.

Definition at line 60 of file job.h.

size_t rs_job::scoop_alloc
 

Definition at line 73 of file job.h.

size_t rs_job::scoop_avail
 

Definition at line 74 of file job.h.

char* rs_job::scoop_buf
 

Buffer of data left over in the scoop. Allocation is scoop_buf..scoop_alloc, and scoop_next[0..scoop_avail] contains valid data.

Definition at line 71 of file job.h.

char* rs_job::scoop_next
 

Definition at line 72 of file job.h.

rs_signature_t* rs_job::signature
 

Signature that's either being read in, or used for generating a delta.

Definition at line 46 of file job.h.

rs_result(* rs_job::statefn)(rs_job_t *)
 

Callback for each processing step.

rs_stats_t rs_job::stats
 

Encoding statistics.

Definition at line 66 of file job.h.

rs_buffers_t* rs_job::stream
 

Definition at line 30 of file job.h.

int rs_job::strong_sum_len
 

Definition at line 42 of file job.h.

rs_weak_sum_t rs_job::weak_sig
 

If in the middle of reading a signature (rs_loadsig_s_weak()), or generating a delta, this contains the weak signature.

Definition at line 53 of file job.h.

char rs_job::write_buf[16]
 

If USED is >0, then buf contains that much write data to be sent out.

Definition at line 78 of file job.h.

int rs_job::write_len
 

Definition at line 79 of file job.h.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 5 17:51:00 2005 for OPIE by  doxygen 1.4.2