diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:30 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:30 -0500 |
commit | 8c1612d32c5682a86216adb8c8d11ce715fe5475 (patch) | |
tree | 2a51954d577955c8ad19e517e4c7b6b8972982e4 /usb.h | |
parent | 0864b0a8e6f0b0983c3536931cfbad1414137d6b (diff) |
Import Upstream version 0.3.6
Diffstat (limited to 'usb.h')
-rw-r--r-- | usb.h | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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 |