summaryrefslogtreecommitdiffstats
path: root/src/dmidecode.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2010-01-08 19:26:58 +0100
committerDavid Sommerseth <davids@redhat.com>2010-01-08 19:26:58 +0100
commit101070880e270118aa1f3992e2734a667dde575e (patch)
tree131b0bf9d37c6a8062f210fe622bbd2a679426ac /src/dmidecode.h
parent2d69406de843db678c84cb397afab03e0573c468 (diff)
downloadpython-dmidecode-101070880e270118aa1f3992e2734a667dde575e.tar.gz
python-dmidecode-101070880e270118aa1f3992e2734a667dde575e.tar.xz
python-dmidecode-101070880e270118aa1f3992e2734a667dde575e.zip
More fprintf() -> log_append() porting
Diffstat (limited to 'src/dmidecode.h')
-rw-r--r--src/dmidecode.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dmidecode.h b/src/dmidecode.h
index 10412c6..926bd5d 100644
--- a/src/dmidecode.h
+++ b/src/dmidecode.h
@@ -21,6 +21,7 @@
#include <libxml/tree.h>
#include "dmihelper.h"
+#include "dmierror.h"
struct dmi_header {
u8 type;
@@ -35,8 +36,8 @@ void to_dmi_header(struct dmi_header *h, u8 * data);
xmlNode *smbios_decode_get_version(u8 * buf, const char *devmem);
xmlNode *legacy_decode_get_version(u8 * buf, const char *devmem);
-int smbios_decode(int type, u8 *buf, const char *devmem, xmlNode *xmlnode);
-int legacy_decode(int type, u8 *buf, const char *devmem, xmlNode *xmlnode);
+int smbios_decode(Log_t *logp, int type, u8 *buf, const char *devmem, xmlNode *xmlnode);
+int legacy_decode(Log_t *logp, int type, u8 *buf, const char *devmem, xmlNode *xmlnode);
const char *dmi_string(const struct dmi_header *dm, u8 s);
void dmi_system_uuid(xmlNode *node, const u8 * p, u16 ver);