aboutsummaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/dmi_util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/includes/dmi_util.h b/includes/dmi_util.h
index b92d4ff2..965bee91 100644
--- a/includes/dmi_util.h
+++ b/includes/dmi_util.h
@@ -3,6 +3,10 @@
const char *dmi_sysfs_root(void);
char *dmi_get_str(const char *id_str);
-char *dmi_chassis_type_str(int with_val);
+
+/* 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