Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/generic/hiddev.h

    r378bf85 r56fd7cf  
    3838
    3939#include <usb/dev/driver.h>
    40 #include "../usbhid.h"
     40
     41struct usb_hid_dev;
    4142
    4243extern const usb_endpoint_description_t
    4344    usb_hid_generic_poll_endpoint_description;
    4445
    45 extern const char *HID_GENERIC_FUN_NAME;
    46 extern const char *HID_GENERIC_CATEGORY;
     46const char *HID_GENERIC_FUN_NAME;
     47const char *HID_GENERIC_CLASS_NAME;
    4748
    4849/** The USB HID generic 'hid' function softstate */
    4950typedef struct {
    50         usb_hid_dev_t *hid_dev;
     51        struct usb_hid_dev *hid_dev;
    5152} usb_hid_gen_fun_t;
    5253
    53 extern int usb_generic_hid_init(usb_hid_dev_t *, void **);
    54 extern void usb_generic_hid_deinit(usb_hid_dev_t *, void *);
    55 extern bool usb_generic_hid_polling_callback(usb_hid_dev_t *, void *);
     54int usb_generic_hid_init(struct usb_hid_dev *hid_dev, void **data);
     55
     56void usb_generic_hid_deinit(struct usb_hid_dev *hid_dev, void *data);
     57
     58bool usb_generic_hid_polling_callback(struct usb_hid_dev *hid_dev, void *data);
    5659
    5760#endif // USB_HID_HIDDDEV_H_
Note: See TracChangeset for help on using the changeset viewer.