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
core
mainloop
mainloop_state.inc
Go to the documentation of this file.
1
2
/**
3
* @file mainloop_state.inc
4
* @brief Declare configuration options for the crypto_ops module.
5
**/
6
7
/** Holds state for the mainloop, corresponding to part of the state
8
* file in Tor's DataDirectory. */
9
BEGIN_CONF_STRUCT
(
mainloop_state_t
)
10
11
/** Number of minutes since the last user-initiated request (as defined by
12
* the dormant net-status system.) Set to zero if we are dormant. */
13
CONF_VAR
(MinutesSinceUserActivity, POSINT, 0, NULL)
14
15
/** True if we were dormant when we last wrote the file; false if we
16
* weren't. "auto" on initial startup. */
17
CONF_VAR
(Dormant, AUTOBOOL, 0, "auto")
18
19
END_CONF_STRUCT
(
mainloop_state_t
)
END_CONF_STRUCT
#define END_CONF_STRUCT(name)
Definition:
confdecl.h:64
CONF_VAR
#define CONF_VAR(varname, vartype, varflags, initval)
Definition:
confdecl.h:70
BEGIN_CONF_STRUCT
#define BEGIN_CONF_STRUCT(name)
Definition:
confdecl.h:59
mainloop_state_t
Definition:
mainloop_state.inc:9
Generated by
1.9.4