In GRUB to check status of USB transfer we use
grub_usb_err_t
grub_usb_check_transfer (grub_usb_transfer_t trans, grub_size_t *actual);
Which either returns an error (on failure), GRUB_USB_ERR_WAIT (if not yet completed) or 0 and sets *actual if completed
How does that map onto
void *
usbReapResponse (UsbDevice *device, unsigned char endpointAddress,
         UsbResponse *response, int wait)

?

--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty

Reply via email to