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