From e2e1a00b1595b4930b86e3ba3ea2e9b771a79653 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:27:07 +0200 Subject: Adding upstream version 1:014. Signed-off-by: Daniel Baumann --- usbmisc.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 usbmisc.h (limited to 'usbmisc.h') diff --git a/usbmisc.h b/usbmisc.h new file mode 100644 index 0000000..24b27ee --- /dev/null +++ b/usbmisc.h @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Misc USB routines + * + * Copyright (C) 2003 Aurelien Jarno (aurelien@aurel32.net) + */ + +#ifndef _USBMISC_H +#define _USBMISC_H + +#include + +/* ---------------------------------------------------------------------- */ + +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 */ -- cgit v1.2.3