From 78afe3fa82ffedaa2db9d6f89f9f357f8df1eb77 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 30 Jul 2013 05:49:58 +0000 Subject: Add a routine to get application memory usage to epan. svn path=/trunk/; revision=51023 --- epan/app_mem_usage.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 epan/app_mem_usage.h (limited to 'epan/app_mem_usage.h') diff --git a/epan/app_mem_usage.h b/epan/app_mem_usage.h new file mode 100644 index 0000000000..2092a2cc1d --- /dev/null +++ b/epan/app_mem_usage.h @@ -0,0 +1,29 @@ +/* + * app_mem_usage.h + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +#ifndef __APP_MEM_USAGE_H__ +#define __APP_MEM_USAGE_H__ + +gsize get_total_mem_used_by_app(void); + +#endif /* APP_MEM_USAGE_H */ \ No newline at end of file -- cgit v1.2.3