blob: 63771f55016bb08a9e198f7d899345c3d37a1c9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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 */
|