An opaque structure a pointer to which is returned to the caller to be used to control the scanner. More...
Data Fields | |
struct GNUNET_HELPER_Handle * | helper |
Helper process. More... | |
char * | filename_expanded |
Expanded filename (as given by the scan initiator). More... | |
char * | ex_arg |
Second argument to helper process. More... | |
GNUNET_FS_DirScannerProgressCallback | progress_callback |
The function that will be called every time there's a progress message. More... | |
void * | progress_callback_cls |
A closure for progress_callback. More... | |
struct GNUNET_FS_ShareTreeItem * | toplevel |
After the scan is finished, it will contain a pointer to the top-level directory entry in the directory tree built by the scanner. More... | |
struct GNUNET_FS_ShareTreeItem * | pos |
Current position during processing. More... | |
struct GNUNET_SCHEDULER_Task * | stop_task |
Task scheduled when we are done. More... | |
char * | args [4] |
Arguments for helper. More... | |
An opaque structure a pointer to which is returned to the caller to be used to control the scanner.
Definition at line 39 of file fs_dirmetascan.c.
struct GNUNET_HELPER_Handle* GNUNET_FS_DirScanner::helper |
Helper process.
Definition at line 44 of file fs_dirmetascan.c.
Referenced by finish_scan(), GNUNET_FS_directory_scan_abort(), GNUNET_FS_directory_scan_get_result(), GNUNET_FS_directory_scan_start(), and helper_died_cb().
char* GNUNET_FS_DirScanner::filename_expanded |
Expanded filename (as given by the scan initiator).
The scanner thread stores a copy here, and frees it when it finishes.
Definition at line 50 of file fs_dirmetascan.c.
Referenced by GNUNET_FS_directory_scan_abort(), and GNUNET_FS_directory_scan_start().
char* GNUNET_FS_DirScanner::ex_arg |
Second argument to helper process.
Definition at line 55 of file fs_dirmetascan.c.
Referenced by GNUNET_FS_directory_scan_abort(), and GNUNET_FS_directory_scan_start().
GNUNET_FS_DirScannerProgressCallback GNUNET_FS_DirScanner::progress_callback |
The function that will be called every time there's a progress message.
Definition at line 61 of file fs_dirmetascan.c.
Referenced by finish_scan(), GNUNET_FS_directory_scan_start(), helper_died_cb(), and process_helper_msgs().
void* GNUNET_FS_DirScanner::progress_callback_cls |
A closure for progress_callback.
Definition at line 66 of file fs_dirmetascan.c.
Referenced by finish_scan(), GNUNET_FS_directory_scan_start(), helper_died_cb(), and process_helper_msgs().
struct GNUNET_FS_ShareTreeItem* GNUNET_FS_DirScanner::toplevel |
After the scan is finished, it will contain a pointer to the top-level directory entry in the directory tree built by the scanner.
Definition at line 73 of file fs_dirmetascan.c.
Referenced by GNUNET_FS_directory_scan_abort(), GNUNET_FS_directory_scan_get_result(), and process_helper_msgs().
struct GNUNET_FS_ShareTreeItem* GNUNET_FS_DirScanner::pos |
Current position during processing.
Definition at line 78 of file fs_dirmetascan.c.
Referenced by process_helper_msgs().
struct GNUNET_SCHEDULER_Task* GNUNET_FS_DirScanner::stop_task |
Task scheduled when we are done.
Definition at line 83 of file fs_dirmetascan.c.
Referenced by finish_scan(), GNUNET_FS_directory_scan_abort(), helper_died_cb(), and process_helper_msgs().
char* GNUNET_FS_DirScanner::args[4] |
Arguments for helper.
Definition at line 88 of file fs_dirmetascan.c.
Referenced by GNUNET_FS_directory_scan_start().