Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/usbhc_iface.h

    rec59693 r1e64b250  
    207207/** Callback for outgoing transfer. */
    208208typedef void (*usbhc_iface_transfer_out_callback_t)(device_t *,
    209     int, void *);
     209    usb_transaction_outcome_t, void *);
    210210
    211211/** Callback for incoming transfer. */
    212212typedef void (*usbhc_iface_transfer_in_callback_t)(device_t *,
    213     int, size_t, void *);
     213    usb_transaction_outcome_t, size_t, void *);
    214214
    215215
    216216/** Out transfer processing function prototype. */
    217 typedef int (*usbhc_iface_transfer_out_t)(device_t *, usb_target_t, size_t,
     217typedef int (*usbhc_iface_transfer_out_t)(device_t *, usb_target_t,
    218218    void *, size_t,
    219219    usbhc_iface_transfer_out_callback_t, void *);
    220220
    221 /** Setup transfer processing function prototype. @deprecated */
     221/** Setup transfer processing function prototype. */
    222222typedef usbhc_iface_transfer_out_t usbhc_iface_transfer_setup_t;
    223223
    224224/** In transfer processing function prototype. */
    225 typedef int (*usbhc_iface_transfer_in_t)(device_t *, usb_target_t, size_t,
     225typedef int (*usbhc_iface_transfer_in_t)(device_t *, usb_target_t,
    226226    void *, size_t,
    227227    usbhc_iface_transfer_in_callback_t, void *);
     
    251251
    252252        int (*control_write)(device_t *, usb_target_t,
    253             size_t,
    254253            void *, size_t, void *, size_t,
    255254            usbhc_iface_transfer_out_callback_t, void *);
    256255
    257256        int (*control_read)(device_t *, usb_target_t,
    258             size_t,
    259257            void *, size_t, void *, size_t,
    260258            usbhc_iface_transfer_in_callback_t, void *);
Note: See TracChangeset for help on using the changeset viewer.