add xpcu_set_interface
[usb-driver] / xpcu.h
CommitLineData
cbfa0ac6
MG
1#define XPCU_CLAIM 1
2#define XPCU_RELEASE 0
3
4struct 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
12int __attribute__ ((visibility ("hidden"))) xpcu_deviceinfo(struct xpcu_s *xpcu, unsigned char *buf);
6c235d59 13int __attribute__ ((visibility ("hidden"))) xpcu_transfer(struct xpcu_s *xpcu, struct usb_transfer *ut);
0c2db148 14void __attribute__ ((visibility ("hidden"))) xpcu_set_interface(struct xpcu_s *xpcu, struct usb_set_interface *usi);
cbfa0ac6 15struct xpcu_s __attribute__ ((visibility ("hidden"))) *xpcu_open(void);
6234190b 16void __attribute__ ((visibility ("hidden"))) xpcu_close(struct xpcu_s *xpcu);
Impressum, Datenschutz