diff options
Diffstat (limited to 'src/or/status.h')
-rw-r--r-- | src/or/status.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/or/status.h b/src/or/status.h index 189ac789e..13458ea47 100644 --- a/src/or/status.h +++ b/src/or/status.h @@ -1,10 +1,18 @@ -/* Copyright (c) 2010-2012, The Tor Project, Inc. */ +/* Copyright (c) 2010-2013, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -#ifndef _TOR_STATUS_H -#define _TOR_STATUS_H +#ifndef TOR_STATUS_H +#define TOR_STATUS_H + +#include "testsupport.h" int log_heartbeat(time_t now); +#ifdef STATUS_PRIVATE +STATIC int count_circuits(void); +STATIC char *secs_to_uptime(long secs); +STATIC char *bytes_to_usage(uint64_t bytes); +#endif + #endif |