aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_file_information.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs_file_information.c')
-rw-r--r--src/fs/fs_file_information.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c
index e173b1149..84b79866a 100644
--- a/src/fs/fs_file_information.c
+++ b/src/fs/fs_file_information.c
@@ -53,11 +53,11 @@ GNUNET_FS_file_information_sync (struct GNUNET_FS_FileInformation * fi)
53 * Load file information from the file to which 53 * Load file information from the file to which
54 * it was sync'ed. 54 * it was sync'ed.
55 * 55 *
56 * @param filename name of the file to use 56 * @param fn name of the file to use
57 * @return NULL on error 57 * @return NULL on error
58 */ 58 */
59struct GNUNET_FS_FileInformation * 59struct GNUNET_FS_FileInformation *
60GNUNET_FS_file_information_recover (const char *name) 60GNUNET_FS_file_information_recover (const char *fn)
61{ 61{
62 struct GNUNET_FS_FileInformation *ret; 62 struct GNUNET_FS_FileInformation *ret;
63 ret = NULL; 63 ret = NULL;
@@ -173,6 +173,7 @@ data_reader_file(void *cls,
173/** 173/**
174 * Create an entry for a file in a publish-structure. 174 * Create an entry for a file in a publish-structure.
175 * 175 *
176 * @param client_info initial value for the client-info value for this entry
176 * @param filename name of the file or directory to publish 177 * @param filename name of the file or directory to publish
177 * @param keywords under which keywords should this file be available 178 * @param keywords under which keywords should this file be available
178 * directly; can be NULL 179 * directly; can be NULL
@@ -258,6 +259,7 @@ data_reader_copy(void *cls,
258/** 259/**
259 * Create an entry for a file in a publish-structure. 260 * Create an entry for a file in a publish-structure.
260 * 261 *
262 * @param client_info initial value for the client-info value for this entry
261 * @param length length of the file 263 * @param length length of the file
262 * @param data data for the file (should not be used afterwards by 264 * @param data data for the file (should not be used afterwards by
263 * the caller; caller will "free") 265 * the caller; caller will "free")
@@ -300,6 +302,7 @@ GNUNET_FS_file_information_create_from_data (void *client_info,
300/** 302/**
301 * Create an entry for a file in a publish-structure. 303 * Create an entry for a file in a publish-structure.
302 * 304 *
305 * @param client_info initial value for the client-info value for this entry
303 * @param length length of the file 306 * @param length length of the file
304 * @param reader function that can be used to obtain the data for the file 307 * @param reader function that can be used to obtain the data for the file
305 * @param reader_cls closure for "reader" 308 * @param reader_cls closure for "reader"
@@ -575,6 +578,7 @@ dirproc (void *cls,
575 * passed (GNUNET_FS_directory_scanner_default). This is strictly a 578 * passed (GNUNET_FS_directory_scanner_default). This is strictly a
576 * convenience function. 579 * convenience function.
577 * 580 *
581 * @param client_info initial value for the client-info value for this entry
578 * @param filename name of the top-level file or directory 582 * @param filename name of the top-level file or directory
579 * @param scanner function used to get a list of files in a directory 583 * @param scanner function used to get a list of files in a directory
580 * @param scanner_cls closure for scanner 584 * @param scanner_cls closure for scanner
@@ -642,6 +646,7 @@ GNUNET_FS_file_information_create_from_directory (void *client_info,
642 * use of "GNUNET_FS_file_information_create_from_directory" 646 * use of "GNUNET_FS_file_information_create_from_directory"
643 * is not appropriate. 647 * is not appropriate.
644 * 648 *
649 * @param client_info initial value for the client-info value for this entry
645 * @param meta metadata for the directory 650 * @param meta metadata for the directory
646 * @param keywords under which keywords should this directory be available 651 * @param keywords under which keywords should this directory be available
647 * directly; can be NULL 652 * directly; can be NULL