diff options
author | Karel Zak | 2012-10-23 12:12:07 +0200 |
---|---|---|
committer | Karel Zak | 2012-10-23 12:21:23 +0200 |
commit | a5dc4d2d9567aaa97a5c9ef2f6ce0b5a9124adb8 (patch) | |
tree | 63059eaeb2aaaa66c648c1aca0591c97c70d76ff /include/sysfs.h | |
parent | lib/sysfs: add functions for SCSI host attributes (diff) | |
download | kernel-qcow2-util-linux-a5dc4d2d9567aaa97a5c9ef2f6ce0b5a9124adb8.tar.gz kernel-qcow2-util-linux-a5dc4d2d9567aaa97a5c9ef2f6ce0b5a9124adb8.tar.xz kernel-qcow2-util-linux-a5dc4d2d9567aaa97a5c9ef2f6ce0b5a9124adb8.zip |
lib/sysfs: add SCSI link functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/sysfs.h')
-rw-r--r-- | include/sysfs.h | 2 |
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 */ |