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