Handle for a download operation started for testing FS. More...
Data Fields | |
struct GNUNET_TESTBED_Operation * | fs_op |
Handle for the operation to connect to the peer's 'fs' service. More... | |
struct GNUNET_FS_Handle * | fs |
Handle to the file sharing context using this daemon. More... | |
struct GNUNET_TESTING_Daemon * | daemon |
Handle to the daemon via testing. More... | |
GNUNET_SCHEDULER_TaskCallback | download_cont |
Function to call when download is done. More... | |
void * | download_cont_cls |
Closure for download_cont. More... | |
struct GNUNET_FS_Uri * | uri |
URI to download. More... | |
struct GNUNET_SCHEDULER_Task * | download_timeout_task |
Task to abort downloading (timeout). More... | |
struct GNUNET_FS_DownloadContext * | download_context |
Context for current download operation. More... | |
uint64_t | size |
Size of the file. More... | |
uint32_t | anonymity |
Anonymity level used. More... | |
uint32_t | download_seed |
Seed for download verification. More... | |
unsigned int | verbose |
Verbosity level of the current operation. More... | |
Handle for a download operation started for testing FS.
Definition at line 112 of file fs_test_lib.c.
struct GNUNET_TESTBED_Operation* TestDownloadOperation::fs_op |
Handle for the operation to connect to the peer's 'fs' service.
Definition at line 117 of file fs_test_lib.c.
Referenced by download_timeout(), GNUNET_FS_TEST_download(), and report_success().
struct GNUNET_FS_Handle* TestDownloadOperation::fs |
Handle to the file sharing context using this daemon.
Definition at line 122 of file fs_test_lib.c.
Referenced by download_fs_connect_complete_cb().
struct GNUNET_TESTING_Daemon* TestDownloadOperation::daemon |
Handle to the daemon via testing.
Definition at line 127 of file fs_test_lib.c.
GNUNET_SCHEDULER_TaskCallback TestDownloadOperation::download_cont |
Function to call when download is done.
Definition at line 132 of file fs_test_lib.c.
Referenced by download_timeout(), GNUNET_FS_TEST_download(), and report_success().
void* TestDownloadOperation::download_cont_cls |
Closure for download_cont.
Definition at line 137 of file fs_test_lib.c.
Referenced by download_timeout(), GNUNET_FS_TEST_download(), and report_success().
struct GNUNET_FS_Uri* TestDownloadOperation::uri |
URI to download.
Definition at line 142 of file fs_test_lib.c.
Referenced by download_fs_connect_complete_cb(), download_timeout(), GNUNET_FS_TEST_download(), and report_success().
struct GNUNET_SCHEDULER_Task* TestDownloadOperation::download_timeout_task |
Task to abort downloading (timeout).
Definition at line 147 of file fs_test_lib.c.
Referenced by download_progress_cb(), download_timeout(), and GNUNET_FS_TEST_download().
struct GNUNET_FS_DownloadContext* TestDownloadOperation::download_context |
Context for current download operation.
Definition at line 152 of file fs_test_lib.c.
Referenced by download_fs_connect_complete_cb(), download_timeout(), and report_success().
uint64_t TestDownloadOperation::size |
Size of the file.
Definition at line 157 of file fs_test_lib.c.
Referenced by download_fs_connect_complete_cb(), and GNUNET_FS_TEST_download().
uint32_t TestDownloadOperation::anonymity |
Anonymity level used.
Definition at line 162 of file fs_test_lib.c.
Referenced by download_fs_connect_complete_cb(), and GNUNET_FS_TEST_download().
uint32_t TestDownloadOperation::download_seed |
Seed for download verification.
Definition at line 167 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_download().
unsigned int TestDownloadOperation::verbose |
Verbosity level of the current operation.
Definition at line 172 of file fs_test_lib.c.
Referenced by download_progress_cb(), GNUNET_FS_TEST_download(), and gnunet_testing.Test::p().