summaryrefslogtreecommitdiff
path: root/dmidecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'dmidecode.h')
-rw-r--r--dmidecode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dmidecode.h b/dmidecode.h
index cae627b..20e7e96 100644
--- a/dmidecode.h
+++ b/dmidecode.h
@@ -1,7 +1,7 @@
/*
* This file is part of the dmidecode project.
*
- * Copyright (C) 2005-2008 Jean Delvare <khali@linux-fr.org>
+ * Copyright (C) 2005-2008 Jean Delvare <jdelvare@suse.de>
*
* 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
@@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "types.h"
+
struct dmi_header
{
u8 type;
@@ -26,4 +28,5 @@ struct dmi_header
u8 *data;
};
+int is_printable(const u8 *data, int len);
const char *dmi_string(const struct dmi_header *dm, u8 s);