dump.c File Reference

USB querying. More...

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <str_error.h>
#include <bool.h>
#include <usb/usb.h>
#include <usb/descriptor.h>
#include <usb/debug.h>
#include <usb/classes/classes.h>
#include "usbinfo.h"
#include <usb/dev/dp.h>

Go to the source code of this file.

Defines

#define BYTES_PER_LINE   12
#define INDENT   " "
#define LAST_NESTING   { -1, -1 }
#define NESTING(parentname, childname)

Functions

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_match_ids (match_id_list_t *matches, const char *line_prefix)
static void dump_tree (usb_dp_parser_t *parser, usb_dp_parser_data_t *data)
static void dump_tree_descriptor (uint8_t *descriptor, size_t depth)
static void dump_tree_internal (usb_dp_parser_t *parser, usb_dp_parser_data_t *data, uint8_t *root, size_t depth)
void dump_usb_descriptor (uint8_t *descriptor, size_t size)
const char * get_indent (size_t level)

Variables

static usb_dp_descriptor_nesting_t descriptor_nesting []
static usb_dp_parser_t parser


Detailed Description

USB querying.

Definition in file dump.c.


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