#include <or.h>
Data Fields | |
char * | dir |
char * | dir_z |
size_t | dir_len |
size_t | dir_z_len |
time_t | published |
digests_t | digests |
int | refcnt |
char* cached_dir_t::dir |
Contents of this object, NUL-terminated.
Referenced by clear_cached_dir(), directory_handle_command_get(), directory_set_dirty(), dirserv_regenerate_directory(), dirvote_perform_vote(), new_cached_dir(), and set_cached_dir().
char* cached_dir_t::dir_z |
Compressed contents of this object.
Referenced by clear_cached_dir(), connection_dirserv_add_dir_bytes_to_outbuf(), directory_handle_command_get(), new_cached_dir(), and set_cached_dir().
size_t cached_dir_t::dir_len |
Length of dir (not counting its NUL).
Referenced by directory_handle_command_get(), dirserv_estimate_data_size(), dirserv_regenerate_directory(), dirvote_perform_vote(), new_cached_dir(), and set_cached_dir().
size_t cached_dir_t::dir_z_len |
Length of dir_z.
Referenced by connection_dirserv_add_dir_bytes_to_outbuf(), directory_handle_command_get(), dirserv_estimate_data_size(), new_cached_dir(), and set_cached_dir().
time_t cached_dir_t::published |
When was this object published.
Referenced by directory_handle_command_get(), directory_set_dirty(), dirserv_clear_old_v1_info(), dirserv_remove_old_statuses(), dirserv_set_cached_networkstatus_v2(), networkstatus_set_current_consensus(), new_cached_dir(), and set_cached_dir().
Digests of this object (networkstatus only)
Referenced by dirserv_set_cached_consensus_networkstatus(), and networkstatus_set_current_consensus().
Reference count for this cached_dir_t.
Referenced by cached_dir_decref(), connection_dirserv_add_networkstatus_bytes_to_outbuf(), directory_handle_command_get(), and new_cached_dir().