2017-03-06 14:14:45 +00:00
|
|
|
/*
|
|
|
|
* virsysinfopriv.h: Header for functions tested in the test suite
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2018-12-13 14:53:50 +00:00
|
|
|
#ifndef LIBVIRT_VIRSYSINFOPRIV_H_ALLOW
|
2017-03-06 14:14:45 +00:00
|
|
|
# error "virsysinfopriv.h may only be included by virsysinfo.c or test suites"
|
2018-12-13 14:53:50 +00:00
|
|
|
#endif /* LIBVIRT_VIRSYSINFOPRIV_H_ALLOW */
|
2017-03-06 14:14:45 +00:00
|
|
|
|
2019-06-18 16:13:04 +00:00
|
|
|
#pragma once
|
2017-03-06 14:14:45 +00:00
|
|
|
|
2017-03-06 14:25:07 +00:00
|
|
|
void
|
|
|
|
virSysinfoSetup(const char *dmidecode,
|
|
|
|
const char *sysinfo,
|
|
|
|
const char *cpuinfo);
|
|
|
|
|
2017-03-06 14:14:45 +00:00
|
|
|
virSysinfoDefPtr
|
|
|
|
virSysinfoReadPPC(void);
|
|
|
|
|
|
|
|
virSysinfoDefPtr
|
|
|
|
virSysinfoReadARM(void);
|
|
|
|
|
|
|
|
virSysinfoDefPtr
|
|
|
|
virSysinfoReadS390(void);
|
|
|
|
|
|
|
|
virSysinfoDefPtr
|
2019-05-10 12:08:09 +00:00
|
|
|
virSysinfoReadDMI(void);
|