diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-12-01 03:24:03 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-02-22 12:40:36 -0500 |
commit | 098b6ba72d636cf00cfa091e745c25a649fba493 (patch) | |
tree | 76d4890c31b79fc686d1d79f6440b11d88a9adbc /src/or/or.h | |
parent | 0ba69714b4c51bfddcce16b7e1b309fad4e3e3bc (diff) | |
download | tor-098b6ba72d636cf00cfa091e745c25a649fba493.tar.gz tor-098b6ba72d636cf00cfa091e745c25a649fba493.zip |
Initial heartbeat subsystem commit.
Sets:
* Documentation
* Logging domain
* Configuration option
* Scheduled event
* Makefile
It also creates status.c and the log_heartbeat() function.
All code was written by Sebastian Hahn. Commit message was
written by me (George Kadianakis).
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 9bf46e9793..4f3fef036f 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2718,6 +2718,9 @@ typedef struct { config_line_t *HidServAuth; /**< List of configuration lines for client-side * authorizations for hidden services */ char *ContactInfo; /**< Contact info to be published in the directory. */ + + int HeartbeatPeriod; /**< Log heartbeat messages after this many seconds + * have passed. */ char *HTTPProxy; /**< hostname[:port] to use as http proxy, if any. */ tor_addr_t HTTPProxyAddr; /**< Parsed IPv4 addr for http proxy, if any. */ |