2011-01-18 09:24:57 +00:00
|
|
|
/*
|
2013-01-23 17:28:19 +00:00
|
|
|
* mem.h
|
2011-01-18 09:24:57 +00:00
|
|
|
*
|
2013-01-23 17:28:19 +00:00
|
|
|
* Copyright (C) 2010-2011 Red Hat, Inc.
|
2011-01-18 09:24:57 +00:00
|
|
|
*
|
|
|
|
* 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, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
2013-01-23 17:28:19 +00:00
|
|
|
* Red Hat Author(s): Ales Kozumplik <akozumpl@redhat.com>
|
|
|
|
* David Cantrell <dcantrell@redhat.com>
|
2011-01-18 09:24:57 +00:00
|
|
|
*/
|
|
|
|
|
2013-01-23 17:28:19 +00:00
|
|
|
#ifndef _MEM_H_
|
|
|
|
#define _MEM_H_
|
2011-01-18 09:24:57 +00:00
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
2013-01-23 17:28:19 +00:00
|
|
|
#define MEMINFO "/proc/meminfo"
|
2011-01-18 09:24:57 +00:00
|
|
|
|
2013-01-23 17:28:19 +00:00
|
|
|
guint64 totalMemory(void);
|
2011-01-18 09:24:57 +00:00
|
|
|
|
2013-01-23 17:28:19 +00:00
|
|
|
#endif /* _MEM_H_ */
|