summaryrefslogtreecommitdiffstats
path: root/include/sysfs.h
diff options
context:
space:
mode:
authorKarel Zak2011-05-16 17:20:55 +0200
committerKarel Zak2011-05-16 20:22:52 +0200
commitd8a84552fb6539eaa2c15882d434e3845d758014 (patch)
tree40ffda4b41c0eb21a5142a14b373f3e74643a5f4 /include/sysfs.h
parentlsblk: use generic sysfs functions (diff)
downloadkernel-qcow2-util-linux-d8a84552fb6539eaa2c15882d434e3845d758014.tar.gz
kernel-qcow2-util-linux-d8a84552fb6539eaa2c15882d434e3845d758014.tar.xz
kernel-qcow2-util-linux-d8a84552fb6539eaa2c15882d434e3845d758014.zip
libblkid: use stuff from sysfs.h and at.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/sysfs.h')
-rw-r--r--include/sysfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysfs.h b/include/sysfs.h
index bbb3816c2..ed11a5e19 100644
--- a/include/sysfs.h
+++ b/include/sysfs.h
@@ -39,6 +39,7 @@ extern void sysfs_deinit(struct sysfs_cxt *cxt);
extern DIR *sysfs_opendir(struct sysfs_cxt *cxt, const char *attr);
extern int sysfs_stat(struct sysfs_cxt *cxt, const char *attr, struct stat *st);
+extern int sysfs_has_attribute(struct sysfs_cxt *cxt, const char *attr);
extern int sysfs_scanf(struct sysfs_cxt *cxt, const char *attr,
const char *fmt, ...)