mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
vbox: Rewrite vboxConnectIsEncrypted
This commit is contained in:
parent
3a959b36fd
commit
16dcbaf09b
@ -428,3 +428,9 @@ int vboxConnectIsSecure(virConnectPtr conn ATTRIBUTE_UNUSED)
|
|||||||
/* Driver is using local, non-network based transport */
|
/* Driver is using local, non-network based transport */
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int vboxConnectIsEncrypted(virConnectPtr conn ATTRIBUTE_UNUSED)
|
||||||
|
{
|
||||||
|
/* No encryption is needed, or used on the local transport*/
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
@ -914,12 +914,6 @@ vboxSocketParseAddrUtf16(vboxGlobalData *data, const PRUnichar *utf16,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int vboxConnectIsEncrypted(virConnectPtr conn ATTRIBUTE_UNUSED)
|
|
||||||
{
|
|
||||||
/* No encryption is needed, or used on the local transport*/
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int vboxConnectIsAlive(virConnectPtr conn ATTRIBUTE_UNUSED)
|
static int vboxConnectIsAlive(virConnectPtr conn ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -223,6 +223,7 @@ int vboxDomainSave(virDomainPtr dom, const char *path);
|
|||||||
int vboxConnectGetVersion(virConnectPtr conn, unsigned long *version);
|
int vboxConnectGetVersion(virConnectPtr conn, unsigned long *version);
|
||||||
char *vboxConnectGetHostname(virConnectPtr conn);
|
char *vboxConnectGetHostname(virConnectPtr conn);
|
||||||
int vboxConnectIsSecure(virConnectPtr conn);
|
int vboxConnectIsSecure(virConnectPtr conn);
|
||||||
|
int vboxConnectIsEncrypted(virConnectPtr conn);
|
||||||
|
|
||||||
/* Version specified functions for installing uniformed API */
|
/* Version specified functions for installing uniformed API */
|
||||||
void vbox22InstallUniformedAPI(vboxUniformedAPI *pVBoxAPI);
|
void vbox22InstallUniformedAPI(vboxUniformedAPI *pVBoxAPI);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user