diff options
author | George Kadianakis <desnacked@gmail.com> | 2010-12-01 03:32:42 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-02-22 12:40:38 -0500 |
commit | ee95430d397d2382227cdeac8c678c7345df594d (patch) | |
tree | f946eeac09e632650c1b038ce6a203c4ab194a6d /src/or/status.h | |
parent | 098b6ba72d636cf00cfa091e745c25a649fba493 (diff) | |
download | tor-ee95430d397d2382227cdeac8c678c7345df594d.tar.gz tor-ee95430d397d2382227cdeac8c678c7345df594d.zip |
Implement more heartbeat message stuff.
(This squashes multiple commits:
* Adds uptime monitoring support.
* Adds circuit counting code.
* Trivially tweaks the documentation.
* Trivial run_scheduled_events() code tweaking.
* Adds a status.h to export functions.
* Added bandwidth monitoring code.
* Added consensus presense detection code.
* Restricts the precision of the bandwidth output.
* Various fixes.
* Fixed style and spacing problems.
* Tidied up src/or/Makefile.am
* Couple of minor fixes on status.c functions.
* 'Implemented' client heartbeat support
)
Diffstat (limited to 'src/or/status.h')
-rw-r--r-- | src/or/status.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/or/status.h b/src/or/status.h new file mode 100644 index 0000000000..ac726a1d2d --- /dev/null +++ b/src/or/status.h @@ -0,0 +1,10 @@ +/* Copyright (c) 2010, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +#ifndef _TOR_STATUS_H +#define _TOR_STATUS_H + +int log_heartbeat(time_t now); + +#endif + |