Tor  0.4.7.0-alpha-dev
Data Fields
mainloop_state_t Struct Reference

Data Fields

POSINT MinutesSinceUserActivity
 
AUTOBOOL Dormant
 

Detailed Description

Holds state for the mainloop, corresponding to part of the state file in Tor's DataDirectory.

Definition at line 9 of file mainloop_state.inc.

Field Documentation

◆ Dormant

AUTOBOOL Dormant

True if we were dormant when we last wrote the file; false if we weren't. "auto" on initial startup.

Definition at line 17 of file mainloop_state.inc.

Referenced by netstatus_flush_to_state(), and netstatus_load_from_state().

◆ MinutesSinceUserActivity

POSINT MinutesSinceUserActivity

Number of minutes since the last user-initiated request (as defined by the dormant net-status system.) Set to zero if we are dormant.

Definition at line 13 of file mainloop_state.inc.

Referenced by netstatus_flush_to_state(), and netstatus_load_from_state().


The documentation for this struct was generated from the following file: