explore.c File Reference

Exploration of available interfaces in the USB device. More...

#include <errno.h>
#include <str_error.h>
#include <stdlib.h>
#include <usb/classes/classes.h>
#include <usb/dev/request.h>
#include <usb/dev/dp.h>
#include <usb/ddfiface.h>
#include "usbmid.h"

Go to the source code of this file.

Functions

static void create_interfaces (uint8_t *config_descriptor, size_t config_descriptor_size, link_t *list)
 Create list of interfaces from configuration descriptor.
static bool interface_in_list (link_t *list, int interface_no)
 Tell whether given interface is already in the list.
bool usbmid_explore_device (usb_device_t *dev)
 Explore MID device.

Variables

static ddf_dev_ops_t mid_device_ops
 Operations of the device itself.


Detailed Description

Exploration of available interfaces in the USB device.

Definition in file explore.c.


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