tor  0.4.2.0-alpha-dev
Data Fields
tor_mmap_t Struct Reference

#include <mmap.h>

Data Fields

const char * data
 
size_t size
 

Detailed Description

Represents an mmaped file. Allocated via tor_mmap_file; freed with tor_munmap_file.

Definition at line 24 of file mmap.h.

Field Documentation

◆ data

const char* tor_mmap_t::data

Mapping of the file's contents.

Definition at line 25 of file mmap.h.

Referenced by signed_descriptor_get_body_impl(), and storage_dir_map_labeled().

◆ size

size_t tor_mmap_t::size

Size of the file.

Definition at line 26 of file mmap.h.

Referenced by storage_dir_map_labeled().


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