Changes in uspace/app/usbinfo/usbinfo.h [b1c6e58:e160da4d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/usbinfo.h
rb1c6e58 re160da4d 38 38 #include <usb/usb.h> 39 39 #include <usb/descriptor.h> 40 #include <usb/pipes.h> 40 41 #include <usb/debug.h> 42 #include <usb/dp.h> 41 43 #include <ipc/devman.h> 42 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; 43 52 44 53 #define NAME "usbinfo" … … 46 55 void dump_buffer(const char *, size_t, const uint8_t *, size_t); 47 56 const char *get_indent(size_t); 48 void dump_match_ids(match_id_list_t * matches);57 void dump_match_ids(match_id_list_t *, const char *); 49 58 void dump_usb_descriptor(uint8_t *, size_t); 50 59 int dump_device(devman_handle_t, usb_address_t); … … 56 65 } 57 66 67 usbinfo_device_t *prepare_device(devman_handle_t, usb_address_t); 68 void destroy_device(usbinfo_device_t *); 69 70 typedef void (*dump_descriptor_in_tree_t)(uint8_t *, size_t, void *); 71 void browse_descriptor_tree(uint8_t *, size_t, usb_dp_descriptor_nesting_t *, 72 dump_descriptor_in_tree_t, size_t, void *); 73 74 75 void dump_short_device_identification(usbinfo_device_t *); 76 void dump_device_match_ids(usbinfo_device_t *); 77 void dump_descriptor_tree_brief(usbinfo_device_t *); 78 79 58 80 #endif 59 81 /**
Note:
See TracChangeset
for help on using the changeset viewer.