|
Data Structures |
| struct | moved |
| | Moving daemon context. More...
|
| struct | work |
| | Work queue entry. More...
|
Defines |
| #define | COPY_BLOCK_SHIFT 12 /**< Power of two of copy unit credit */ |
| | Power of two of copy unit credit.
|
| #define | COPY_BUF_SIZE 65536 /**< Size of the reading buffer */ |
| | Size of the reading buffer.
|
| #define | MOVED_MAGIC 0x00c0b100 |
Functions |
| | RCSID ("$Id:move.c, v 1.7 2005/08/31 21:37:28 rmanfredi Exp $") |
| work * | we_alloc (struct download *d, const gchar *dest, const gchar *ext) |
| | we_alloc
|
| void | we_free (gpointer data) |
| | we_free
|
| void | d_sighandler (gpointer unused_h, gpointer u, bgsig_t sig) |
| | Signal handler for termination.
|
| void | d_free (gpointer ctx) |
| | d_free
|
| void | d_notify (gpointer unused_h, gboolean on) |
| | Daemon's notification of start/stop.
|
| void | d_start (gpointer h, gpointer ctx, gpointer item) |
| | Daemon's notification: starting to work on item.
|
| void | d_end (gpointer h, gpointer ctx, gpointer item) |
| | Daemon's notification: finished working on item.
|
| bgret_t | d_step_copy (gpointer h, gpointer u, gint ticks) |
| | Copy file around, incrementally.
|
| void | move_queue (struct download *d, const gchar *dest, const gchar *ext) |
| | Enqueue completed download file for verification.
|
| void | move_init (void) |
| | Initializes the background moving/copying task.
|
| void | move_close (void) |
| | Called at shutdown time.
|
Variables |
| gpointer | move_daemon = NULL |