Master context for most FS operations. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/fs/fs_api.h>
Data Fields | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
Configuration to use. More... | |
char * | client_name |
Name of our client. More... | |
GNUNET_FS_ProgressCallback | upcb |
Function to call with updates on our progress. More... | |
void * | upcb_cls |
Closure for upcb. More... | |
struct TopLevelActivity * | top_head |
Head of DLL of top-level activities. More... | |
struct TopLevelActivity * | top_tail |
Tail of DLL of top-level activities. More... | |
struct GNUNET_FS_QueueEntry * | running_head |
Head of DLL of running jobs. More... | |
struct GNUNET_FS_QueueEntry * | running_tail |
Tail of DLL of running jobs. More... | |
struct GNUNET_FS_QueueEntry * | pending_head |
Head of DLL of pending jobs. More... | |
struct GNUNET_FS_QueueEntry * | pending_tail |
Tail of DLL of pending jobs. More... | |
struct GNUNET_FS_SearchResult * | probes_head |
Head of active probes. More... | |
struct GNUNET_FS_SearchResult * | probes_tail |
Tail of active probes. More... | |
struct GNUNET_SCHEDULER_Task * | queue_job |
Task that processes the jobs in the running and pending queues (and moves jobs around as needed). More... | |
struct GNUNET_SCHEDULER_Task * | probe_ping_task |
Task we use to report periodically to the application that certain search probes (from probes_head) are still running. More... | |
struct GNUNET_TIME_Relative | avg_block_latency |
Average time we take for a single request to be satisfied. More... | |
unsigned int | active_downloads |
How many actual downloads do we have running right now? More... | |
unsigned int | active_blocks |
How many blocks do the active downloads have? More... | |
enum GNUNET_FS_Flags | flags |
General flags. More... | |
unsigned int | max_parallel_downloads |
Maximum number of parallel downloads. More... | |
unsigned int | max_parallel_requests |
Maximum number of parallel requests. More... | |
const struct GNUNET_CONFIGURATION_Handle* GNUNET_FS_Handle::cfg |
Configuration to use.
Definition at line 1074 of file fs_api.h.
Referenced by block_plugin_consensus_check_block(), block_plugin_consensus_check_reply(), create_loc_uri(), do_reconnect(), GNUNET_BLOCK_context_create(), GNUNET_FS_unindex_do_extract_keywords_(), GNUNET_FS_unindex_do_remove_(), GNUNET_FS_unindex_do_remove_kblocks_(), hash_for_index_cb(), libgnunet_plugin_block_consensus_init(), and unindex_finish().
char* GNUNET_FS_Handle::client_name |
GNUNET_FS_ProgressCallback GNUNET_FS_Handle::upcb |
Function to call with updates on our progress.
Definition at line 1084 of file fs_api.h.
Referenced by GNUNET_FS_download_make_status_(), GNUNET_FS_publish_make_status_(), GNUNET_FS_start(), and GNUNET_FS_unindex_make_status_().
void* GNUNET_FS_Handle::upcb_cls |
Closure for upcb.
Definition at line 1089 of file fs_api.h.
Referenced by GNUNET_FS_download_make_status_(), GNUNET_FS_publish_make_status_(), GNUNET_FS_start(), and GNUNET_FS_unindex_make_status_().
struct TopLevelActivity* GNUNET_FS_Handle::top_head |
struct TopLevelActivity* GNUNET_FS_Handle::top_tail |
struct GNUNET_FS_QueueEntry* GNUNET_FS_Handle::running_head |
struct GNUNET_FS_QueueEntry* GNUNET_FS_Handle::running_tail |
struct GNUNET_FS_QueueEntry* GNUNET_FS_Handle::pending_head |
struct GNUNET_FS_QueueEntry* GNUNET_FS_Handle::pending_tail |
struct GNUNET_FS_SearchResult* GNUNET_FS_Handle::probes_head |
struct GNUNET_FS_SearchResult* GNUNET_FS_Handle::probes_tail |
struct GNUNET_SCHEDULER_Task* GNUNET_FS_Handle::queue_job |
struct GNUNET_SCHEDULER_Task* GNUNET_FS_Handle::probe_ping_task |
struct GNUNET_TIME_Relative GNUNET_FS_Handle::avg_block_latency |
Average time we take for a single request to be satisfied.
FIXME: not yet calculated properly...
Definition at line 1147 of file fs_api.h.
Referenced by GNUNET_FS_search_start_probe_().
unsigned int GNUNET_FS_Handle::active_downloads |
unsigned int GNUNET_FS_Handle::active_blocks |
enum GNUNET_FS_Flags GNUNET_FS_Handle::flags |
General flags.
Definition at line 1162 of file fs_api.h.
Referenced by GNUNET_FS_search_start_probe_(), and GNUNET_FS_start().
unsigned int GNUNET_FS_Handle::max_parallel_downloads |
unsigned int GNUNET_FS_Handle::max_parallel_requests |