Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/usbinfo.h

    ra458bc9 rb1c6e58  
    3838#include <usb/usb.h>
    3939#include <usb/descriptor.h>
    40 #include <usb/pipes.h>
    4140#include <usb/debug.h>
    42 #include <usb/dp.h>
    4341#include <ipc/devman.h>
    44 
    45 typedef struct {
    46         usb_endpoint_pipe_t ctrl_pipe;
    47         usb_device_connection_t wire;
    48         usb_standard_device_descriptor_t device_descriptor;
    49         uint8_t *full_configuration_descriptor;
    50         size_t full_configuration_descriptor_size;
    51 } usbinfo_device_t;
    52 
    53 typedef struct {
    54         int opt;
    55         void (*action)(usbinfo_device_t *dev);
    56         bool active;
    57 } usbinfo_action_t;
    5842
    5943
     
    6246void dump_buffer(const char *, size_t, const uint8_t *, size_t);
    6347const char *get_indent(size_t);
    64 void dump_match_ids(match_id_list_t *, const char *);
     48void dump_match_ids(match_id_list_t *matches);
    6549void dump_usb_descriptor(uint8_t *, size_t);
     50int dump_device(devman_handle_t, usb_address_t);
    6651void dump_descriptor_tree(uint8_t *, size_t);
    6752
     
    7156}
    7257
    73 usbinfo_device_t *prepare_device(devman_handle_t, usb_address_t);
    74 void destroy_device(usbinfo_device_t *);
    75 
    76 typedef void (*dump_descriptor_in_tree_t)(uint8_t *, size_t, void *);
    77 void browse_descriptor_tree(uint8_t *, size_t, usb_dp_descriptor_nesting_t *,
    78     dump_descriptor_in_tree_t, size_t, void *);
    79 
    80 
    81 void dump_short_device_identification(usbinfo_device_t *);
    82 void dump_device_match_ids(usbinfo_device_t *);
    83 void dump_descriptor_tree_brief(usbinfo_device_t *);
    84 void dump_strings(usbinfo_device_t *);
    85 
    86 
    8758#endif
    8859/**
Note: See TracChangeset for help on using the changeset viewer.