Handle for a publishing 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... | |
GNUNET_FS_TEST_UriContinuation | publish_cont |
Function to call when upload is done. More... | |
void * | publish_cont_cls |
Closure for publish_cont. More... | |
struct GNUNET_SCHEDULER_Task * | publish_timeout_task |
Task to abort publishing (timeout). More... | |
uint32_t | publish_seed |
Seed for file generation. More... | |
struct GNUNET_FS_PublishContext * | publish_context |
Context for current publishing operation. More... | |
struct GNUNET_FS_Uri * | publish_uri |
Result URI. More... | |
char * | publish_tmp_file |
Name of the temporary file used, or NULL for none. More... | |
uint64_t | size |
Size of the file. More... | |
uint32_t | anonymity |
Anonymity level used. More... | |
unsigned int | verbose |
Verbosity level of the current operation. More... | |
int | do_index |
Are we testing indexing? (YES: index, NO: insert, SYSERR: simulate) More... | |
Handle for a publishing operation started for testing FS.
Definition at line 40 of file fs_test_lib.c.
struct GNUNET_TESTBED_Operation* TestPublishOperation::fs_op |
Handle for the operation to connect to the peer's 'fs' service.
Definition at line 45 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_publish(), publish_fs_connect_complete_cb(), publish_timeout(), and report_uri().
struct GNUNET_FS_Handle* TestPublishOperation::fs |
Handle to the file sharing context using this daemon.
Definition at line 50 of file fs_test_lib.c.
Referenced by publish_fs_connect_complete_cb().
GNUNET_FS_TEST_UriContinuation TestPublishOperation::publish_cont |
Function to call when upload is done.
Definition at line 55 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_publish(), publish_fs_connect_complete_cb(), publish_timeout(), and report_uri().
void* TestPublishOperation::publish_cont_cls |
Closure for publish_cont.
Definition at line 60 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_publish(), publish_fs_connect_complete_cb(), publish_timeout(), and report_uri().
struct GNUNET_SCHEDULER_Task* TestPublishOperation::publish_timeout_task |
Task to abort publishing (timeout).
Definition at line 65 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_publish(), publish_progress_cb(), and publish_timeout().
uint32_t TestPublishOperation::publish_seed |
Seed for file generation.
Definition at line 70 of file fs_test_lib.c.
Referenced by file_generator(), GNUNET_FS_TEST_publish(), and publish_fs_connect_complete_cb().
struct GNUNET_FS_PublishContext* TestPublishOperation::publish_context |
Context for current publishing operation.
Definition at line 75 of file fs_test_lib.c.
Referenced by publish_fs_connect_complete_cb(), publish_timeout(), and report_uri().
struct GNUNET_FS_Uri* TestPublishOperation::publish_uri |
Result URI.
Definition at line 80 of file fs_test_lib.c.
Referenced by publish_progress_cb(), and report_uri().
char* TestPublishOperation::publish_tmp_file |
Name of the temporary file used, or NULL for none.
Definition at line 85 of file fs_test_lib.c.
Referenced by publish_fs_connect_complete_cb(), publish_timeout(), and report_uri().
uint64_t TestPublishOperation::size |
Size of the file.
Definition at line 90 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_publish(), and publish_fs_connect_complete_cb().
uint32_t TestPublishOperation::anonymity |
Anonymity level used.
Definition at line 95 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_publish(), and publish_fs_connect_complete_cb().
unsigned int TestPublishOperation::verbose |
Verbosity level of the current operation.
Definition at line 100 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_publish(), gnunet_testing.Test::p(), and publish_progress_cb().
int TestPublishOperation::do_index |
Are we testing indexing? (YES: index, NO: insert, SYSERR: simulate)
Definition at line 105 of file fs_test_lib.c.
Referenced by GNUNET_FS_TEST_publish(), publish_fs_connect_complete_cb(), and report_uri().