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