tor  0.4.1.0-alpha-dev
cached_dir_st.h
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef CACHED_DIR_ST_H
8 #define CACHED_DIR_ST_H
9 
12 struct cached_dir_t {
13  char *dir;
15  size_t dir_len;
17  time_t published;
21  int refcnt;
22 };
23 
24 #endif
25 
time_t published
Definition: cached_dir_st.h:17
char * dir_compressed
Definition: cached_dir_st.h:14
size_t dir_compressed_len
Definition: cached_dir_st.h:16
#define DIGEST256_LEN
Definition: digest_sizes.h:23
uint8_t digest_sha3_as_signed[DIGEST256_LEN]
Definition: cached_dir_st.h:20
size_t dir_len
Definition: cached_dir_st.h:15
common_digests_t digests
Definition: cached_dir_st.h:18