packaging: Build PIE executables to allow address space randomization
[platform/upstream/usbutils.git] / sysfs.h
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Helpers for querying USB properties from sysfs
4  */
5
6 #ifndef _SYSFS_H
7 #define _SYSFS_H
8 /* ---------------------------------------------------------------------- */
9
10 int get_sysfs_name(char *buf, size_t size, libusb_device *dev);
11 extern int read_sysfs_prop(char *buf, size_t size, char *sysfs_name, char *propname);
12
13 /* ---------------------------------------------------------------------- */
14 #endif /* _SYSFS_H */