aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/status.h
blob: 639f8cdf51cff8fa37073671be1816a63e935722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 2010-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * @file status.h
 * @brief Header for status.c
 **/

#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) */