Changeset a0487a2 in mainline for uspace/lib/usbdev/include


Ignore:
Timestamp:
2011-12-14T16:04:52Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5dd4294b
Parents:
6e3c005
Message:

libusbdev: Move arg callback argument from poling_data_t to usb_device_auto_polling_t.

That's where the callbacks are.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/poll.h

    r6e3c005 ra0487a2  
    8383         */
    8484        bool (*on_error)(usb_device_t *dev, int err_code, void *arg);
     85        /** Argument to pass to callbacks. */
     86        void *arg;
    8587} usb_device_auto_polling_t;
    8688
    8789int usb_device_auto_polling(usb_device_t *, size_t,
    88     const usb_device_auto_polling_t *, size_t, void *);
     90    const usb_device_auto_polling_t *, size_t);
    8991
    9092typedef bool (*usb_polling_callback_t)(usb_device_t *,
Note: See TracChangeset for help on using the changeset viewer.