aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/status.h
blob: 3467501ebb8475567ca2d9e3eb91f1d0e7efda6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright (c) 2010-2019, 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) */