summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-26 13:54:46 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-26 13:54:46 +0000
commit73841c121ff6878a37d6171508a9882eef1b168a (patch)
tree15051707196687816375804a10b849fe6c1668a4
parent3925c2dfa1c3d3102b0100dd402550194617a53e (diff)
downloadldetect-73841c121ff6878a37d6171508a9882eef1b168a.tar
ldetect-73841c121ff6878a37d6171508a9882eef1b168a.tar.gz
ldetect-73841c121ff6878a37d6171508a9882eef1b168a.tar.bz2
ldetect-73841c121ff6878a37d6171508a9882eef1b168a.tar.xz
ldetect-73841c121ff6878a37d6171508a9882eef1b168a.zip
(struct pciusb_entry) add a class field
-rw-r--r--libldetect.h1
-rw-r--r--pciusb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libldetect.h b/libldetect.h
index c954da0..b588560 100644
--- a/libldetect.h
+++ b/libldetect.h
@@ -18,6 +18,7 @@ struct pciusb_entry {
char *module;
char *text;
+ char* class;
int already_found:1;
};
struct pciusb_entries {
diff --git a/pciusb.c b/pciusb.c
index d5acfe6..c70f441 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -76,6 +76,7 @@ extern void pciusb_initialize(struct pciusb_entry *e) {
e->pci_function = 0xffff;
e->module = NULL;
e->text = NULL;
+ e->class = NULL;
e->already_found = 0;
}