aboutsummaryrefslogtreecommitdiff
path: root/src/lib/meminfo/meminfo.h
blob: a5ebfd5a6a54acb67e986667cc1ec57b5a8bc4b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright (c) 2003-2004, Roger Dingledine
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * \file meminfo.h
 *
 * \brief Header for meminfo.c
 **/

#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 /* !defined(TOR_MEMINFO_H) */