From 8c1612d32c5682a86216adb8c8d11ce715fe5475 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 19 Jun 2017 14:38:30 -0500 Subject: Import Upstream version 0.3.6 --- usb.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 usb.h (limited to 'usb.h') diff --git a/usb.h b/usb.h new file mode 100644 index 00000000..f761b5c4 --- /dev/null +++ b/usb.h @@ -0,0 +1,28 @@ +#ifndef __USB_H__ +#define __USB_H__ + +#include "hardinfo.h" + +typedef struct _USBDevice USBDevice; + +struct _USBDevice { + gchar *product; + gchar *vendor; + gchar *class; + + gfloat version, revision; + + gint bus, port, vendor_id, prod_id, class_id; + + gchar *driver; + + USBDevice *next; +}; + + +USBDevice *hi_scan_usb(void); +void hi_show_usb_info(MainWindow *mainwindow, USBDevice *device); + +gboolean usb_update(gpointer data); + +#endif -- cgit v1.2.3