From e7926986c823043a6296a73a518f21ad0d39a4b4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Jan 2012 21:20:23 +0000 Subject: -towards external meta scanner process --- src/include/gnunet_fs_service.h | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'src/include/gnunet_fs_service.h') diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index f8a20c75b..e723d6457 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h @@ -2608,9 +2608,10 @@ enum GNUNET_FS_DirScannerProgressUpdateReason GNUNET_FS_DIRSCANNER_FILE_START = 0, /** - * We've finished processing a subtree in the pre-pass. + * We're having trouble accessing a file (soft-error); it will + * be ignored. */ - GNUNET_FS_DIRSCANNER_SUBTREE_COUNTED, + GNUNET_FS_DIRSCANNER_FILE_IGNORED, /** * We've found all files (in the pre-pass). @@ -2628,12 +2629,6 @@ enum GNUNET_FS_DirScannerProgressUpdateReason */ GNUNET_FS_DIRSCANNER_FINISHED, - /** - * We're having trouble accessing a file (soft-error); it will - * be ignored. - */ - GNUNET_FS_DIRSCANNER_DOES_NOT_EXIST, - /** * There was an internal error. Application should abort the scan. */ @@ -2647,7 +2642,6 @@ enum GNUNET_FS_DirScannerProgressUpdateReason * progress on the job at hand. * * @param cls closure - * @param ds handle to the directory scanner (NEEDED!?) * @param filename which file we are making progress on * @param is_directory GNUNET_YES if this is a directory, * GNUNET_NO if this is a file @@ -2655,7 +2649,6 @@ enum GNUNET_FS_DirScannerProgressUpdateReason * @param reason kind of progress we are making */ typedef void (*GNUNET_FS_DirScannerProgressCallback) (void *cls, - struct GNUNET_FS_DirScanner *ds, const char *filename, int is_directory, enum GNUNET_FS_DirScannerProgressUpdateReason reason); @@ -2710,15 +2703,10 @@ struct GNUNET_FS_ShareTreeItem char *filename; /** - * Base name of the file/directory + * Base name of the file/directory; FIXME: needed? */ char *short_filename; - /** - * Size of the file (if it is a file), in bytes - */ - uint64_t file_size; - /** * GNUNET_YES if this is a directory */ -- cgit v1.2.3