projects
/
project
/
usbmode.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add code for getting the primary interface
[project/usbmode.git]
/
switch.h
diff --git
a/switch.h
b/switch.h
index eda94c28fc9c07c81a5f89fb5897a2d3268465de..a6d5297deea3a296436874b3561cbaae558bf520 100644
(file)
--- a/
switch.h
+++ b/
switch.h
@@
-6,8
+6,10
@@
struct usbdev_data {
struct libusb_device_descriptor desc;
+ struct libusb_config_descriptor *config;
libusb_device_handle *devh;
struct blob_attr *info;
+ int interface;
char idstr[10];
char mfg[128], prod[128], serial[128];