tor  0.4.2.0-alpha-dev
networkstatus_sr_info_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 NETWORKSTATUS_SR_INFO_ST_H
8 #define NETWORKSTATUS_SR_INFO_ST_H
9 
11  /* Indicate if the dirauth partitipates in the SR protocol with its vote.
12  * This is tied to the SR flag in the vote. */
13  unsigned int participate:1;
14  /* Both vote and consensus: Current and previous SRV. If list is empty,
15  * this means none were found in either the consensus or vote. */
16  struct sr_srv_t *previous_srv;
17  struct sr_srv_t *current_srv;
18  /* Vote only: List of commitments. */
19  smartlist_t *commits;
20 };
21 
22 #endif /* !defined(NETWORKSTATUS_SR_INFO_ST_H) */
23