status.h 355 B

123456789101112131415161718
  1. /* Copyright (c) 2010-2017, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. #ifndef TOR_STATUS_H
  4. #define TOR_STATUS_H
  5. #include "testsupport.h"
  6. int log_heartbeat(time_t now);
  7. #ifdef STATUS_PRIVATE
  8. STATIC int count_circuits(void);
  9. STATIC char *secs_to_uptime(long secs);
  10. STATIC char *bytes_to_usage(uint64_t bytes);
  11. #endif
  12. #endif