GNUnet 0.22.2
GNUNET_FS_ShareTreeItem Struct Reference

A node of a directory tree (produced by dirscanner) More...

#include <gnunet_fs_service.h>

Collaboration diagram for GNUNET_FS_ShareTreeItem:
[legend]

Data Fields

struct GNUNET_FS_ShareTreeItemprev
 This is a doubly-linked list. More...
 
struct GNUNET_FS_ShareTreeItemnext
 This is a doubly-linked list. More...
 
struct GNUNET_FS_ShareTreeItemparent
 This is a doubly-linked tree NULL for top-level entries. More...
 
struct GNUNET_FS_ShareTreeItemchildren_head
 This is a doubly-linked tree NULL for files and empty directories. More...
 
struct GNUNET_FS_ShareTreeItemchildren_tail
 This is a doubly-linked tree NULL for files and empty directories. More...
 
struct GNUNET_FS_MetaDatameta
 Metadata for this file or directory. More...
 
struct GNUNET_FS_Uriksk_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...
 

Detailed Description

A node of a directory tree (produced by dirscanner)

Definition at line 2781 of file gnunet_fs_service.h.

Field Documentation

◆ prev

struct GNUNET_FS_ShareTreeItem* GNUNET_FS_ShareTreeItem::prev

This is a doubly-linked list.

Definition at line 2786 of file gnunet_fs_service.h.

◆ next

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().

◆ parent

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().

◆ children_head

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().

◆ children_tail

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().

◆ meta

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().

◆ ksk_uri

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().

◆ filename

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().

◆ short_filename

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().

◆ is_directory

int GNUNET_FS_ShareTreeItem::is_directory

The documentation for this struct was generated from the following file: