|
Data Structures |
| struct | verifyd |
| | Verification daemon context. More...
|
Defines |
| #define | HASH_BLOCK_SHIFT 12 /**< Power of two of hash unit credit */ |
| | Power of two of hash unit credit.
|
| #define | HASH_BUF_SIZE 65536 /**< Size of the reading buffer */ |
| | Size of the reading buffer.
|
| #define | VERIFYD_MAGIC 0x000e31f8 |
Functions |
| | RCSID ("$Id:verify.c, v 1.6 2005/08/31 21:37:28 rmanfredi Exp $") |
| void | d_free (gpointer ctx) |
| | Freeing of computation context.
|
| void | d_notify (gpointer unused_h, gboolean on) |
| | Daemon's notification of start/stop.
|
| void | d_start (gpointer unused_h, gpointer ctx, gpointer item) |
| | Daemon's notification: starting to work on item.
|
| void | d_end (gpointer unused_h, gpointer ctx, gpointer item) |
| | Daemon's notification: finished working on item.
|
| bgret_t | d_step_compute (gpointer h, gpointer u, gint ticks) |
| | Compute SHA1 of current file.
|
| void | verify_queue (struct download *d) |
| | Enqueue completed download file for verification.
|
| void | verify_init (void) |
| | Initializes the background verification task.
|
| void | verify_close (void) |
| | Called at shutdown time.
|
Variables |
| gpointer | verify_daemon = NULL |