tor  master
Data Fields
consensus_cache_t Struct Reference
Collaboration diagram for consensus_cache_t:
Collaboration graph
[legend]

Data Fields

storage_dir_tdir
 
smartlist_tentries
 
unsigned max_entries
 

Detailed Description

A consensus_cache_t holds a directory full of labeled items.

Field Documentation

◆ dir

Underling storage_dir_t to handle persistence

◆ entries

smartlist_t* entries

List of all the entries in the directory.

◆ max_entries

unsigned max_entries

The maximum number of entries that we'd like to allow in this cache. This is the same as the storagedir limit when MUST_UNMAP_TO_UNLINK is not defined.


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