debug.c File Reference

#include <debug.h>
#include <assert.h>

Go to the source code of this file.




void hid_set_debug (HIDDebugLevel const level)
void hid_set_debug_stream (FILE *const outstream)
void hid_set_usb_debug (int const level)
void trace_usb_bus (FILE *out, struct usb_bus const *usbbus)
void trace_usb_device (FILE *out, struct usb_device const *usbdev)
void trace_usb_device_descriptor (FILE *out, struct usb_device_descriptor const *descriptor)
void trace_usb_config_descriptor (FILE *out, struct usb_config_descriptor const *config)
void trace_usb_dev_handle (FILE *out, usb_dev_handle const *usbdev_h)


HIDDebugLevel hid_debug_level = HID_DEBUG_NONE
FILE * hid_debug_stream = NULL

Define Documentation


Definition at line 1 of file debug.c.

Function Documentation

void hid_set_debug ( HIDDebugLevel const   level  ) 

Definition at line 9 of file debug.c.

References hid_debug_level.

void hid_set_debug_stream ( FILE *const   outstream  ) 

Definition at line 14 of file debug.c.

References hid_debug_stream.

void hid_set_usb_debug ( int const  level  ) 

Definition at line 19 of file debug.c.

void trace_usb_bus ( FILE *  out,
struct usb_bus const *  usbbus 

Definition at line 26 of file debug.c.

void trace_usb_config_descriptor ( FILE *  out,
struct usb_config_descriptor const *  config 

Definition at line 66 of file debug.c.

void trace_usb_dev_handle ( FILE *  out,
usb_dev_handle const *  usbdev_h 

Definition at line 79 of file debug.c.

References trace_usb_device().

void trace_usb_device ( FILE *  out,
struct usb_device const *  usbdev 

Definition at line 35 of file debug.c.

Referenced by trace_usb_dev_handle().

void trace_usb_device_descriptor ( FILE *  out,
struct usb_device_descriptor const *  descriptor 

Definition at line 47 of file debug.c.

Variable Documentation

HIDDebugLevel hid_debug_level = HID_DEBUG_NONE

Definition at line 6 of file debug.c.

Referenced by hid_set_debug().

FILE* hid_debug_stream = NULL

Definition at line 7 of file debug.c.

Referenced by hid_set_debug_stream().

Generated on Sun Mar 30 15:28:24 2008 for libhid by  doxygen 1.5.1