diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-08 15:20:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-08 15:20:27 +0000 |
commit | e3f143bf539e6daf0e83421c5d2c37966288f7fb (patch) | |
tree | 9b8a6f0e464a47d627227acdc4784b5e9de703f5 /libldetect.h | |
parent | cccfcf2e54cb927c0282f076a40b2d327168980e (diff) | |
download | ldetect-e3f143bf539e6daf0e83421c5d2c37966288f7fb.tar ldetect-e3f143bf539e6daf0e83421c5d2c37966288f7fb.tar.gz ldetect-e3f143bf539e6daf0e83421c5d2c37966288f7fb.tar.bz2 ldetect-e3f143bf539e6daf0e83421c5d2c37966288f7fb.tar.xz ldetect-e3f143bf539e6daf0e83421c5d2c37966288f7fb.zip |
- struct pciusb_entrie : add already_found flag
- pciusb::pciusb_initialize() : zero the above flag:
- pciusb::pciusb_find_modules() : use the above flag:
o if device subids matches the table ones,
swtich the already_found flag
o skip already handled device (if already_found==1)
Diffstat (limited to 'libldetect.h')
-rw-r--r-- | libldetect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libldetect.h b/libldetect.h index 2e985e3..5f31c69 100644 --- a/libldetect.h +++ b/libldetect.h @@ -15,6 +15,7 @@ struct pciusb_entry { char *module; char *text; + int already_found:1; }; struct pciusb_entries { struct pciusb_entry *entries; |