Changes in uspace/app/usbinfo/usbinfo.h [9e279c4:06f9a9c9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/usbinfo.h
r9e279c4 r06f9a9c9 38 38 #include <usb/usb.h> 39 39 #include <usb/descriptor.h> 40 #include <usb/dev/pipes.h> 41 #include <usb/debug.h> 40 #include <usb/dev/device.h> 42 41 #include <usb/dev/dp.h> 43 42 #include <ipc/devman.h> 44 43 45 44 typedef 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 54 typedef struct {55 45 int opt; 56 void (*action)(usb info_device_t *dev);46 void (*action)(usb_device_t *usb_dev); 57 47 bool active; 58 48 } usbinfo_action_t; … … 72 62 } 73 63 74 usbinfo_device_t *prepare_device(const char *, devman_handle_t, usb_address_t);75 void destroy_device(usbinfo_device_t *);76 77 64 typedef void (*dump_descriptor_in_tree_t)(const uint8_t *, size_t, void *); 78 65 void browse_descriptor_tree(uint8_t *, size_t, usb_dp_descriptor_nesting_t *, … … 81 68 void list(void); 82 69 83 void dump_short_device_identification(usbinfo_device_t *); 84 void dump_device_match_ids(usbinfo_device_t *); 85 void dump_descriptor_tree_brief(usbinfo_device_t *); 86 void dump_descriptor_tree_full(usbinfo_device_t *); 87 void dump_strings(usbinfo_device_t *); 88 void dump_status(usbinfo_device_t *); 89 void dump_hidreport_raw(usbinfo_device_t *); 90 void dump_hidreport_usages(usbinfo_device_t *); 91 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 *); 92 78 93 79 #endif
Note:
See TracChangeset
for help on using the changeset viewer.