Entry in the job queue. More...
#include </home/buildbot/bb-worker/worker/gnunet_release/build/src/service/fs/fs_api.h>
Data Fields | |
| struct GNUNET_FS_QueueEntry * | next |
| This is a linked list. | |
| struct GNUNET_FS_QueueEntry * | prev |
| This is a linked list. | |
| GNUNET_SCHEDULER_TaskCallback | start |
| Function to call when the job is started. | |
| GNUNET_SCHEDULER_TaskCallback | stop |
| Function to call when the job needs to stop (or is done / dequeued). | |
| void * | cls |
| Closure for start and stop. | |
| struct GNUNET_FS_Handle * | h |
| Handle to FS primary context. | |
| struct GNUNET_MQ_Handle * | mq |
| Message queue handle, or NULL if job is not running. | |
| struct GNUNET_TIME_Absolute | queue_time |
| Time the job was originally queued. | |
| struct GNUNET_TIME_Absolute | start_time |
| Time the job was started last. | |
| struct GNUNET_TIME_Relative | run_time |
| Total amount of time the job has been running (except for the current run). | |
| unsigned int | blocks |
| How many blocks do the active downloads have? | |
| enum GNUNET_FS_QueuePriority | priority |
| How important is this download? | |
| unsigned int | start_times |
| How often have we (re)started this download? | |
| int | active |
| GNUNET_YES if the job is active now. | |
| struct GNUNET_FS_QueueEntry* GNUNET_FS_QueueEntry::next |
| struct GNUNET_FS_QueueEntry* GNUNET_FS_QueueEntry::prev |
| GNUNET_SCHEDULER_TaskCallback GNUNET_FS_QueueEntry::start |
| GNUNET_SCHEDULER_TaskCallback GNUNET_FS_QueueEntry::stop |
Function to call when the job needs to stop (or is done / dequeued).
Definition at line 440 of file fs_api.h.
Referenced by GNUNET_FS_queue_().
| void* GNUNET_FS_QueueEntry::cls |
Closure for start and stop.
Definition at line 445 of file fs_api.h.
Referenced by GNUNET_FS_queue_().
| struct GNUNET_FS_Handle* GNUNET_FS_QueueEntry::h |
| struct GNUNET_MQ_Handle* GNUNET_FS_QueueEntry::mq |
| struct GNUNET_TIME_Absolute GNUNET_FS_QueueEntry::queue_time |
| struct GNUNET_TIME_Absolute GNUNET_FS_QueueEntry::start_time |
| struct GNUNET_TIME_Relative GNUNET_FS_QueueEntry::run_time |
| unsigned int GNUNET_FS_QueueEntry::blocks |
How many blocks do the active downloads have?
Definition at line 476 of file fs_api.h.
Referenced by GNUNET_FS_queue_().
| enum GNUNET_FS_QueuePriority GNUNET_FS_QueueEntry::priority |
How important is this download?
Definition at line 481 of file fs_api.h.
Referenced by GNUNET_FS_queue_().
| unsigned int GNUNET_FS_QueueEntry::start_times |
| int GNUNET_FS_QueueEntry::active |
GNUNET_YES if the job is active now.