/**
* Create an entry for a file in a publish-structure.
*
+ * @param client_info initial client-info value for this entry
* @param filename name of the file or directory to publish
* @param keywords under which keywords should this file be available
* directly; can be NULL
/**
* Create an entry for a file in a publish-structure.
*
+ * @param client_info initial client-info value for this entry
* @param length length of the file
* @param data data for the file (should not be used afterwards by
* the caller; callee will "free")
/**
* Create an entry for a file in a publish-structure.
*
+ * @param client_info initial client-info value for this entry
* @param length length of the file
* @param reader function that can be used to obtain the data for the file
* @param reader_cls closure for "reader"
* passed (GNUNET_FS_directory_scanner_default). This is strictly a
* convenience function.
*
+ * @param client_info initial client-info value for this entry
* @param filename name of the top-level file or directory
* @param scanner function used to get a list of files in a directory
* @param scanner_cls closure for scanner
* use of "GNUNET_FS_file_information_create_from_directory"
* is not appropriate.
*
- * @param meta metadata for the directory
+ * @param client_info initial client-info value for this entry
* @param keywords under which keywords should this directory be available
* directly; can be NULL
+ * @param meta metadata for the directory
* @param anonymity what is the desired anonymity level for sharing?
* @param priority what is the priority for OUR node to
* keep this file available? Use 0 for maximum anonymity and
*/
struct GNUNET_FS_FileInformation *
GNUNET_FS_file_information_create_empty_directory (void *client_info,
- const struct GNUNET_CONTAINER_MetaData *meta,
const struct GNUNET_FS_Uri *keywords,
+ const struct GNUNET_CONTAINER_MetaData *meta,
uint32_t anonymity,
uint32_t priority,
struct GNUNET_TIME_Absolute expirationTime);