Tor
0.4.7.0-alpha-dev
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.1