Tor  0.4.7.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 25 of file mmap.h.

Field Documentation

◆ data

const char* data

Mapping of the file's contents.

Definition at line 26 of file mmap.h.

Referenced by handle_response_fetch_consensus(), signed_descriptor_get_body_impl(), and storage_dir_map_labeled().

◆ size

size_t size

Size of the file.

Definition at line 27 of file mmap.h.

Referenced by handle_response_fetch_consensus(), and storage_dir_map_labeled().


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