GNUnet  0.10.x
Data Fields
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_CONTAINER_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 2712 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 2717 of file gnunet_fs_service.h.

◆ next

struct GNUNET_FS_ShareTreeItem* GNUNET_FS_ShareTreeItem::next

This is a doubly-linked list.

Definition at line 2722 of file gnunet_fs_service.h.

Referenced by advance(), get_file_information(), 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 2728 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 2734 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 2740 of file gnunet_fs_service.h.

Referenced by expand_tree(), and GNUNET_FS_share_tree_free().

◆ meta

struct GNUNET_CONTAINER_MetaData* GNUNET_FS_ShareTreeItem::meta

Metadata for this file or directory.

Definition at line 2745 of file gnunet_fs_service.h.

Referenced by get_file_information(), GNUNET_FS_share_tree_free(), migrate_and_drop_metadata(), process_helper_msgs(), and share_tree_trim().

◆ ksk_uri

struct GNUNET_FS_Uri* GNUNET_FS_ShareTreeItem::ksk_uri

◆ filename

char* GNUNET_FS_ShareTreeItem::filename

Name of the file/directory.

Definition at line 2755 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 2760 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

GNUNET_YES if this is a directory

Definition at line 2765 of file gnunet_fs_service.h.

Referenced by advance(), expand_tree(), get_file_information(), process_helper_msgs(), and share_tree_trim().


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