summaryrefslogtreecommitdiff
path: root/libusb/libusb.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-05-04 14:22:16 +0100
committerDaniel Drake <dsd@gentoo.org>2008-05-04 14:22:16 +0100
commitbdce367d1bd8691465844b2411c85215498f517d (patch)
treeac4ef68e514fbc1442344b1a2f0b02d7d77db8a4 /libusb/libusb.h
parentbfe74e9cd9c17a40fff042ea0647326f51cfecae (diff)
downloadlibusb-bdce367d1bd8691465844b2411c85215498f517d.tar.gz
sanitized error returns from synchronous I/O functions
Diffstat (limited to 'libusb/libusb.h')
-rw-r--r--libusb/libusb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h
index 06a1a64..779dcff 100644
--- a/libusb/libusb.h
+++ b/libusb/libusb.h
@@ -523,8 +523,9 @@ enum libusb_error {
LIBUSB_ERROR_ACCESS = -3,
LIBUSB_ERROR_NOT_FOUND = -4,
LIBUSB_ERROR_BUSY = -5,
- LIBUSB_ERROR_NO_MEM = -6,
- LIBUSB_ERROR_OTHER = -7,
+ LIBUSB_ERROR_TIMEOUT = -6,
+ LIBUSB_ERROR_NO_MEM = -7,
+ LIBUSB_ERROR_OTHER = -8,
};
/** \ingroup asyncio