tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

meminfo.h (473B)


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