]> git.zerfleddert.de Git - usb-driver/blobdiff - xpcu.h
rework more XPCU code. INT_* still needs to be moved
[usb-driver] / xpcu.h
diff --git a/xpcu.h b/xpcu.h
index bbf5a9da1d37533d647f403998c89765da6fd78a..c189d82f7c3fe377c393fdaa04e96914d4979a76 100644 (file)
--- a/xpcu.h
+++ b/xpcu.h
@@ -4,14 +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_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);
 void __attribute__ ((visibility ("hidden"))) xpcu_set_interface(struct xpcu_s *xpcu, struct usb_set_interface *usi);
-struct xpcu_s __attribute__ ((visibility ("hidden"))) *xpcu_open(void);
-void __attribute__ ((visibility ("hidden"))) xpcu_close(struct xpcu_s *xpcu);
+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);
Impressum, Datenschutz