tor  0.4.1.0-alpha-dev
extrainfo_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 EXTRAINFO_ST_H
8 #define EXTRAINFO_ST_H
9 
10 #include "feature/nodelist/signed_descriptor_st.h"
11 
13 struct extrainfo_t {
14  signed_descriptor_t cache_info;
21  unsigned int bad_sig : 1;
24  char *pending_sig;
27 };
28 
29 #endif
30 
char nickname[MAX_NICKNAME_LEN+1]
Definition: extrainfo_st.h:18
#define MAX_NICKNAME_LEN
Definition: or.h:113
#define DIGEST256_LEN
Definition: digest_sizes.h:23
unsigned int bad_sig
Definition: extrainfo_st.h:21
uint8_t digest256[DIGEST256_LEN]
Definition: extrainfo_st.h:16
char * pending_sig
Definition: extrainfo_st.h:24
size_t pending_sig_len
Definition: extrainfo_st.h:26