A node of a directory tree (produced by dirscanner) More...
#include <gnunet_fs_service.h>
Data Fields | |
struct GNUNET_FS_ShareTreeItem * | prev |
This is a doubly-linked list. More... | |
struct GNUNET_FS_ShareTreeItem * | next |
This is a doubly-linked list. More... | |
struct GNUNET_FS_ShareTreeItem * | parent |
This is a doubly-linked tree NULL for top-level entries. More... | |
struct GNUNET_FS_ShareTreeItem * | children_head |
This is a doubly-linked tree NULL for files and empty directories. More... | |
struct GNUNET_FS_ShareTreeItem * | children_tail |
This is a doubly-linked tree NULL for files and empty directories. More... | |
struct GNUNET_FS_MetaData * | meta |
Metadata for this file or directory. More... | |
struct GNUNET_FS_Uri * | ksk_uri |
Keywords for this file or directory (derived from metadata). More... | |
char * | filename |
Name of the file/directory. More... | |
char * | short_filename |
Base name of the file/directory. More... | |
int | is_directory |
GNUNET_YES if this is a directory More... | |
A node of a directory tree (produced by dirscanner)
Definition at line 2781 of file gnunet_fs_service.h.
struct GNUNET_FS_ShareTreeItem* GNUNET_FS_ShareTreeItem::prev |
This is a doubly-linked list.
Definition at line 2786 of file gnunet_fs_service.h.
struct GNUNET_FS_ShareTreeItem* GNUNET_FS_ShareTreeItem::next |
This is a doubly-linked list.
Definition at line 2791 of file gnunet_fs_service.h.
Referenced by advance(), and share_tree_trim().
struct GNUNET_FS_ShareTreeItem* GNUNET_FS_ShareTreeItem::parent |
This is a doubly-linked tree NULL for top-level entries.
Definition at line 2797 of file gnunet_fs_service.h.
Referenced by advance(), expand_tree(), GNUNET_FS_share_tree_free(), and process_helper_msgs().
struct GNUNET_FS_ShareTreeItem* GNUNET_FS_ShareTreeItem::children_head |
This is a doubly-linked tree NULL for files and empty directories.
Definition at line 2803 of file gnunet_fs_service.h.
Referenced by advance(), expand_tree(), get_file_information(), GNUNET_FS_share_tree_free(), and share_tree_trim().
struct GNUNET_FS_ShareTreeItem* GNUNET_FS_ShareTreeItem::children_tail |
This is a doubly-linked tree NULL for files and empty directories.
Definition at line 2809 of file gnunet_fs_service.h.
Referenced by expand_tree(), and GNUNET_FS_share_tree_free().
struct GNUNET_FS_MetaData* GNUNET_FS_ShareTreeItem::meta |
Metadata for this file or directory.
Definition at line 2814 of file gnunet_fs_service.h.
Referenced by get_file_information(), GNUNET_FS_share_tree_free(), process_helper_msgs(), and share_tree_trim().
struct GNUNET_FS_Uri* GNUNET_FS_ShareTreeItem::ksk_uri |
Keywords for this file or directory (derived from metadata).
Definition at line 2819 of file gnunet_fs_service.h.
Referenced by get_file_information(), GNUNET_FS_share_tree_free(), process_helper_msgs(), share_tree_trim(), and unindex_directory_scan_cb().
char* GNUNET_FS_ShareTreeItem::filename |
Name of the file/directory.
Definition at line 2824 of file gnunet_fs_service.h.
Referenced by expand_tree(), get_file_information(), GNUNET_FS_share_tree_free(), and process_helper_msgs().
char* GNUNET_FS_ShareTreeItem::short_filename |
Base name of the file/directory.
Definition at line 2829 of file gnunet_fs_service.h.
Referenced by expand_tree(), GNUNET_FS_share_tree_free(), process_helper_msgs(), and share_tree_trim().
int GNUNET_FS_ShareTreeItem::is_directory |
GNUNET_YES if this is a directory
Definition at line 2834 of file gnunet_fs_service.h.
Referenced by advance(), directory_scan_cb(), expand_tree(), get_file_information(), process_helper_msgs(), and share_tree_trim().