ApplianceImplPrivate.h revision 454ac5c6ef4960887035ceea6b5247789d3272da
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync * VirtualBox Appliance private data definitions
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * Copyright (C) 2006-2010 Oracle Corporation
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * available from http://www.virtualbox.org. This file is free software;
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * you can redistribute it and/or modify it under the terms of the GNU
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * General Public License (GPL) as published by the Free Software
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync////////////////////////////////////////////////////////////////////////////////
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync// Appliance data definition
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync////////////////////////////////////////////////////////////////////////////////
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync/* Describe a location for the import/export. The location could be a file on a
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync * local hard disk or a remote target based on the supported inet protocols. */
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync VFSType_T storageType; /* Which type of storage should be handled */
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync Utf8Str strPath; /* File path for the import/export */
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync Utf8Str strHostname; /* Hostname on remote storage locations (could be empty) */
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync Utf8Str strUsername; /* Username on remote storage locations (could be empty) */
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync Utf8Str strPassword; /* Password on remote storage locations (could be empty) */
d1c5a03c19683c719b94496bb998fde2f2e5e622vboxsync// opaque private instance data of Appliance class
Data()
, fManifest(true)
, fSha256(false)
, ulTotalDisksMB(0)
, cDisks(0)
~Data()
if (pReader)
enum TaskType
Read,
int startThread();
struct MyHardDiskAttachment
#ifdef VBOX_WITH_USB
bool fUSBEnabled;
fForceHWVirt(false),
fForceIOAPIC(false),
ulMemorySizeMB(0),
fSessionOpen(false)
typedef struct SHASTORAGE
bool fCreateDigest;
int ShaReadBuf(const char *pcszFilename, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pIfIo, void *pvUser);
int ShaWriteBuf(const char *pcszFilename, void *pvBuf, size_t cbSize, PVDINTERFACEIO pIfIo, void *pvUser);