tor
master
|
#include <or.h>
Data Fields | |
const char * | fname_base |
const char * | description |
tor_mmap_t * | mmap |
store_type_t | type |
size_t | journal_len |
size_t | store_len |
size_t | bytes_dropped |
A 'store' is a set of descriptors saved on disk, with accompanying journal, mmaped as needed, rebuilt as needed.
size_t bytes_dropped |
Total bytes dropped since last rebuild: this is space currently used in the cache and the journal that could be freed by a rebuild.
const char* description |
Human-readable description of what this store contains.
const char* fname_base |
Filename (within DataDir) for the store. We append .tmp to this filename for a temporary file when rebuilding the store, and .new to this filename for the journal.
size_t journal_len |
The size of the router log, in bytes.
tor_mmap_t* mmap |
A mmap for the main file in the store.
size_t store_len |
The size of the router store, in bytes.
store_type_t type |
What's stored in this store?