VirtualBox

Changeset 33651 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Nov 1, 2010 1:53:01 PM (14 years ago)
Author:
vboxsync
Message:

Main-OVF: rename

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ApplianceImpl.h

    r33417 r33651  
    3535typedef struct VDINTERFACE   *PVDINTERFACE;
    3636typedef struct VDINTERFACEIO *PVDINTERFACEIO;
    37 typedef struct SHA1STORAGE   *PSHA1STORAGE;
     37typedef struct RTSHA1STORAGE *PRTSHA1STORAGE;
    3838
    3939namespace ovf
     
    152152    HRESULT readFSOVF(TaskOVF *pTask);
    153153    HRESULT readFSOVA(TaskOVF *pTask);
    154     HRESULT readFSImpl(TaskOVF *pTask, PVDINTERFACEIO pCallbacks, PSHA1STORAGE pStorage);
     154    HRESULT readFSImpl(TaskOVF *pTask, PVDINTERFACEIO pCallbacks, PRTSHA1STORAGE pStorage);
    155155    HRESULT readS3(TaskOVF *pTask);
    156156
     
    166166    HRESULT importS3(TaskOVF *pTask);
    167167
    168     HRESULT readManifestFile(const Utf8Str &strFile, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, PSHA1STORAGE pStorage);
    169     HRESULT readTarManifestFile(RTTAR tar, const Utf8Str &strFile, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, PSHA1STORAGE 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);
    170170    HRESULT verifyManifestFile(const Utf8Str &strFile, ImportStack &stack, void *pvBuf, size_t cbSize);
    171171
     
    181181                            ImportStack &stack,
    182182                            PVDINTERFACEIO pCallbacks,
    183                             PSHA1STORAGE pStorage);
     183                            PRTSHA1STORAGE pStorage);
    184184    void importMachineGeneric(const ovf::VirtualSystem &vsysThis,
    185185                              ComObjPtr<VirtualSystemDescription> &vsdescThis,
     
    187187                              ImportStack &stack,
    188188                              PVDINTERFACEIO pCallbacks,
    189                               PSHA1STORAGE pStorage);
     189                              PRTSHA1STORAGE pStorage);
    190190    void importVBoxMachine(ComObjPtr<VirtualSystemDescription> &vsdescThis,
    191191                           ComPtr<IMachine> &pNewMachine,
    192192                           ImportStack &stack,
    193193                           PVDINTERFACEIO pCallbacks,
    194                            PSHA1STORAGE pStorage);
     194                           PRTSHA1STORAGE pStorage);
    195195    void importMachines(ImportStack &stack,
    196196                        PVDINTERFACEIO pCallbacks,
    197                         PSHA1STORAGE pStorage);
     197                        PRTSHA1STORAGE pStorage);
    198198
    199199    /*******************************************************************************
     
    206206    HRESULT writeFSOVF(TaskOVF *pTask, AutoWriteLockBase& writeLock);
    207207    HRESULT writeFSOVA(TaskOVF *pTask, AutoWriteLockBase& writeLock);
    208     HRESULT writeFSImpl(TaskOVF *pTask, AutoWriteLockBase& writeLock, PVDINTERFACEIO pCallbacks, PSHA1STORAGE pStorage);
     208    HRESULT writeFSImpl(TaskOVF *pTask, AutoWriteLockBase& writeLock, PVDINTERFACEIO pCallbacks, PRTSHA1STORAGE pStorage);
    209209    HRESULT writeS3(TaskOVF *pTask);
    210210
  • trunk/src/VBox/Main/include/ApplianceImplPrivate.h

    r33417 r33651  
    221221ovf::CIMOSType_T convertVBoxOSType2CIMOSType(const char *pcszVbox);
    222222
    223 typedef struct SHA1STORAGE
     223typedef struct RTSHA1STORAGE
    224224{
    225225    PVDINTERFACE pVDImageIfaces;
    226226    bool         fCreateDigest;
    227227    Utf8Str      strDigest;
    228 } SHA1STORAGE, *PSHA1STORAGE;
    229 
    230 PVDINTERFACEIO Sha1CreateInterface();
     228} RTSHA1STORAGE, *PRTSHA1STORAGE;
     229
     230PVDINTERFACEIO RTSha1CreateInterface();
    231231PVDINTERFACEIO RTFileCreateInterface();
    232232PVDINTERFACEIO 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);
     233int RTSha1ReadBuf(const char *pcszFilename, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, void *pvUser);
     234int RTSha1WriteBuf(const char *pcszFilename, void *pvBuf, size_t cbSize, PVDINTERFACEIO pCallbacks, void *pvUser);
    235235
    236236#endif // ____H_APPLIANCEIMPLPRIVATE
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette