tor  master
Data Fields
cached_dir_t Struct Reference

#include <or.h>

Collaboration diagram for cached_dir_t:
Collaboration graph
[legend]

Data Fields

char * dir
 
char * dir_compressed
 
size_t dir_len
 
size_t dir_compressed_len
 
time_t published
 
common_digests_t digests
 
uint8_t digest_sha3_as_signed [DIGEST256_LEN]
 
int refcnt
 

Detailed Description

A cached_dir_t represents a cacheable directory object, along with its compressed form.

Field Documentation

◆ digest_sha3_as_signed

uint8_t digest_sha3_as_signed[DIGEST256_LEN]

Sha3 digest (also ns only)

◆ digests

Digests of this object (networkstatus only)

◆ dir

char* dir

Contents of this object, NUL-terminated.

◆ dir_compressed

char* dir_compressed

Compressed contents of this object.

◆ dir_compressed_len

size_t dir_compressed_len

Length of dir_compressed.

◆ dir_len

size_t dir_len

Length of dir (not counting its NUL).

◆ published

time_t published

When was this object published.

◆ refcnt

int refcnt

Reference count for this cached_dir_t.


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