diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:13:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:13:39 +0000 |
commit | 18d2dadb3c9132b52fdc88f509ea9005b9eebd5f (patch) | |
tree | 8e399598f572b2e88c16ddd26fb1fe601dd0e64b /usbmisc.h | |
parent | Initial commit. (diff) | |
download | usbutils-upstream.tar.xz usbutils-upstream.zip |
Adding upstream version 1:017.upstream/1%017upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'usbmisc.h')
-rw-r--r-- | usbmisc.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 <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 */ |