aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/or/status.h')
-rw-r--r--src/core/or/status.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/or/status.h b/src/core/or/status.h
new file mode 100644
index 0000000000..7258ed5939
--- /dev/null
+++ b/src/core/or/status.h
@@ -0,0 +1,18 @@
+/* Copyright (c) 2010-2018, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+#ifndef TOR_STATUS_H
+#define TOR_STATUS_H
+
+#include "lib/testsupport/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 /* !defined(TOR_STATUS_H) */
+