tor  0.4.0.1-alpha
signed_descriptor_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 SIGNED_DESCRIPTOR_ST_H
8 #define SIGNED_DESCRIPTOR_ST_H
9 
10 #include "feature/dirclient/download_status_st.h"
11 
28  time_t published_on;
42  off_t saved_offset;
49  /* If true, we do not ever try to save this object in the cache. */
50  unsigned int do_not_cache : 1;
51  /* If true, this item is meant to represent an extrainfo. */
52  unsigned int is_extrainfo : 1;
53  /* If true, we got an extrainfo for this item, and the digest was right,
54  * but it was incompatible. */
55  unsigned int extrainfo_is_bogus : 1;
56  /* If true, we are willing to transmit this item unencrypted. */
57  unsigned int send_unencrypted : 1;
58 };
59 
60 #endif
61 
saved_location_t saved_location
char extra_info_digest[DIGEST_LEN]
char extra_info_digest256[DIGEST256_LEN]
char signed_descriptor_digest[DIGEST_LEN]
struct tor_cert_st * signing_key_cert
saved_location_t
Definition: or.h:746
#define DIGEST256_LEN
Definition: digest_sizes.h:23
#define DIGEST_LEN
Definition: digest_sizes.h:20
char identity_digest[DIGEST_LEN]
download_status_t ei_dl_status