device.c File Reference

Virtual USB HID device. More...

#include "virthid.h"
#include <errno.h>
#include <stdio.h>
#include <str.h>
#include <assert.h>
#include <usb/classes/classes.h>

Go to the source code of this file.

Functions

int add_interface_by_id (vuhid_interface_t **interfaces, const char *id, usbvirt_device_t *dev)
static vuhid_interface_tfind_interface_by_id (vuhid_interface_t **ifaces, const char *id)
static int interface_life_fibril (void *arg)
static int on_data_from_device (usbvirt_device_t *dev, usb_endpoint_t ep, usb_transfer_type_t tr_type, void *data, size_t data_size, size_t *actual_size)
static int on_data_to_device (usbvirt_device_t *dev, usb_endpoint_t ep, usb_transfer_type_t tr_type, void *data, size_t data_size)
void wait_for_interfaces_death (usbvirt_device_t *dev)


Detailed Description

Virtual USB HID device.

Definition in file device.c.


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