]> git.zerfleddert.de Git - usb-driver/blob - xpcu.h
fb8fd554eeddc99ef9089b22cd78c48d22663625
[usb-driver] / xpcu.h
1 #define XPCU_CLAIM 1
2 #define XPCU_RELEASE 0
3
4 struct xpcu_s {
5 struct usb_device *dev;
6 usb_dev_handle *handle;
7 struct usb_bus *busses;
8 int interface;
9 int alternate;
10 };
11
12 int __attribute__ ((visibility ("hidden"))) xpcu_deviceinfo(struct xpcu_s *xpcu, unsigned char *buf);
13 int __attribute__ ((visibility ("hidden"))) xpcu_transfer(struct xpcu_s *xpcu, struct usb_transfer *ut);
14 struct xpcu_s __attribute__ ((visibility ("hidden"))) *xpcu_open(void);
15 void __attribute__ ((visibility ("hidden"))) xpcu_close(struct xpcu_s *xpcu);
Impressum, Datenschutz