Ignore:
File:
1 edited

Legend:

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

    r06f9a9c9 r9e279c4  
    3838#include <usb/usb.h>
    3939#include <usb/descriptor.h>
    40 #include <usb/dev/device.h>
     40#include <usb/dev/pipes.h>
     41#include <usb/debug.h>
    4142#include <usb/dev/dp.h>
    4243#include <ipc/devman.h>
    4344
    4445typedef struct {
     46        usb_hc_connection_t hc_conn;
     47        usb_device_connection_t wire;
     48        usb_pipe_t ctrl_pipe;
     49        usb_standard_device_descriptor_t device_descriptor;
     50        uint8_t *full_configuration_descriptor;
     51        size_t full_configuration_descriptor_size;
     52} usbinfo_device_t;
     53
     54typedef struct {
    4555        int opt;
    46         void (*action)(usb_device_t *usb_dev);
     56        void (*action)(usbinfo_device_t *dev);
    4757        bool active;
    4858} usbinfo_action_t;
     
    6272}
    6373
     74usbinfo_device_t *prepare_device(const char *, devman_handle_t, usb_address_t);
     75void destroy_device(usbinfo_device_t *);
     76
    6477typedef void (*dump_descriptor_in_tree_t)(const uint8_t *, size_t, void *);
    6578void browse_descriptor_tree(uint8_t *, size_t, usb_dp_descriptor_nesting_t *,
     
    6881void list(void);
    6982
    70 void dump_short_device_identification(usb_device_t *);
    71 void dump_device_match_ids(usb_device_t *);
    72 void dump_descriptor_tree_brief(usb_device_t *);
    73 void dump_descriptor_tree_full(usb_device_t *);
    74 void dump_strings(usb_device_t *);
    75 void dump_status(usb_device_t *);
    76 void dump_hidreport_raw(usb_device_t *);
    77 void dump_hidreport_usages(usb_device_t *);
     83void dump_short_device_identification(usbinfo_device_t *);
     84void dump_device_match_ids(usbinfo_device_t *);
     85void dump_descriptor_tree_brief(usbinfo_device_t *);
     86void dump_descriptor_tree_full(usbinfo_device_t *);
     87void dump_strings(usbinfo_device_t *);
     88void dump_status(usbinfo_device_t *);
     89void dump_hidreport_raw(usbinfo_device_t *);
     90void dump_hidreport_usages(usbinfo_device_t *);
     91
    7892
    7993#endif
Note: See TracChangeset for help on using the changeset viewer.