#include <usbvirt/device.h>
#include <usb/debug.h>
#include <errno.h>
#include <assert.h>
#include "private.h"
Go to the source code of this file.
Functions | |
int | usbvirt_control_read (usbvirt_device_t *dev, void *setup, size_t setup_size, void *data, size_t data_size, size_t *data_size_sent) |
Issue a control read transfer to virtual USB device. | |
static int | usbvirt_control_transfer (usbvirt_device_t *dev, void *setup, size_t setup_size, void *data, size_t data_size, size_t *data_size_sent) |
Process a control transfer to the virtual USB device. | |
int | usbvirt_control_write (usbvirt_device_t *dev, void *setup, size_t setup_size, void *data, size_t data_size) |
Issue a control write transfer to virtual USB device. | |
int | usbvirt_data_in (usbvirt_device_t *dev, usb_transfer_type_t transf_type, usb_endpoint_t endpoint, void *data, size_t data_size, size_t *data_size_sent) |
Request data from virtual USB device. | |
int | usbvirt_data_out (usbvirt_device_t *dev, usb_transfer_type_t transf_type, usb_endpoint_t endpoint, void *data, size_t data_size) |
Send data to virtual USB device. |
Definition in file transfer.c.