summaryrefslogtreecommitdiffstats
path: root/libk8055/k8055.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-03-02 12:53:47 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-03-02 12:53:47 +0100
commitbf947e7f571eb9274f230d2d114b4ae4a245a1b7 (patch)
tree116d8f6c5d268012909d6d9a33cc5df1fdfea91c /libk8055/k8055.h
parent2f4cef7921c255ecbc17dfbbeca0f891e54aad80 (diff)
downloadk8055-bf947e7f571eb9274f230d2d114b4ae4a245a1b7.zip
k8055-bf947e7f571eb9274f230d2d114b4ae4a245a1b7.tar.gz
use libusb-1.0 API
Diffstat (limited to 'libk8055/k8055.h')
-rw-r--r--libk8055/k8055.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libk8055/k8055.h b/libk8055/k8055.h
index b63f51f..69defbd 100644
--- a/libk8055/k8055.h
+++ b/libk8055/k8055.h
@@ -37,7 +37,8 @@ extern "C" {
struct k8055_dev {
int dev_no;
- struct usb_dev_handle* device_handle;
+ struct libusb_context *usb_ctx;
+ struct libusb_device_handle *usb_handle;
unsigned char data_in[PACKET_LEN+1];
unsigned char data_out[PACKET_LEN+1];
};