dump.h (10b3b54548f2290bbe8d8f88c59c28d12b7a635d) dump.h (cf109686d0a89f698ba59a65d3199bdfc151f88a)
1/* $FreeBSD$ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
1/* $FreeBSD$ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#ifndef _DUMP_H_
28#define _DUMP_H_
29
27const char *dump_mode(uint8_t value);
28const char *dump_speed(uint8_t value);
29const char *dump_power_mode(uint8_t value);
30const char *dump_mode(uint8_t value);
31const char *dump_speed(uint8_t value);
32const char *dump_power_mode(uint8_t value);
33void dump_string_by_index(struct libusb20_device *pdev, uint8_t index);
30void dump_device_info(struct libusb20_device *pdev, uint8_t show_drv);
31void dump_be_quirk_names(struct libusb20_backend *pbe);
32void dump_be_dev_quirks(struct libusb20_backend *pbe);
33void dump_device_desc(struct libusb20_device *pdev);
34void dump_config(struct libusb20_device *pdev, uint8_t all_cfg);
34void dump_device_info(struct libusb20_device *pdev, uint8_t show_drv);
35void dump_be_quirk_names(struct libusb20_backend *pbe);
36void dump_be_dev_quirks(struct libusb20_backend *pbe);
37void dump_device_desc(struct libusb20_device *pdev);
38void dump_config(struct libusb20_device *pdev, uint8_t all_cfg);
39
40#endif /* _DUMP_H_ */