usbinfo.h File Reference

Common header for usbinfo application. More...

#include <usb/usb.h>
#include <usb/descriptor.h>
#include <usb/dev/pipes.h>
#include <usb/debug.h>
#include <usb/dev/dp.h>
#include <ipc/devman.h>

Go to the source code of this file.

Data Structures

struct  usbinfo_action_t
struct  usbinfo_device_t

Defines

#define NAME   "usbinfo"

Typedefs

typedef void(*) dump_descriptor_in_tree_t (uint8_t *, size_t, void *)

Functions

void browse_descriptor_tree (uint8_t *descriptors, size_t descriptors_size, usb_dp_descriptor_nesting_t *descriptor_nesting, dump_descriptor_in_tree_t callback, size_t initial_depth, void *arg)
void destroy_device (usbinfo_device_t *dev)
void dump_buffer (const char *msg, size_t indent, const uint8_t *buffer, size_t length)
void dump_descriptor_tree (uint8_t *descriptors, size_t length)
void dump_descriptor_tree_brief (usbinfo_device_t *dev)
void dump_descriptor_tree_full (usbinfo_device_t *dev)
void dump_device_match_ids (usbinfo_device_t *dev)
void dump_match_ids (match_id_list_t *matches, const char *line_prefix)
void dump_short_device_identification (usbinfo_device_t *dev)
void dump_status (usbinfo_device_t *dev)
void dump_strings (usbinfo_device_t *dev)
void dump_usb_descriptor (uint8_t *descriptor, size_t size)
const char * get_indent (size_t level)
static void internal_error (int err)
usbinfo_device_tprepare_device (const char *name, devman_handle_t hc_handle, usb_address_t dev_addr)


Detailed Description

Common header for usbinfo application.

Definition in file usbinfo.h.


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