Tor
0.4.7.0-alpha-dev
|
#include <cached_dir_st.h>
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 |
A cached_dir_t represents a cacheable directory object, along with its compressed form.
Definition at line 17 of file cached_dir_st.h.
uint8_t digest_sha3_as_signed[DIGEST256_LEN] |
Sha3 digest (also ns only)
Definition at line 25 of file cached_dir_st.h.
common_digests_t digests |
Digests of this object (networkstatus only)
Definition at line 23 of file cached_dir_st.h.
char* dir |
Contents of this object, NUL-terminated.
Definition at line 18 of file cached_dir_st.h.
Referenced by clear_cached_dir(), and handle_response_fetch_consensus().
char* dir_compressed |
Compressed contents of this object.
Definition at line 19 of file cached_dir_st.h.
Referenced by clear_cached_dir().
size_t dir_compressed_len |
Length of dir_compressed.
Definition at line 21 of file cached_dir_st.h.
Referenced by spooled_resource_estimate_size().
size_t dir_len |
Length of dir (not counting its NUL).
Definition at line 20 of file cached_dir_st.h.
Referenced by handle_response_fetch_consensus(), and spooled_resource_estimate_size().
time_t published |
When was this object published.
Definition at line 22 of file cached_dir_st.h.
Referenced by spooled_resource_lookup_cached_dir().
int refcnt |
Reference count for this cached_dir_t.
Definition at line 26 of file cached_dir_st.h.
Referenced by cached_dir_decref().