In routerlist_assert_ok(), check r2 before taking &(r2->cache_info)
[tor.git] / src / or / status.h
blob13458ea4762af2409a1c31b899d788ccd256c34f
1 /* Copyright (c) 2010-2013, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
4 #ifndef TOR_STATUS_H
5 #define TOR_STATUS_H
7 #include "testsupport.h"
9 int log_heartbeat(time_t now);
11 #ifdef STATUS_PRIVATE
12 STATIC int count_circuits(void);
13 STATIC char *secs_to_uptime(long secs);
14 STATIC char *bytes_to_usage(uint64_t bytes);
15 #endif
17 #endif