Tor  0.4.7.0-alpha-dev
Data Fields
consensus_cache_t Struct Reference

Data Fields

storage_dir_tdir
 
smartlist_tentries
 
unsigned max_entries
 

Detailed Description

A consensus_cache_t holds a directory full of labeled items.

Definition at line 62 of file conscache.c.

Field Documentation

◆ dir

◆ entries

smartlist_t* entries

◆ 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.

Definition at line 71 of file conscache.c.

Referenced by consensus_cache_get_n_filenames_available().


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