]> git.zerfleddert.de Git - usb-driver/blame_incremental - xpcu.h
rework more XPCU code. INT_* still needs to be moved
[usb-driver] / xpcu.h
... / ...
CommitLineData
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 int interface;
8 int alternate;
9 unsigned long card_type;
10};
11
12int __attribute__ ((visibility ("hidden"))) xpcu_deviceinfo(struct xpcu_s *xpcu, struct usb_get_device_data *ugdd);
13int __attribute__ ((visibility ("hidden"))) xpcu_transfer(struct xpcu_s *xpcu, struct usb_transfer *ut);
14void __attribute__ ((visibility ("hidden"))) xpcu_set_interface(struct xpcu_s *xpcu, struct usb_set_interface *usi);
15struct xpcu_s __attribute__ ((visibility ("hidden"))) *xpcu_find(struct event *e);
16void __attribute__ ((visibility ("hidden"))) xpcu_found(struct xpcu_s *xpcu, struct event *e);
17void __attribute__ ((visibility ("hidden"))) xpcu_close(struct xpcu_s *xpcu, struct event *e);
Impressum, Datenschutz