Tor
0.4.9.2-alpha-dev
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
b
c
d
f
g
h
l
m
n
o
p
r
s
v
Enumerations
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
g
h
i
m
n
o
p
q
r
s
t
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
feature
nodelist
networkstatus_sr_info_st.h
Go to the documentation of this file.
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-2021, The Tor Project, Inc. */
5
/* See LICENSE for licensing information */
6
7
/**
8
* @file networkstatus_sr_info_st.h
9
* @brief Shared-randomness structure.
10
**/
11
12
#ifndef NETWORKSTATUS_SR_INFO_ST_H
13
#define NETWORKSTATUS_SR_INFO_ST_H
14
15
struct
networkstatus_sr_info_t
{
16
/* Indicate if the dirauth partitipates in the SR protocol with its vote.
17
* This is tied to the SR flag in the vote. */
18
unsigned
int
participate:1;
19
/* Both vote and consensus: Current and previous SRV. If list is empty,
20
* this means none were found in either the consensus or vote. */
21
struct
sr_srv_t
*previous_srv;
22
struct
sr_srv_t
*current_srv;
23
/* Vote only: List of commitments. */
24
smartlist_t
*commits;
25
};
26
27
#endif
/* !defined(NETWORKSTATUS_SR_INFO_ST_H) */
networkstatus_sr_info_t
Definition:
networkstatus_sr_info_st.h:15
smartlist_t
Definition:
smartlist_core.h:26
sr_srv_t
Definition:
shared_random.h:62
Generated by
1.9.4