Manage information for publishing directory hierarchies. More...
Go to the source code of this file.
Functions | |
| const char * | GNUNET_FS_file_information_get_id (struct GNUNET_FS_FileInformation *s) |
| Obtain the name under which this file information structure is stored on disk. | |
| const char * | GNUNET_FS_file_information_get_filename (const struct GNUNET_FS_FileInformation *s) |
| Obtain the filename from the file information structure. | |
| void | GNUNET_FS_file_information_set_filename (struct GNUNET_FS_FileInformation *s, const char *filename) |
| Set the filename in the file information structure. | |
| struct GNUNET_FS_FileInformation * | GNUNET_FS_file_information_create_from_file (struct GNUNET_FS_Handle *h, void *client_info, const char *filename, const struct GNUNET_FS_Uri *keywords, const struct GNUNET_FS_MetaData *meta, int do_index, const struct GNUNET_FS_BlockOptions *bo) |
| Create an entry for a file in a publish-structure. | |
| struct GNUNET_FS_FileInformation * | GNUNET_FS_file_information_create_from_data (struct GNUNET_FS_Handle *h, void *client_info, uint64_t length, void *data, const struct GNUNET_FS_Uri *keywords, const struct GNUNET_FS_MetaData *meta, int do_index, const struct GNUNET_FS_BlockOptions *bo) |
| Create an entry for a file in a publish-structure. | |
| struct GNUNET_FS_FileInformation * | GNUNET_FS_file_information_create_from_reader (struct GNUNET_FS_Handle *h, void *client_info, uint64_t length, GNUNET_FS_DataReader reader, void *reader_cls, const struct GNUNET_FS_Uri *keywords, const struct GNUNET_FS_MetaData *meta, int do_index, const struct GNUNET_FS_BlockOptions *bo) |
| Create an entry for a file in a publish-structure. | |
| int | GNUNET_FS_file_information_is_directory (const struct GNUNET_FS_FileInformation *ent) |
| Test if a given entry represents a directory. | |
| struct GNUNET_FS_FileInformation * | GNUNET_FS_file_information_create_empty_directory (struct GNUNET_FS_Handle *h, void *client_info, const struct GNUNET_FS_Uri *keywords, const struct GNUNET_FS_MetaData *meta, const struct GNUNET_FS_BlockOptions *bo, const char *filename) |
| Create an entry for an empty directory in a publish-structure. | |
| int | GNUNET_FS_file_information_add (struct GNUNET_FS_FileInformation *dir, struct GNUNET_FS_FileInformation *ent) |
| Add an entry to a directory in a publish-structure. | |
| void | GNUNET_FS_file_information_inspect (struct GNUNET_FS_FileInformation *dir, GNUNET_FS_FileInformationProcessor proc, void *proc_cls) |
| Inspect a file or directory in a publish-structure. | |
| void | GNUNET_FS_file_information_destroy (struct GNUNET_FS_FileInformation *fi, GNUNET_FS_FileInformationProcessor cleaner, void *cleaner_cls) |
| Destroy publish-structure. | |
Manage information for publishing directory hierarchies.
Definition in file fs_file_information.c.