diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-20 15:03:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-20 15:03:09 +0000 |
commit | 321b48f138910dbae0f2d47e7aa5bcb0eb5541a5 (patch) | |
tree | 12c6dc4e22400c5140b183f8615b7c08dd94139b /libldetect.h | |
parent | 0b483398ee4b09e9facd7c93e990c184b84e26cb (diff) | |
download | ldetect-321b48f138910dbae0f2d47e7aa5bcb0eb5541a5.tar ldetect-321b48f138910dbae0f2d47e7aa5bcb0eb5541a5.tar.gz ldetect-321b48f138910dbae0f2d47e7aa5bcb0eb5541a5.tar.bz2 ldetect-321b48f138910dbae0f2d47e7aa5bcb0eb5541a5.tar.xz ldetect-321b48f138910dbae0f2d47e7aa5bcb0eb5541a5.zip |
new usb_class code (breaks compatibility!)
Diffstat (limited to 'libldetect.h')
-rw-r--r-- | libldetect.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libldetect.h b/libldetect.h index f407f35..3a55501 100644 --- a/libldetect.h +++ b/libldetect.h @@ -35,4 +35,11 @@ extern const char *pci_class2text(unsigned long class_); /* usb ************************************************************************/ /******************************************************************************/ extern struct pciusb_entries usb_probe(void); -extern const char *usb_class2text(unsigned long class_); + +struct usb_class_text { + const char *usb_class_text; + const char *usb_sub_text; + const char *usb_prot_text; +}; + +extern struct usb_class_text usb_class2text(unsigned long class_); |