blob: 34a37caaa2ef5dd419849507d4bea830cbaf2bfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/**
* @file mainloop_state.inc
* @brief Declare configuration options for the crypto_ops module.
**/
/** Holds state for the mainloop, corresponding to part of the state
* file in Tor's DataDirectory. */
BEGIN_CONF_STRUCT(mainloop_state_t)
/** Number of minutes since the last user-initiated request (as defined by
* the dormant net-status system.) Set to zero if we are dormant. */
CONF_VAR(MinutesSinceUserActivity, POSINT, 0, NULL)
/** True if we were dormant when we last wrote the file; false if we
* weren't. "auto" on initial startup. */
CONF_VAR(Dormant, AUTOBOOL, 0, "auto")
END_CONF_STRUCT(mainloop_state_t)
|