Information about an active download request. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/fs/fs_api.h>
Data Fields | |
struct DownloadRequest * | parent |
Parent in the CHK-tree. More... | |
struct DownloadRequest ** | children |
Array (!) of child-requests, or NULL for the bottom of the tree. More... | |
struct ContentHashKey | chk |
CHK for the request for this block (set during reconstruction to what we have on disk, later to what we want to have). More... | |
uint64_t | offset |
Offset of the corresponding block. More... | |
unsigned int | num_children |
Number of entries in children array. More... | |
unsigned int | depth |
Depth of the corresponding block in the tree. More... | |
unsigned int | chk_idx |
Offset of the CHK for this block in the parent block. More... | |
enum BlockRequestState | state |
State in the FSM. More... | |
struct DownloadRequest* DownloadRequest::parent |
Parent in the CHK-tree.
Definition at line 1680 of file fs_api.h.
Referenced by create_download_request(), process_result_with_request(), propagate_up(), read_download_request(), and try_top_down_reconstruction().
struct DownloadRequest** DownloadRequest::children |
Array (!) of child-requests, or NULL for the bottom of the tree.
Definition at line 1685 of file fs_api.h.
Referenced by create_download_request(), GNUNET_FS_free_download_request_(), process_result_with_request(), propagate_up(), read_download_request(), reconstruct_cb(), schedule_block_download(), try_match_block(), try_top_down_reconstruction(), and write_download_request().
struct ContentHashKey DownloadRequest::chk |
CHK for the request for this block (set during reconstruction to what we have on disk, later to what we want to have).
Definition at line 1691 of file fs_api.h.
Referenced by GNUNET_FS_download_start_task_(), process_result_with_request(), read_download_request(), reconstruct_cb(), retry_entry(), schedule_block_download(), try_match_block(), try_top_down_reconstruction(), and write_download_request().
uint64_t DownloadRequest::offset |
Offset of the corresponding block.
Specifically, first (!) byte of the first DBLOCK in the subtree induced by block represented by this request.
Definition at line 1698 of file fs_api.h.
Referenced by create_download_request(), encrypt_existing_match(), process_result_with_request(), read_download_request(), reconstruct_cb(), schedule_block_download(), try_match_block(), try_top_down_reconstruction(), and write_download_request().
unsigned int DownloadRequest::num_children |
Number of entries in children array.
Definition at line 1703 of file fs_api.h.
Referenced by create_download_request(), GNUNET_FS_free_download_request_(), process_result_with_request(), propagate_up(), read_download_request(), reconstruct_cb(), schedule_block_download(), try_match_block(), try_top_down_reconstruction(), and write_download_request().
unsigned int DownloadRequest::depth |
Depth of the corresponding block in the tree.
0==DBLOCKs.
Definition at line 1708 of file fs_api.h.
Referenced by create_download_request(), encrypt_existing_match(), process_result_with_request(), read_download_request(), reconstruct_cb(), retry_entry(), schedule_block_download(), try_match_block(), try_top_down_reconstruction(), and write_download_request().
unsigned int DownloadRequest::chk_idx |
Offset of the CHK for this block in the parent block.
Definition at line 1713 of file fs_api.h.
Referenced by create_download_request(), process_result_with_request(), reconstruct_cb(), and try_top_down_reconstruction().
enum BlockRequestState DownloadRequest::state |
State in the FSM.
Definition at line 1718 of file fs_api.h.
Referenced by GNUNET_FS_download_start_task_(), process_result_with_request(), propagate_up(), read_download_request(), reconstruct_cb(), httpdomain.autohttp.bottle.AutobottleDirective::run(), httpdomain.autohttp.flask.AutoflaskDirective::run(), httpdomain.autohttp.flaskqref.QuickReferenceFlaskDirective::run(), httpdomain.autohttp.tornado.AutoTornadoDirective::run(), typescriptdomain.TypeScriptDefinition::run(), schedule_block_download(), try_match_block(), try_top_down_reconstruction(), and write_download_request().