summaryrefslogtreecommitdiffstats
path: root/include/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysfs.h')
-rw-r--r--include/sysfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysfs.h b/include/sysfs.h
index f0d33611e..4f9c46bb3 100644
--- a/include/sysfs.h
+++ b/include/sysfs.h
@@ -78,5 +78,7 @@ extern int sysfs_scsi_get_hctl(struct sysfs_cxt *cxt, int *h,
extern char *sysfs_scsi_host_strdup_attribute(struct sysfs_cxt *cxt,
const char *type, const char *attr);
extern int sysfs_scsi_host_is(struct sysfs_cxt *cxt, const char *type);
+extern int sysfs_scsi_has_attribute(struct sysfs_cxt *cxt, const char *attr);
+extern int sysfs_scsi_path_contains(struct sysfs_cxt *cxt, const char *pattern);
#endif /* UTIL_LINUX_SYSFS_H */