mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git
synced 2024-11-14 14:33:44 +08:00
1a1185f914
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
17 lines
546 B
C
17 lines
546 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Helpers for querying USB properties from sysfs
|
|
*
|
|
* Copyright (C) 1999, 2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
|
|
*/
|
|
|
|
#ifndef _SYSFS_H
|
|
#define _SYSFS_H
|
|
/* ---------------------------------------------------------------------- */
|
|
|
|
int get_sysfs_name(char *buf, size_t size, libusb_device *dev);
|
|
extern int read_sysfs_prop(char *buf, size_t size, const char *sysfs_name, const char *propname);
|
|
|
|
/* ---------------------------------------------------------------------- */
|
|
#endif /* _SYSFS_H */
|