aboutsummaryrefslogtreecommitdiff
path: root/usb.h
blob: f761b5c4f86ad3aa2400412dccb0a12dcb934ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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