main.c File Reference

Listing of USB host controllers. More...

#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <str_error.h>
#include <bool.h>
#include <getopt.h>
#include <devman.h>
#include <devmap.h>
#include <usb/dev/hub.h>
#include <usb/hc.h>

Go to the source code of this file.

Defines

#define MAX_FAILED_ATTEMPTS   10
#define MAX_PATH_LENGTH   1024
#define MAX_USB_ADDRESS   USB11_ADDRESS_MAX
#define NAME   "lsusb"

Functions

int main (int argc, char *argv[])
static void print_found_dev (usb_address_t addr, const char *path)
static void print_found_hc (size_t class_index, const char *path)
static void print_hc_devices (devman_handle_t hc_handle)


Detailed Description

Listing of USB host controllers.

Definition in file main.c.


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