Changeset 3100ebe in mainline for uspace/app/usbinfo/usbinfo.h
- Timestamp:
- 2011-03-16T10:14:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81ca204
- Parents:
- 2180979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/usbinfo.h
r2180979 r3100ebe 38 38 #include <usb/usb.h> 39 39 #include <usb/descriptor.h> 40 #include <usb/pipes.h> 40 41 #include <usb/debug.h> 41 42 #include <ipc/devman.h> 42 43 44 typedef struct { 45 usb_endpoint_pipe_t ctrl_pipe; 46 usb_device_connection_t wire; 47 usb_standard_device_descriptor_t device_descriptor; 48 } usbinfo_device_t; 43 49 44 50 #define NAME "usbinfo" … … 46 52 void dump_buffer(const char *, size_t, const uint8_t *, size_t); 47 53 const char *get_indent(size_t); 48 void dump_match_ids(match_id_list_t * matches);54 void dump_match_ids(match_id_list_t *, const char *); 49 55 void dump_usb_descriptor(uint8_t *, size_t); 50 56 int dump_device(devman_handle_t, usb_address_t); … … 56 62 } 57 63 64 usbinfo_device_t *prepare_device(devman_handle_t, usb_address_t); 65 void destroy_device(usbinfo_device_t *); 66 67 68 void dump_short_device_identification(usbinfo_device_t *); 69 void dump_device_match_ids(usbinfo_device_t *); 70 58 71 #endif 59 72 /**
Note:
See TracChangeset
for help on using the changeset viewer.