Data Fields
consensus_cache_t Struct Reference

Data Fields

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: