tor  0.4.0.1-alpha
status.h
1 /* Copyright (c) 2010-2019, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
3 
4 #ifndef TOR_STATUS_H
5 #define TOR_STATUS_H
6 
8 
9 int log_heartbeat(time_t now);
10 
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
16 
17 #endif /* !defined(TOR_STATUS_H) */
18 
int log_heartbeat(time_t now)
Definition: status.c:119
Macros to implement mocking and selective exposure for the test code.
STATIC int count_circuits(void)
Definition: status.c:43
STATIC char * bytes_to_usage(uint64_t bytes)
Definition: status.c:78
STATIC char * secs_to_uptime(long secs)
Definition: status.c:51