summaryrefslogtreecommitdiffstats
path: root/src/usb-device.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-09 19:43:22 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-09 19:43:22 +0200
commitd29c63cac9bf16a53e008ab5407174fc3e41efca (patch)
treed6a17543621f53c60459fca7021af21a0a6694c9 /src/usb-device.h
parentf597e28a875fdf2254b1c96ef43f18918045b7aa (diff)
download0xFFFF-d29c63cac9bf16a53e008ab5407174fc3e41efca.tar.bz2
usb-device: Rename struct members of usb_device_info
Diffstat (limited to 'src/usb-device.h')
-rw-r--r--src/usb-device.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usb-device.h b/src/usb-device.h
index 8caea1d..73408ad 100644
--- a/src/usb-device.h
+++ b/src/usb-device.h
@@ -40,8 +40,9 @@ struct usb_flash_device {
};
struct usb_device_info {
- usb_dev_handle * dev;
- struct usb_flash_device * info;
+ enum device detected_device;
+ struct usb_flash_device * flash_device;
+ usb_dev_handle * udev;
};
const char * usb_flash_protocol_to_string(enum usb_flash_protocol protocol);