Changeset 03e02248 in mainline for uspace/app/usbinfo/dump.c


Ignore:
Timestamp:
2010-12-12T13:10:31Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ed5b576
Parents:
02ccfcd
Message:

App `usbinfo' dumps possible match ids

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/dump.c

    r02ccfcd r03e02248  
    6969}
    7070
     71void dump_match_ids(match_id_list_t *matches)
     72{
     73        printf("Match ids:\n");
     74        link_t *link;
     75        for (link = matches->ids.next;
     76            link != &matches->ids;
     77            link = link->next) {
     78                match_id_t *match = list_get_instance(link, match_id_t, link);
     79
     80                printf(INDENT "%d %s\n", match->score, match->id);
     81        }
     82}
     83
    7184void dump_standard_device_descriptor(usb_standard_device_descriptor_t *d)
    7285{
Note: See TracChangeset for help on using the changeset viewer.