Changeset 33651 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Nov 1, 2010 1:53:01 PM (14 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ApplianceImpl.h
r33417 r33651 35 35 typedef struct VDINTERFACE *PVDINTERFACE; 36 36 typedef struct VDINTERFACEIO *PVDINTERFACEIO; 37 typedef struct SHA1STORAGE *PSHA1STORAGE;37 typedef struct RTSHA1STORAGE *PRTSHA1STORAGE; 38 38 39 39 namespace ovf … … 152 152 HRESULT readFSOVF(TaskOVF *pTask); 153 153 HRESULT readFSOVA(TaskOVF *pTask); 154 HRESULT readFSImpl(TaskOVF *pTask, PVDINTERFACEIO pCallbacks, P SHA1STORAGE pStorage);154 HRESULT readFSImpl(TaskOVF *pTask, PVDINTERFACEIO pCallbacks, PRTSHA1STORAGE pStorage); 155 155 HRESULT readS3(TaskOVF *pTask); 156 156 … … 166 166 HRESULT importS3(TaskOVF *pTask); 167 167 168 HRESULT readManifestFile(const Utf8Str &strFile, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, P SHA1STORAGE pStorage);169 HRESULT readTarManifestFile(RTTAR tar, const Utf8Str &strFile, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, P SHA1STORAGE pStorage);168 HRESULT readManifestFile(const Utf8Str &strFile, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, PRTSHA1STORAGE pStorage); 169 HRESULT readTarManifestFile(RTTAR tar, const Utf8Str &strFile, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, PRTSHA1STORAGE pStorage); 170 170 HRESULT verifyManifestFile(const Utf8Str &strFile, ImportStack &stack, void *pvBuf, size_t cbSize); 171 171 … … 181 181 ImportStack &stack, 182 182 PVDINTERFACEIO pCallbacks, 183 P SHA1STORAGE pStorage);183 PRTSHA1STORAGE pStorage); 184 184 void importMachineGeneric(const ovf::VirtualSystem &vsysThis, 185 185 ComObjPtr<VirtualSystemDescription> &vsdescThis, … … 187 187 ImportStack &stack, 188 188 PVDINTERFACEIO pCallbacks, 189 P SHA1STORAGE pStorage);189 PRTSHA1STORAGE pStorage); 190 190 void importVBoxMachine(ComObjPtr<VirtualSystemDescription> &vsdescThis, 191 191 ComPtr<IMachine> &pNewMachine, 192 192 ImportStack &stack, 193 193 PVDINTERFACEIO pCallbacks, 194 P SHA1STORAGE pStorage);194 PRTSHA1STORAGE pStorage); 195 195 void importMachines(ImportStack &stack, 196 196 PVDINTERFACEIO pCallbacks, 197 P SHA1STORAGE pStorage);197 PRTSHA1STORAGE pStorage); 198 198 199 199 /******************************************************************************* … … 206 206 HRESULT writeFSOVF(TaskOVF *pTask, AutoWriteLockBase& writeLock); 207 207 HRESULT writeFSOVA(TaskOVF *pTask, AutoWriteLockBase& writeLock); 208 HRESULT writeFSImpl(TaskOVF *pTask, AutoWriteLockBase& writeLock, PVDINTERFACEIO pCallbacks, P SHA1STORAGE pStorage);208 HRESULT writeFSImpl(TaskOVF *pTask, AutoWriteLockBase& writeLock, PVDINTERFACEIO pCallbacks, PRTSHA1STORAGE pStorage); 209 209 HRESULT writeS3(TaskOVF *pTask); 210 210 -
trunk/src/VBox/Main/include/ApplianceImplPrivate.h
r33417 r33651 221 221 ovf::CIMOSType_T convertVBoxOSType2CIMOSType(const char *pcszVbox); 222 222 223 typedef struct SHA1STORAGE223 typedef struct RTSHA1STORAGE 224 224 { 225 225 PVDINTERFACE pVDImageIfaces; 226 226 bool fCreateDigest; 227 227 Utf8Str strDigest; 228 } SHA1STORAGE, *PSHA1STORAGE;229 230 PVDINTERFACEIO Sha1CreateInterface();228 } RTSHA1STORAGE, *PRTSHA1STORAGE; 229 230 PVDINTERFACEIO RTSha1CreateInterface(); 231 231 PVDINTERFACEIO RTFileCreateInterface(); 232 232 PVDINTERFACEIO RTTarCreateInterface(); 233 int Sha1ReadBuf(const char *pcszFilename, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, void *pvUser);234 int Sha1WriteBuf(const char *pcszFilename, void *pvBuf, size_t cbSize, PVDINTERFACEIO pCallbacks, void *pvUser);233 int RTSha1ReadBuf(const char *pcszFilename, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, void *pvUser); 234 int RTSha1WriteBuf(const char *pcszFilename, void *pvBuf, size_t cbSize, PVDINTERFACEIO pCallbacks, void *pvUser); 235 235 236 236 #endif // ____H_APPLIANCEIMPLPRIVATE
Note:
See TracChangeset
for help on using the changeset viewer.