Changes in uspace/app/usbinfo/usbinfo.h [b1c6e58:a458bc9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/usbinfo.h
rb1c6e58 ra458bc9 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> 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; 42 58 43 59 … … 46 62 void dump_buffer(const char *, size_t, const uint8_t *, size_t); 47 63 const char *get_indent(size_t); 48 void dump_match_ids(match_id_list_t * matches);64 void dump_match_ids(match_id_list_t *, const char *); 49 65 void dump_usb_descriptor(uint8_t *, size_t); 50 int dump_device(devman_handle_t, usb_address_t);51 66 void dump_descriptor_tree(uint8_t *, size_t); 52 67 … … 56 71 } 57 72 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 58 87 #endif 59 88 /**
Note:
See TracChangeset
for help on using the changeset viewer.