usbutils/sysfs.h
Greg Kroah-Hartman 23b232bf36 rename "GPL-2.0+" to "GPL-2.0-or-later"
This makes `reuse lint` happy as well as license lawyers...

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-22 14:25:02 +01:00

17 lines
534 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, char *sysfs_name, char *propname);
/* ---------------------------------------------------------------------- */
#endif /* _SYSFS_H */