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
hs
hsdir_index_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 hsdir_index_st.h
9
* @brief HS directory index structure
10
**/
11
12
#ifndef HSDIR_INDEX_ST_H
13
#define HSDIR_INDEX_ST_H
14
15
/** Hidden service directory index used in a node_t which is set once we set
16
* the consensus. */
17
struct
hsdir_index_t
{
18
/** HSDir index to use when fetching a descriptor. */
19
uint8_t
fetch
[
DIGEST256_LEN
];
20
21
/** HSDir index used by services to store their first and second
22
* descriptor. The first descriptor is chronologically older than the second
23
* one and uses older TP and SRV values. */
24
uint8_t
store_first
[
DIGEST256_LEN
];
25
/** Newer index, for second descriptor. */
26
uint8_t
store_second
[
DIGEST256_LEN
];
27
};
28
29
#endif
/* !defined(HSDIR_INDEX_ST_H) */
DIGEST256_LEN
#define DIGEST256_LEN
Definition:
digest_sizes.h:23
hsdir_index_t
Definition:
hsdir_index_st.h:17
hsdir_index_t::fetch
uint8_t fetch[DIGEST256_LEN]
Definition:
hsdir_index_st.h:19
hsdir_index_t::store_first
uint8_t store_first[DIGEST256_LEN]
Definition:
hsdir_index_st.h:24
hsdir_index_t::store_second
uint8_t store_second[DIGEST256_LEN]
Definition:
hsdir_index_st.h:26
Generated by
1.9.4