Changeset 3100ebe in mainline for uspace/app/usbinfo/usbinfo.h


Ignore:
Timestamp:
2011-03-16T10:14:57Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81ca204
Parents:
2180979
Message:

Preparation for more modular usbinfo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/usbinfo.h

    r2180979 r3100ebe  
    3838#include <usb/usb.h>
    3939#include <usb/descriptor.h>
     40#include <usb/pipes.h>
    4041#include <usb/debug.h>
    4142#include <ipc/devman.h>
    4243
     44typedef 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;
    4349
    4450#define NAME "usbinfo"
     
    4652void dump_buffer(const char *, size_t, const uint8_t *, size_t);
    4753const char *get_indent(size_t);
    48 void dump_match_ids(match_id_list_t *matches);
     54void dump_match_ids(match_id_list_t *, const char *);
    4955void dump_usb_descriptor(uint8_t *, size_t);
    5056int dump_device(devman_handle_t, usb_address_t);
     
    5662}
    5763
     64usbinfo_device_t *prepare_device(devman_handle_t, usb_address_t);
     65void destroy_device(usbinfo_device_t *);
     66
     67
     68void dump_short_device_identification(usbinfo_device_t *);
     69void dump_device_match_ids(usbinfo_device_t *);
     70
    5871#endif
    5972/**
Note: See TracChangeset for help on using the changeset viewer.