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
y
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
y
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
relay
relay_periodic.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 relay_periodic.h
9
* @brief Header for feature/relay/relay_periodic.c
10
**/
11
12
#ifndef TOR_FEATURE_RELAY_RELAY_PERIODIC_H
13
#define TOR_FEATURE_RELAY_RELAY_PERIODIC_H
14
15
#ifdef HAVE_MODULE_RELAY
16
17
void
relay_register_periodic_events(
void
);
18
void
reschedule_descriptor_update_check
(
void
);
19
20
#else
/* !defined(HAVE_MODULE_RELAY) */
21
22
#include "
lib/cc/compat_compiler.h
"
23
24
#define relay_register_periodic_events() \
25
STMT_NIL
26
#define reschedule_descriptor_update_check() \
27
STMT_NIL
28
29
#endif
/* defined(HAVE_MODULE_RELAY) */
30
31
#endif
/* !defined(TOR_FEATURE_RELAY_RELAY_PERIODIC_H) */
compat_compiler.h
Utility macros to handle different features and behavior in different compilers.
reschedule_descriptor_update_check
void reschedule_descriptor_update_check(void)
Definition:
relay_periodic.c:344
Generated by
1.9.4