blob: 08267467eb9b8ecdefc0111d4b656de46ad8297c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// SPDX-License-Identifier: GPL-2.0+
/*
* Misc USB routines
*
* Copyright (C) 2003 Aurelien Jarno (aurelien@aurel32.net)
*/
#ifndef _USBMISC_H
#define _USBMISC_H
#include <libusb.h>
/* ---------------------------------------------------------------------- */
extern libusb_device *get_usb_device(libusb_context *ctx, const char *path);
extern char *get_dev_string(libusb_device_handle *dev, uint8_t id);
/* ---------------------------------------------------------------------- */
#endif /* _USBMISC_H */
|