ipc.h File Reference

IPC wrappers for virtual USB. More...

#include <ipc/common.h>
#include <usb/usb.h>
#include <bool.h>
#include <usbvirt/device.h>

Go to the source code of this file.

Enumerations

enum  usbvirt_hc_to_device_method_t
 IPC methods communication between host controller and virtual device.

Functions

bool usbvirt_ipc_handle_call (usbvirt_device_t *dev, ipc_callid_t callid, ipc_call_t *call)
 Handle incoming IPC call for virtual USB device.
int usbvirt_ipc_send_control_read (int phone, void *setup_buffer, size_t setup_buffer_size, void *data_buffer, size_t data_buffer_size, size_t *data_transfered_size)
 Send control read transfer to virtual USB device.
int usbvirt_ipc_send_control_write (int phone, void *setup_buffer, size_t setup_buffer_size, void *data_buffer, size_t data_buffer_size)
 Send control write transfer to virtual USB device.
int usbvirt_ipc_send_data_in (int phone, usb_endpoint_t ep, usb_transfer_type_t tr_type, void *data, size_t data_size, size_t *act_size)
 Request data transfer from virtual USB device.
int usbvirt_ipc_send_data_out (int phone, usb_endpoint_t ep, usb_transfer_type_t tr_type, void *data, size_t data_size)
 Send data to virtual USB device.


Detailed Description

IPC wrappers for virtual USB.

Definition in file ipc.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7