Ignore:
File:
1 edited

Legend:

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

    r99a1a56 ra0487a2  
    3939#include <time.h>
    4040
     41/** Parameters and callbacks for automated polling. */
    4142typedef struct {
    4243        /** Level of debugging messages from auto polling.
     
    8283         */
    8384        bool (*on_error)(usb_device_t *dev, int err_code, void *arg);
     85        /** Argument to pass to callbacks. */
     86        void *arg;
    8487} usb_device_auto_polling_t;
    8588
    8689int usb_device_auto_polling(usb_device_t *, size_t,
    87     const usb_device_auto_polling_t *, size_t, void *);
     90    const usb_device_auto_polling_t *, size_t);
    8891
    8992typedef bool (*usb_polling_callback_t)(usb_device_t *,
Note: See TracChangeset for help on using the changeset viewer.