Tor  0.4.7.0-alpha-dev
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. */
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 
#define END_CONF_STRUCT(name)
Definition: confdecl.h:64
#define CONF_VAR(varname, vartype, varflags, initval)
Definition: confdecl.h:70
#define BEGIN_CONF_STRUCT(name)
Definition: confdecl.h:59