diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-29 09:44:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-29 12:21:52 -0400 |
commit | 0362cdc169a785a386d3c60d354cd34fafde5770 (patch) | |
tree | b0a8a876f4b6996ce73e351dc36884f348286b00 /src/lib/meminfo/meminfo.h | |
parent | 973afcc40b52d71bfb1a1285806977fee9b843f6 (diff) | |
download | tor-0362cdc169a785a386d3c60d354cd34fafde5770.tar.gz tor-0362cdc169a785a386d3c60d354cd34fafde5770.zip |
Move fd and memory-info functions.
Diffstat (limited to 'src/lib/meminfo/meminfo.h')
-rw-r--r-- | src/lib/meminfo/meminfo.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/meminfo/meminfo.h b/src/lib/meminfo/meminfo.h new file mode 100644 index 0000000000..a970e992f0 --- /dev/null +++ b/src/lib/meminfo/meminfo.h @@ -0,0 +1,15 @@ +/* Copyright (c) 2003-2004, Roger Dingledine + * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. + * Copyright (c) 2007-2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +#ifndef TOR_MEMINFO_H +#define TOR_MEMINFO_H + +#include "lib/testsupport/testsupport.h" +#include <stddef.h> + +void tor_log_mallinfo(int severity); +MOCK_DECL(int, get_total_system_memory, (size_t *mem_out)); + +#endif |