* NULL. (We can't assign a new name to hostonly network, only
* take the given name, say vboxnet0)
*/
- gVBoxAPI.UIHost.CreateHostOnlyNetworkInterface(data, host, def->name,
- &networkInterface);
+ gVBoxAPI.UIHost.CreateHostOnlyNetworkInterface(host, &networkInterface);
if (!networkInterface)
goto cleanup;
}
static nsresult
-_hostCreateHostOnlyNetworkInterface(struct _vboxDriver *data G_GNUC_UNUSED,
- IHost *host, char *name G_GNUC_UNUSED,
+_hostCreateHostOnlyNetworkInterface(IHost *host,
IHostNetworkInterface **networkInterface)
{
nsresult rc = -1;
IHostNetworkInterface **networkInterface);
nsresult (*FindHostNetworkInterfaceByName)(IHost *host, PRUnichar *name,
IHostNetworkInterface **networkInterface);
- nsresult (*CreateHostOnlyNetworkInterface)(struct _vboxDriver *driver,
- IHost *host, char *name,
+ nsresult (*CreateHostOnlyNetworkInterface)(IHost *host,
IHostNetworkInterface **networkInterface);
nsresult (*RemoveHostOnlyNetworkInterface)(IHost *host, vboxIID *iid,
IProgress **progress);