dump.h (cf109686d0a89f698ba59a65d3199bdfc151f88a) | dump.h (eabe30fc9c3f2d6a3bc2fdcce18a0b9543b6c96e) |
---|---|
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 | |
30const char *dump_mode(uint8_t value); 31const char *dump_speed(uint8_t value); 32const char *dump_power_mode(uint8_t value); | 27const char *dump_mode(uint8_t value); 28const char *dump_speed(uint8_t value); 29const char *dump_power_mode(uint8_t value); |
33void dump_string_by_index(struct libusb20_device *pdev, uint8_t index); 34void dump_device_info(struct libusb20_device *pdev, uint8_t show_drv); | 30void dump_device_info(struct libusb20_device *pdev); 31void dump_be_access(struct libusb20_backend *pbe); |
35void dump_be_quirk_names(struct libusb20_backend *pbe); 36void dump_be_dev_quirks(struct libusb20_backend *pbe); | 32void dump_be_quirk_names(struct libusb20_backend *pbe); 33void dump_be_dev_quirks(struct libusb20_backend *pbe); |
34void dump_device_access(struct libusb20_device *pdev, uint8_t iface); 35int dump_device_iface_access(struct libusb20_device *pdev, uint8_t iface); |
|
37void dump_device_desc(struct libusb20_device *pdev); 38void dump_config(struct libusb20_device *pdev, uint8_t all_cfg); | 36void dump_device_desc(struct libusb20_device *pdev); 37void dump_config(struct libusb20_device *pdev, uint8_t all_cfg); |
39 40#endif /* _DUMP_H_ */ | |