2012-10-21 06:44:29 +02:00
|
|
|
/*
|
|
|
|
* xsys.h - X-Sys general parameters header
|
|
|
|
* Copyright (C) 2005 Gustavo Zacarias
|
|
|
|
* Copyright (C) 2006, 2007 Tony Vroon
|
|
|
|
*
|
|
|
|
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _XSYS_H_
|
|
|
|
#define _XSYS_H_
|
|
|
|
|
|
|
|
#define bsize 1024
|
|
|
|
#define delims ":="
|
|
|
|
|
2012-10-21 14:24:01 +02:00
|
|
|
int sysinfo_get_percent ();
|
2012-10-21 09:56:09 +02:00
|
|
|
void sysinfo_get_pciids (char *dest);
|
2012-10-21 14:24:01 +02:00
|
|
|
void sysinfo_print_error (const char* msg);
|
2012-10-21 09:56:09 +02:00
|
|
|
|
2012-10-21 06:44:29 +02:00
|
|
|
#endif
|