summaryrefslogtreecommitdiff
path: root/dmidecode.h
diff options
context:
space:
mode:
authorkhali <khali>2005-09-14 19:29:15 +0000
committerkhali <khali>2005-09-14 19:29:15 +0000
commit8d2bb512509ab4f5b90759aba264111d306af461 (patch)
treee5082595b6f1d62b3711e0a64214fd1805b9e28e /dmidecode.h
parent4d57e88077abefd8c97292e107f68de66472ee67 (diff)
downloaddmidecode-8d2bb512509ab4f5b90759aba264111d306af461.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);