mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 08:05:16 +00:00
util: storage: Export virStorageIsRelative
This commit is contained in:
parent
c885b7fe1d
commit
e4c3eff70e
@ -2593,6 +2593,7 @@ virStorageFileParseChainIndex;
|
|||||||
virStorageFileProbeFormat;
|
virStorageFileProbeFormat;
|
||||||
virStorageFileResize;
|
virStorageFileResize;
|
||||||
virStorageIsFile;
|
virStorageIsFile;
|
||||||
|
virStorageIsRelative;
|
||||||
virStorageNetHostDefClear;
|
virStorageNetHostDefClear;
|
||||||
virStorageNetHostDefCopy;
|
virStorageNetHostDefCopy;
|
||||||
virStorageNetHostDefFree;
|
virStorageNetHostDefFree;
|
||||||
|
@ -801,7 +801,7 @@ virStorageIsFile(const char *backing)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static bool
|
bool
|
||||||
virStorageIsRelative(const char *backing)
|
virStorageIsRelative(const char *backing)
|
||||||
{
|
{
|
||||||
if (backing[0] == '/')
|
if (backing[0] == '/')
|
||||||
|
@ -332,6 +332,7 @@ int virStorageFileResize(const char *path,
|
|||||||
|
|
||||||
int virStorageFileIsClusterFS(const char *path);
|
int virStorageFileIsClusterFS(const char *path);
|
||||||
bool virStorageIsFile(const char *path);
|
bool virStorageIsFile(const char *path);
|
||||||
|
bool virStorageIsRelative(const char *backing);
|
||||||
|
|
||||||
int virStorageFileGetLVMKey(const char *path,
|
int virStorageFileGetLVMKey(const char *path,
|
||||||
char **key);
|
char **key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user