Tor 0.4.9.0-alpha-dev
Data Fields
sr_disk_state_t Struct Reference

#include <shared_random_state.h>

Data Fields

uint32_t magic_
 
int Version
 
char * TorVersion
 
time_t ValidAfter
 
time_t ValidUntil
 
struct config_line_tCommit
 
struct config_line_tSharedRandValues
 
struct config_line_tExtraLines
 

Detailed Description

Persistent state of the protocol, as saved to disk.

Definition at line 83 of file shared_random_state.h.

Field Documentation

◆ Commit

struct config_line_t* Commit

All commits seen that are valid.

Definition at line 94 of file shared_random_state.h.

Referenced by disk_state_parse_commits().

◆ ExtraLines

struct config_line_t* ExtraLines

Extra Lines for configuration we might not know.

Definition at line 98 of file shared_random_state.h.

◆ magic_

uint32_t magic_

Definition at line 84 of file shared_random_state.h.

◆ SharedRandValues

struct config_line_t* SharedRandValues

Previous and current shared random value.

Definition at line 96 of file shared_random_state.h.

Referenced by disk_state_parse_sr_values().

◆ TorVersion

char* TorVersion

Version of our running tor.

Definition at line 88 of file shared_random_state.h.

Referenced by disk_state_new().

◆ ValidAfter

time_t ValidAfter

Creation time of this state

Definition at line 90 of file shared_random_state.h.

Referenced by disk_state_parse().

◆ ValidUntil

time_t ValidUntil

State valid until?

Definition at line 92 of file shared_random_state.h.

Referenced by disk_state_parse(), and disk_state_validate().

◆ Version

int Version

Version of the protocol.

Definition at line 86 of file shared_random_state.h.

Referenced by disk_state_new(), disk_state_parse(), and disk_state_validate().


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