blob: 965bee91992ebc3c8e499aaf960cdb7fccfa101c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef __DMI_UTIL_H__
#define __DMI_UTIL_H__
const char *dmi_sysfs_root(void);
char *dmi_get_str(const char *id_str);
/* if chassis_type is <=0 it will be fetched from DMI.
* with_val = true, will return a string like "[3] Desktop" instead of just
* "Desktop". */
char *dmi_chassis_type_str(int chassis_type, int with_val);
#endif
|