GNUnet  0.11.x
Data Fields
TestDownloadOperation Struct Reference

Handle for a download operation started for testing FS. More...

Collaboration diagram for TestDownloadOperation:
[legend]

Data Fields

struct GNUNET_TESTBED_Operationfs_op
 Handle for the operation to connect to the peer's 'fs' service. More...
 
struct GNUNET_FS_Handlefs
 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_Uriuri
 URI to download. More...
 
struct GNUNET_SCHEDULER_Taskdownload_timeout_task
 Task to abort downloading (timeout). More...
 
struct GNUNET_FS_DownloadContextdownload_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...
 

Detailed Description

Handle for a download operation started for testing FS.

Definition at line 112 of file fs_test_lib.c.

Field Documentation

◆ fs_op

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().

◆ fs

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().

◆ daemon

struct GNUNET_TESTING_Daemon* TestDownloadOperation::daemon

Handle to the daemon via testing.

Definition at line 127 of file fs_test_lib.c.

◆ download_cont

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().

◆ download_cont_cls

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().

◆ uri

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().

◆ download_timeout_task

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().

◆ download_context

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().

◆ size

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().

◆ anonymity

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().

◆ download_seed

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().

◆ verbose

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(), and GNUNET_FS_TEST_download().


The documentation for this struct was generated from the following file: