/* Copyright (c) 2010-2021, 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"

void note_connection(bool inbound, int family);
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) */
