rs_job Struct Reference
of this structure are private.
More...
Data Fields |
int | dogtag |
const char * | job_name |
| Human-readable job operation name.
|
rs_buffers_t * | stream |
rs_result(* | statefn )(rs_job_t *) |
| Callback for each processing step.
|
rs_result | final_result |
| Final result of processing job.
|
int | sig_magic |
int | sig_block_len |
int | sig_strong_len |
rs_long_t | sig_fsize |
| The size of the signature file if available.
|
rs_signature_t * | signature |
| Pointer to the signature that's being used by the operation.
|
int | job_owns_sig |
| Flag indicating signature should be destroyed with the job.
|
unsigned char | op |
| Command byte currently being processed, if any.
|
rs_weak_sum_t | weak_sig |
| The weak signature digest used by readsums.c.
|
Rollsum | weak_sum |
| The rollsum weak signature accumulator used by delta.c.
|
rs_long_t | param1 |
| Lengths of expected parameters.
|
rs_long_t | param2 |
struct rs_prototab_ent const * | cmd |
rs_mdfour_t | output_md4 |
rs_stats_t | stats |
| Encoding statistics.
|
rs_byte_t * | scoop_buf |
| Buffer of data in the scoop.
|
rs_byte_t * | scoop_next |
size_t | scoop_alloc |
size_t | scoop_avail |
size_t | scoop_pos |
rs_byte_t | write_buf [36] |
| If USED is >0, then buf contains that much write data to be sent out.
|
int | write_len |
rs_long_t | copy_len |
| If copy_len is >0, then that much data should be copied through from the input.
|
rs_long_t | basis_pos |
| Copy from the basis position.
|
rs_long_t | basis_len |
rs_copy_cb * | copy_cb |
| Callback used to copy data from the basis into the output.
|
void * | copy_arg |
Detailed Description
of this structure are private.
Definition at line 26 of file job.h.
Field Documentation
Human-readable job operation name.
Definition at line 30 of file job.h.
Callback for each processing step.
Final result of processing job.
Used by rs_job_s_failed().
Definition at line 38 of file job.h.
The size of the signature file if available.
Used by loadsums.c when initializing the signature to preallocate memory.
Definition at line 48 of file job.h.
Pointer to the signature that's being used by the operation.
Definition at line 51 of file job.h.
Flag indicating signature should be destroyed with the job.
Definition at line 54 of file job.h.
Command byte currently being processed, if any.
Definition at line 57 of file job.h.
The rollsum weak signature accumulator used by delta.c.
Definition at line 63 of file job.h.
Lengths of expected parameters.
Definition at line 66 of file job.h.
Encoding statistics.
Definition at line 72 of file job.h.
Buffer of data in the scoop.
Allocation is scoop_buf[0..scoop_alloc], and scoop_next[0..scoop_avail] contains data yet to be processed. scoop_next[scoop_pos..scoop_avail] is the data yet to be scanned.
Definition at line 77 of file job.h.
If USED is >0, then buf contains that much write data to be sent out.
Definition at line 84 of file job.h.
If copy_len
is >0, then that much data should be copied through from the input.
Definition at line 89 of file job.h.
Copy from the basis position.
Definition at line 92 of file job.h.
Callback used to copy data from the basis into the output.
Definition at line 95 of file job.h.
The documentation for this struct was generated from the following file: