GNUnet  0.11.x
Data Fields
TrimContext Struct Reference

A structure that forms a singly-linked list that serves as a stack for metadata-processing function. More...

Collaboration diagram for TrimContext:
[legend]

Data Fields

struct GNUNET_CONTAINER_MultiHashMapkeywordcounter
 Map from the hash over the keyword to an 'struct KeywordCounter *' counter that says how often this keyword was encountered in the current directory. More...
 
struct GNUNET_CONTAINER_MultiHashMapmetacounter
 Map from the hash over the metadata to an 'struct MetaCounter *' counter that says how often this metadata was encountered in the current directory. More...
 
struct GNUNET_FS_ShareTreeItempos
 Position we are currently manipulating. More...
 
unsigned int move_threshold
 Number of times an item has to be found to be moved to the parent. More...
 

Detailed Description

A structure that forms a singly-linked list that serves as a stack for metadata-processing function.

Definition at line 118 of file fs_sharetree.c.

Field Documentation

◆ keywordcounter

struct GNUNET_CONTAINER_MultiHashMap* TrimContext::keywordcounter

Map from the hash over the keyword to an 'struct KeywordCounter *' counter that says how often this keyword was encountered in the current directory.

Definition at line 125 of file fs_sharetree.c.

Referenced by GNUNET_FS_share_tree_trim(), migrate_and_drop_keywords(), remove_high_frequency_keywords(), and share_tree_trim().

◆ metacounter

struct GNUNET_CONTAINER_MultiHashMap* TrimContext::metacounter

Map from the hash over the metadata to an 'struct MetaCounter *' counter that says how often this metadata was encountered in the current directory.

Definition at line 132 of file fs_sharetree.c.

Referenced by GNUNET_FS_share_tree_trim(), migrate_and_drop_metadata(), and share_tree_trim().

◆ pos

struct GNUNET_FS_ShareTreeItem* TrimContext::pos

Position we are currently manipulating.

Definition at line 137 of file fs_sharetree.c.

Referenced by migrate_and_drop_keywords(), migrate_and_drop_metadata(), remove_high_frequency_keywords(), and share_tree_trim().

◆ move_threshold

unsigned int TrimContext::move_threshold

Number of times an item has to be found to be moved to the parent.

Definition at line 142 of file fs_sharetree.c.

Referenced by migrate_and_drop_keywords(), migrate_and_drop_metadata(), remove_high_frequency_keywords(), and share_tree_trim().


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