}
#ifdef LVS
-const char *virStorageFileGetLVMKey(const char *path)
+char *virStorageFileGetLVMKey(const char *path)
{
/*
* # lvs --noheadings --unbuffered --nosuffix --options "uuid" LVNAME
return key;
}
#else
-const char *virStorageFileGetLVMKey(const char *path)
+char *virStorageFileGetLVMKey(const char *path)
{
virReportSystemError(ENOSYS, _("Unable to get LVM key for %s"), path);
return NULL;
#endif
#ifdef HAVE_UDEV
-const char *virStorageFileGetSCSIKey(const char *path)
+char *virStorageFileGetSCSIKey(const char *path)
{
char *key = NULL;
virCommandPtr cmd = virCommandNewArgList(
return key;
}
#else
-const char *virStorageFileGetSCSIKey(const char *path)
+char *virStorageFileGetSCSIKey(const char *path)
{
virReportSystemError(ENOSYS, _("Unable to get SCSI key for %s"), path);
return NULL;
int virStorageFileIsSharedFSType(const char *path,
int fstypes);
-const char *virStorageFileGetLVMKey(const char *path);
-const char *virStorageFileGetSCSIKey(const char *path);
+char *virStorageFileGetLVMKey(const char *path);
+char *virStorageFileGetSCSIKey(const char *path);
#endif /* __VIR_STORAGE_FILE_H__ */