X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/6c235d59caa48963278183c19762c80dbabdec2e..f92c0fbce992d7d2c975bf8072a0cb6558ff97f7:/xpcu.h diff --git a/xpcu.h b/xpcu.h index 9583ed2..c189d82 100644 --- a/xpcu.h +++ b/xpcu.h @@ -4,12 +4,14 @@ struct xpcu_s { struct usb_device *dev; usb_dev_handle *handle; - struct usb_bus *busses; int interface; int alternate; + unsigned long card_type; }; -int __attribute__ ((visibility ("hidden"))) xpcu_deviceinfo(struct xpcu_s *xpcu, unsigned char *buf); -int __attribute__ ((visibility ("hidden"))) xpcu_claim(struct xpcu_s *xpcu, int claim); +int __attribute__ ((visibility ("hidden"))) xpcu_deviceinfo(struct xpcu_s *xpcu, struct usb_get_device_data *ugdd); int __attribute__ ((visibility ("hidden"))) xpcu_transfer(struct xpcu_s *xpcu, struct usb_transfer *ut); -struct xpcu_s __attribute__ ((visibility ("hidden"))) *xpcu_open(void); +void __attribute__ ((visibility ("hidden"))) xpcu_set_interface(struct xpcu_s *xpcu, struct usb_set_interface *usi); +struct xpcu_s __attribute__ ((visibility ("hidden"))) *xpcu_find(struct event *e); +void __attribute__ ((visibility ("hidden"))) xpcu_found(struct xpcu_s *xpcu, struct event *e); +void __attribute__ ((visibility ("hidden"))) xpcu_close(struct xpcu_s *xpcu, struct event *e);