VirtualBox

Ignore:
Timestamp:
Jun 16, 2008 5:20:49 PM (16 years ago)
Author:
vboxsync
Message:

Extended the interface with backends to support time stamps and parent's filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r9528 r9734  
    46344634}
    46354635
     4636
     4637static int vmdkGetTimeStamp(void *pvBackendData, PRTTIMESPEC pTimeStamp)
     4638{
     4639    int rc = VERR_NOT_IMPLEMENTED;
     4640    LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4641    return rc;
     4642}
     4643
     4644static int vmdkGetParentTimeStamp(void *pvBackendData, PRTTIMESPEC pTimeStamp)
     4645{
     4646    int rc = VERR_NOT_IMPLEMENTED;
     4647    LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4648    return rc;
     4649}
     4650
     4651static int vmdkSetParentTimeStamp(void *pvBackendData, PCRTTIMESPEC pTimeStamp)
     4652{
     4653    int rc = VERR_NOT_IMPLEMENTED;
     4654    LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4655    return rc;
     4656}
     4657
     4658static int vmdkGetParentFilename(void *pvBackendData, char **ppszParentFilename)
     4659{
     4660    int rc = VERR_NOT_IMPLEMENTED;
     4661    LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4662    return rc;
     4663}
     4664
     4665static int vmdkSetParentFilename(void *pvBackendData, const char *pszParentFilename)
     4666{
     4667    int rc = VERR_NOT_IMPLEMENTED;
     4668    LogFlow(("%s: returned %Vrc\n", __FUNCTION__, rc));
     4669    return rc;
     4670}
    46364671
    46374672VBOXHDDBACKEND g_VmdkBackend =
     
    47034738    vmdkSetParentModificationUuid,
    47044739    /* pfnDump */
    4705     vmdkDump
     4740    vmdkDump,
     4741    /* pfnGetTimeStamp */
     4742    vmdkGetTimeStamp,
     4743    /* pfnGetParentTimeStamp */
     4744    vmdkGetParentTimeStamp,
     4745    /* pfnSetParentTimeStamp */
     4746    vmdkSetParentTimeStamp,
     4747    /* pfnGetParentFilename */
     4748    vmdkGetParentFilename,
     4749    /* pfnSetParentFilename */
     4750    vmdkSetParentFilename
    47064751};
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