summaryrefslogtreecommitdiff
path: root/gusb/gusb-device.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-09-06 10:54:28 +0200
committerHans de Goede <hdegoede@redhat.com>2011-09-06 10:54:28 +0200
commit1143685d7a8f941092e29b844b88278567a65f34 (patch)
tree5429ba853c779abad7302aef968d489d0e0d7e7f /gusb/gusb-device.h
parent501a5fd4f4ed75a7874244cec8bfc87d309b2b65 (diff)
downloadgusb-1143685d7a8f941092e29b844b88278567a65f34.tar.gz
Provide our own gusb_strerror function
It does not look like libusb_strerror is going upstream any time soon because of i18n worries, so provide out own implementation for now. Once libusb_strerror hits upstream, and when compiling against a new enough libusb, we can turn this into a simple wrapper. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'gusb/gusb-device.h')
-rw-r--r--gusb/gusb-device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gusb/gusb-device.h b/gusb/gusb-device.h
index b8f3b4f..acb6572 100644
--- a/gusb/gusb-device.h
+++ b/gusb/gusb-device.h
@@ -77,6 +77,7 @@ typedef enum {
**/
typedef enum {
G_USB_DEVICE_ERROR_INTERNAL,
+ G_USB_DEVICE_ERROR_IO,
G_USB_DEVICE_ERROR_TIMED_OUT,
G_USB_DEVICE_ERROR_NOT_SUPPORTED,
G_USB_DEVICE_ERROR_NO_DEVICE,