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
routerinfo.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 routerinfo.h
9
* \brief Header file for routerinfo.c.
10
**/
11
12
#ifndef TOR_ROUTERINFO_H
13
#define TOR_ROUTERINFO_H
14
15
int
router_get_orport
(
const
routerinfo_t
*router,
16
tor_addr_port_t
*addr_port_out,
17
int
family);
18
int
router_has_orport(
const
routerinfo_t
*router,
19
const
tor_addr_port_t
*orport);
20
21
struct
ed25519_public_key_t
;
22
const
struct
ed25519_public_key_t
*
routerinfo_get_ed25519_id
(
23
const
routerinfo_t
*ri);
24
25
smartlist_t
*
router_get_all_orports
(
const
routerinfo_t
*ri);
26
27
const
char
*
router_purpose_to_string
(uint8_t p);
28
uint8_t
router_purpose_from_string
(
const
char
*s);
29
30
#endif
/* !defined(TOR_ROUTERINFO_H) */
router_purpose_to_string
const char * router_purpose_to_string(uint8_t p)
Definition:
routerinfo.c:98
router_purpose_from_string
uint8_t router_purpose_from_string(const char *s)
Definition:
routerinfo.c:113
router_get_orport
int router_get_orport(const routerinfo_t *router, tor_addr_port_t *addr_port_out, int family)
Definition:
routerinfo.c:27
routerinfo_get_ed25519_id
const struct ed25519_public_key_t * routerinfo_get_ed25519_id(const routerinfo_t *ri)
Definition:
routerinfo.c:82
router_get_all_orports
smartlist_t * router_get_all_orports(const routerinfo_t *ri)
Definition:
routerinfo.c:68
ed25519_public_key_t
Definition:
crypto_ed25519.h:23
routerinfo_t
Definition:
routerinfo_st.h:21
smartlist_t
Definition:
smartlist_core.h:26
tor_addr_port_t
Definition:
address.h:81
Generated by
1.9.4