summaryrefslogtreecommitdiff
path: root/dmidecode.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2005-09-14 19:29:15 +0000
committerJean Delvare <jdelvare@suse.de>2005-09-14 19:29:15 +0000
commit1a7eb2fd7578a5120d6bf2ded45a534df8240cbb (patch)
treee5082595b6f1d62b3711e0a64214fd1805b9e28e /dmidecode.h
parentc6a3d622f1ce43b0a9cef45403bd129b23f3c083 (diff)
downloaddmidecode-git-1a7eb2fd7578a5120d6bf2ded45a534df8240cbb.tar.gz
Export four specific decoding functions, make them suitable for external
call.
Diffstat (limited to 'dmidecode.h')
-rw-r--r--dmidecode.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/dmidecode.h b/dmidecode.h
new file mode 100644
index 0000000..2dc0bf2
--- /dev/null
+++ b/dmidecode.h
@@ -0,0 +1,24 @@
+/*
+ * This file is part of the dmidecode project.
+ *
+ * (C) 2005 Jean Delvare <khali@linux-fr.org>
+ *
+ * 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
+ */
+
+void dmi_system_uuid(u8 *p);
+const char *dmi_chassis_type(u8 code);
+const char *dmi_processor_family(u8 code);
+void dmi_processor_frequency(u8 *p);