meminfo.h 480 B

123456789101112131415161718192021
  1. /* Copyright (c) 2003-2004, Roger Dingledine
  2. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  3. * Copyright (c) 2007-2018, The Tor Project, Inc. */
  4. /* See LICENSE for licensing information */
  5. /**
  6. * \file meminfo.h
  7. *
  8. * \brief Header for meminfo.c
  9. **/
  10. #ifndef TOR_MEMINFO_H
  11. #define TOR_MEMINFO_H
  12. #include "lib/testsupport/testsupport.h"
  13. #include <stddef.h>
  14. void tor_log_mallinfo(int severity);
  15. MOCK_DECL(int, get_total_system_memory, (size_t *mem_out));
  16. #endif