Changeset 58563585 in mainline for uspace/app/usbinfo/usbinfo.h
- Timestamp:
- 2016-08-31T11:15:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10cb47e
- Parents:
- 7a67416
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/usbinfo.h
r7a67416 r58563585 44 44 typedef struct { 45 45 int opt; 46 void (*action)(usb_device_t * usb_dev);46 void (*action)(usb_device_t *); 47 47 bool active; 48 48 } usbinfo_action_t; … … 51 51 #define NAME "usbinfo" 52 52 53 void dump_buffer(const char *, size_t, const uint8_t *, size_t);54 const char *get_indent(size_t);55 void dump_match_ids(match_id_list_t *, const char *);56 void dump_usb_descriptor(uint8_t *, size_t);57 void dump_descriptor_tree(uint8_t *, size_t);53 extern void dump_buffer(const char *, size_t, const uint8_t *, size_t); 54 extern const char *get_indent(size_t); 55 extern void dump_match_ids(match_id_list_t *, const char *); 56 extern void dump_usb_descriptor(uint8_t *, size_t); 57 extern void dump_descriptor_tree(uint8_t *, size_t); 58 58 59 59 static inline void internal_error(int err) … … 63 63 64 64 typedef void (*dump_descriptor_in_tree_t)(const uint8_t *, size_t, void *); 65 void browse_descriptor_tree(uint8_t *, size_t, usb_dp_descriptor_nesting_t *,66 dump_descriptor_in_tree_t, size_t, void *);67 65 68 void list(void); 66 extern void browse_descriptor_tree(uint8_t *, size_t, 67 usb_dp_descriptor_nesting_t *, dump_descriptor_in_tree_t, size_t, void *); 69 68 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 *); 69 extern void list(void); 70 71 extern void dump_short_device_identification(usb_device_t *); 72 extern void dump_device_match_ids(usb_device_t *); 73 extern void dump_descriptor_tree_brief(usb_device_t *); 74 extern void dump_descriptor_tree_full(usb_device_t *); 75 extern void dump_strings(usb_device_t *); 76 extern void dump_status(usb_device_t *); 77 extern void dump_hidreport_raw(usb_device_t *); 78 extern void dump_hidreport_usages(usb_device_t *); 78 79 79 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.