- Timestamp:
- Sep 9, 2016 9:48:46 PM (8 years ago)
- Location:
- trunk/src/VBox/Storage
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/DMG.cpp
r63781 r63785 1721 1721 1722 1722 1723 /** @interface_method_impl{V BOXHDDBACKEND,pfnCheckIfValid} */1723 /** @interface_method_impl{VDIMAGEBACKEND,pfnCheckIfValid} */ 1724 1724 static DECLCALLBACK(int) dmgCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 1725 1725 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) … … 1815 1815 } 1816 1816 1817 /** @interface_method_impl{V BOXHDDBACKEND,pfnOpen} */1817 /** @interface_method_impl{VDIMAGEBACKEND,pfnOpen} */ 1818 1818 static DECLCALLBACK(int) dmgOpen(const char *pszFilename, unsigned uOpenFlags, 1819 1819 PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, … … 1869 1869 } 1870 1870 1871 /** @interface_method_impl{V BOXHDDBACKEND,pfnCreate} */1871 /** @interface_method_impl{VDIMAGEBACKEND,pfnCreate} */ 1872 1872 static DECLCALLBACK(int) dmgCreate(const char *pszFilename, uint64_t cbSize, 1873 1873 unsigned uImageFlags, const char *pszComment, … … 1889 1889 } 1890 1890 1891 /** @interface_method_impl{V BOXHDDBACKEND,pfnRename} */1891 /** @interface_method_impl{VDIMAGEBACKEND,pfnRename} */ 1892 1892 static DECLCALLBACK(int) dmgRename(void *pBackendData, const char *pszFilename) 1893 1893 { … … 1900 1900 } 1901 1901 1902 /** @interface_method_impl{V BOXHDDBACKEND,pfnClose} */1902 /** @interface_method_impl{VDIMAGEBACKEND,pfnClose} */ 1903 1903 static DECLCALLBACK(int) dmgClose(void *pBackendData, bool fDelete) 1904 1904 { … … 1913 1913 } 1914 1914 1915 /** @interface_method_impl{V BOXHDDBACKEND,pfnRead} */1915 /** @interface_method_impl{VDIMAGEBACKEND,pfnRead} */ 1916 1916 static DECLCALLBACK(int) dmgRead(void *pBackendData, uint64_t uOffset, size_t cbToRead, 1917 1917 PVDIOCTX pIoCtx, size_t *pcbActuallyRead) … … 2001 2001 } 2002 2002 2003 /** @interface_method_impl{V BOXHDDBACKEND,pfnWrite} */2003 /** @interface_method_impl{VDIMAGEBACKEND,pfnWrite} */ 2004 2004 static DECLCALLBACK(int) dmgWrite(void *pBackendData, uint64_t uOffset, size_t cbToWrite, 2005 2005 PVDIOCTX pIoCtx, size_t *pcbWriteProcess, size_t *pcbPreRead, … … 2025 2025 } 2026 2026 2027 /** @interface_method_impl{V BOXHDDBACKEND,pfnFlush} */2027 /** @interface_method_impl{VDIMAGEBACKEND,pfnFlush} */ 2028 2028 static DECLCALLBACK(int) dmgFlush(void *pBackendData, PVDIOCTX pIoCtx) 2029 2029 { … … 2041 2041 } 2042 2042 2043 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetVersion} */2043 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetVersion} */ 2044 2044 static DECLCALLBACK(unsigned) dmgGetVersion(void *pBackendData) 2045 2045 { … … 2055 2055 } 2056 2056 2057 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetSectorSize} */2057 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetSectorSize} */ 2058 2058 static DECLCALLBACK(uint32_t) dmgGetSectorSize(void *pBackendData) 2059 2059 { … … 2071 2071 } 2072 2072 2073 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetSize} */2073 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetSize} */ 2074 2074 static DECLCALLBACK(uint64_t) dmgGetSize(void *pBackendData) 2075 2075 { … … 2087 2087 } 2088 2088 2089 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetFileSize} */2089 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetFileSize} */ 2090 2090 static DECLCALLBACK(uint64_t) dmgGetFileSize(void *pBackendData) 2091 2091 { … … 2108 2108 } 2109 2109 2110 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetPCHSGeometry} */2110 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetPCHSGeometry} */ 2111 2111 static DECLCALLBACK(int) dmgGetPCHSGeometry(void *pBackendData, PVDGEOMETRY pPCHSGeometry) 2112 2112 { … … 2134 2134 } 2135 2135 2136 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetPCHSGeometry} */2136 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetPCHSGeometry} */ 2137 2137 static DECLCALLBACK(int) dmgSetPCHSGeometry(void *pBackendData, PCVDGEOMETRY pPCHSGeometry) 2138 2138 { … … 2161 2161 } 2162 2162 2163 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetLCHSGeometry} */2163 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetLCHSGeometry} */ 2164 2164 static DECLCALLBACK(int) dmgGetLCHSGeometry(void *pBackendData, PVDGEOMETRY pLCHSGeometry) 2165 2165 { … … 2187 2187 } 2188 2188 2189 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetLCHSGeometry} */2189 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetLCHSGeometry} */ 2190 2190 static DECLCALLBACK(int) dmgSetLCHSGeometry(void *pBackendData, PCVDGEOMETRY pLCHSGeometry) 2191 2191 { … … 2214 2214 } 2215 2215 2216 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetImageFlags} */2216 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetImageFlags} */ 2217 2217 static DECLCALLBACK(unsigned) dmgGetImageFlags(void *pBackendData) 2218 2218 { … … 2232 2232 } 2233 2233 2234 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetOpenFlags} */2234 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetOpenFlags} */ 2235 2235 static DECLCALLBACK(unsigned) dmgGetOpenFlags(void *pBackendData) 2236 2236 { … … 2250 2250 } 2251 2251 2252 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetOpenFlags} */2252 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetOpenFlags} */ 2253 2253 static DECLCALLBACK(int) dmgSetOpenFlags(void *pBackendData, unsigned uOpenFlags) 2254 2254 { … … 2277 2277 } 2278 2278 2279 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetComment} */2279 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetComment} */ 2280 2280 static DECLCALLBACK(int) dmgGetComment(void *pBackendData, char *pszComment, size_t cbComment) 2281 2281 { … … 2296 2296 } 2297 2297 2298 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetComment} */2298 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetComment} */ 2299 2299 static DECLCALLBACK(int) dmgSetComment(void *pBackendData, const char *pszComment) 2300 2300 { … … 2320 2320 } 2321 2321 2322 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetUuid} */2322 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetUuid} */ 2323 2323 static DECLCALLBACK(int) dmgGetUuid(void *pBackendData, PRTUUID pUuid) 2324 2324 { … … 2339 2339 } 2340 2340 2341 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetUuid} */2341 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetUuid} */ 2342 2342 static DECLCALLBACK(int) dmgSetUuid(void *pBackendData, PCRTUUID pUuid) 2343 2343 { … … 2364 2364 } 2365 2365 2366 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetModificationUuid} */2366 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetModificationUuid} */ 2367 2367 static DECLCALLBACK(int) dmgGetModificationUuid(void *pBackendData, PRTUUID pUuid) 2368 2368 { … … 2383 2383 } 2384 2384 2385 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetModificationUuid} */2385 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetModificationUuid} */ 2386 2386 static DECLCALLBACK(int) dmgSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 2387 2387 { … … 2407 2407 } 2408 2408 2409 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetParentUuid} */2409 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetParentUuid} */ 2410 2410 static DECLCALLBACK(int) dmgGetParentUuid(void *pBackendData, PRTUUID pUuid) 2411 2411 { … … 2426 2426 } 2427 2427 2428 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetParentUuid} */2428 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetParentUuid} */ 2429 2429 static DECLCALLBACK(int) dmgSetParentUuid(void *pBackendData, PCRTUUID pUuid) 2430 2430 { … … 2450 2450 } 2451 2451 2452 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetParentModificationUuid} */2452 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetParentModificationUuid} */ 2453 2453 static DECLCALLBACK(int) dmgGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 2454 2454 { … … 2469 2469 } 2470 2470 2471 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetParentModificationUuid} */2471 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetParentModificationUuid} */ 2472 2472 static DECLCALLBACK(int) dmgSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 2473 2473 { … … 2493 2493 } 2494 2494 2495 /** @interface_method_impl{V BOXHDDBACKEND,pfnDump} */2495 /** @interface_method_impl{VDIMAGEBACKEND,pfnDump} */ 2496 2496 static DECLCALLBACK(void) dmgDump(void *pBackendData) 2497 2497 { -
trunk/src/VBox/Storage/ISCSI.cpp
r63781 r63785 4650 4650 4651 4651 4652 /** @copydoc V BOXHDDBACKEND::pfnCheckIfValid */4652 /** @copydoc VDIMAGEBACKEND::pfnCheckIfValid */ 4653 4653 static DECLCALLBACK(int) iscsiCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 4654 4654 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) … … 4665 4665 } 4666 4666 4667 /** @copydoc V BOXHDDBACKEND::pfnOpen */4667 /** @copydoc VDIMAGEBACKEND::pfnOpen */ 4668 4668 static DECLCALLBACK(int) iscsiOpen(const char *pszFilename, unsigned uOpenFlags, 4669 4669 PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, … … 4729 4729 } 4730 4730 4731 /** @copydoc V BOXHDDBACKEND::pfnCreate */4731 /** @copydoc VDIMAGEBACKEND::pfnCreate */ 4732 4732 static DECLCALLBACK(int) iscsiCreate(const char *pszFilename, uint64_t cbSize, 4733 4733 unsigned uImageFlags, const char *pszComment, … … 4749 4749 } 4750 4750 4751 /** @copydoc V BOXHDDBACKEND::pfnClose */4751 /** @copydoc VDIMAGEBACKEND::pfnClose */ 4752 4752 static DECLCALLBACK(int) iscsiClose(void *pBackendData, bool fDelete) 4753 4753 { … … 4765 4765 } 4766 4766 4767 /** @copydoc V BOXHDDBACKEND::pfnRead */4767 /** @copydoc VDIMAGEBACKEND::pfnRead */ 4768 4768 static DECLCALLBACK(int) iscsiRead(void *pBackendData, uint64_t uOffset, size_t cbToRead, 4769 4769 PVDIOCTX pIoCtx, size_t *pcbActuallyRead) … … 4888 4888 } 4889 4889 4890 /** @copydoc V BOXHDDBACKEND::pfnWrite */4890 /** @copydoc VDIMAGEBACKEND::pfnWrite */ 4891 4891 static DECLCALLBACK(int) iscsiWrite(void *pBackendData, uint64_t uOffset, size_t cbToWrite, 4892 4892 PVDIOCTX pIoCtx, size_t *pcbWriteProcess, size_t *pcbPreRead, … … 5015 5015 } 5016 5016 5017 /** @copydoc V BOXHDDBACKEND::pfnFlush */5017 /** @copydoc VDIMAGEBACKEND::pfnFlush */ 5018 5018 static DECLCALLBACK(int) iscsiFlush(void *pBackendData, PVDIOCTX pIoCtx) 5019 5019 { … … 5075 5075 } 5076 5076 5077 /** @copydoc V BOXHDDBACKEND::pfnGetVersion */5077 /** @copydoc VDIMAGEBACKEND::pfnGetVersion */ 5078 5078 static DECLCALLBACK(unsigned) iscsiGetVersion(void *pBackendData) 5079 5079 { … … 5087 5087 } 5088 5088 5089 /** @copydoc V BOXHDDBACKEND::pfnGetSectorSize */5089 /** @copydoc VDIMAGEBACKEND::pfnGetSectorSize */ 5090 5090 static DECLCALLBACK(uint32_t) iscsiGetSectorSize(void *pBackendData) 5091 5091 { … … 5101 5101 } 5102 5102 5103 /** @copydoc V BOXHDDBACKEND::pfnGetSize */5103 /** @copydoc VDIMAGEBACKEND::pfnGetSize */ 5104 5104 static DECLCALLBACK(uint64_t) iscsiGetSize(void *pBackendData) 5105 5105 { … … 5115 5115 } 5116 5116 5117 /** @copydoc V BOXHDDBACKEND::pfnGetFileSize */5117 /** @copydoc VDIMAGEBACKEND::pfnGetFileSize */ 5118 5118 static DECLCALLBACK(uint64_t) iscsiGetFileSize(void *pBackendData) 5119 5119 { … … 5130 5130 } 5131 5131 5132 /** @copydoc V BOXHDDBACKEND::pfnGetPCHSGeometry */5132 /** @copydoc VDIMAGEBACKEND::pfnGetPCHSGeometry */ 5133 5133 static DECLCALLBACK(int) iscsiGetPCHSGeometry(void *pBackendData, PVDGEOMETRY pPCHSGeometry) 5134 5134 { … … 5149 5149 } 5150 5150 5151 /** @copydoc V BOXHDDBACKEND::pfnSetPCHSGeometry */5151 /** @copydoc VDIMAGEBACKEND::pfnSetPCHSGeometry */ 5152 5152 static DECLCALLBACK(int) iscsiSetPCHSGeometry(void *pBackendData, PCVDGEOMETRY pPCHSGeometry) 5153 5153 { … … 5176 5176 } 5177 5177 5178 /** @copydoc V BOXHDDBACKEND::pfnGetLCHSGeometry */5178 /** @copydoc VDIMAGEBACKEND::pfnGetLCHSGeometry */ 5179 5179 static DECLCALLBACK(int) iscsiGetLCHSGeometry(void *pBackendData, PVDGEOMETRY pLCHSGeometry) 5180 5180 { … … 5195 5195 } 5196 5196 5197 /** @copydoc V BOXHDDBACKEND::pfnSetLCHSGeometry */5197 /** @copydoc VDIMAGEBACKEND::pfnSetLCHSGeometry */ 5198 5198 static DECLCALLBACK(int) iscsiSetLCHSGeometry(void *pBackendData, PCVDGEOMETRY pLCHSGeometry) 5199 5199 { … … 5222 5222 } 5223 5223 5224 /** @copydoc V BOXHDDBACKEND::pfnGetImageFlags */5224 /** @copydoc VDIMAGEBACKEND::pfnGetImageFlags */ 5225 5225 static DECLCALLBACK(unsigned) iscsiGetImageFlags(void *pBackendData) 5226 5226 { … … 5238 5238 } 5239 5239 5240 /** @copydoc V BOXHDDBACKEND::pfnGetOpenFlags */5240 /** @copydoc VDIMAGEBACKEND::pfnGetOpenFlags */ 5241 5241 static DECLCALLBACK(unsigned) iscsiGetOpenFlags(void *pBackendData) 5242 5242 { … … 5256 5256 } 5257 5257 5258 /** @copydoc V BOXHDDBACKEND::pfnSetOpenFlags */5258 /** @copydoc VDIMAGEBACKEND::pfnSetOpenFlags */ 5259 5259 static DECLCALLBACK(int) iscsiSetOpenFlags(void *pBackendData, unsigned uOpenFlags) 5260 5260 { … … 5288 5288 } 5289 5289 5290 /** @copydoc V BOXHDDBACKEND::pfnGetComment */5290 /** @copydoc VDIMAGEBACKEND::pfnGetComment */ 5291 5291 static DECLCALLBACK(int) iscsiGetComment(void *pBackendData, char *pszComment, 5292 5292 size_t cbComment) … … 5308 5308 } 5309 5309 5310 /** @copydoc V BOXHDDBACKEND::pfnSetComment */5310 /** @copydoc VDIMAGEBACKEND::pfnSetComment */ 5311 5311 static DECLCALLBACK(int) iscsiSetComment(void *pBackendData, const char *pszComment) 5312 5312 { … … 5332 5332 } 5333 5333 5334 /** @copydoc V BOXHDDBACKEND::pfnGetUuid */5334 /** @copydoc VDIMAGEBACKEND::pfnGetUuid */ 5335 5335 static DECLCALLBACK(int) iscsiGetUuid(void *pBackendData, PRTUUID pUuid) 5336 5336 { … … 5351 5351 } 5352 5352 5353 /** @copydoc V BOXHDDBACKEND::pfnSetUuid */5353 /** @copydoc VDIMAGEBACKEND::pfnSetUuid */ 5354 5354 static DECLCALLBACK(int) iscsiSetUuid(void *pBackendData, PCRTUUID pUuid) 5355 5355 { … … 5376 5376 } 5377 5377 5378 /** @copydoc V BOXHDDBACKEND::pfnGetModificationUuid */5378 /** @copydoc VDIMAGEBACKEND::pfnGetModificationUuid */ 5379 5379 static DECLCALLBACK(int) iscsiGetModificationUuid(void *pBackendData, PRTUUID pUuid) 5380 5380 { … … 5395 5395 } 5396 5396 5397 /** @copydoc V BOXHDDBACKEND::pfnSetModificationUuid */5397 /** @copydoc VDIMAGEBACKEND::pfnSetModificationUuid */ 5398 5398 static DECLCALLBACK(int) iscsiSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 5399 5399 { … … 5420 5420 } 5421 5421 5422 /** @copydoc V BOXHDDBACKEND::pfnGetParentUuid */5422 /** @copydoc VDIMAGEBACKEND::pfnGetParentUuid */ 5423 5423 static DECLCALLBACK(int) iscsiGetParentUuid(void *pBackendData, PRTUUID pUuid) 5424 5424 { … … 5439 5439 } 5440 5440 5441 /** @copydoc V BOXHDDBACKEND::pfnSetParentUuid */5441 /** @copydoc VDIMAGEBACKEND::pfnSetParentUuid */ 5442 5442 static DECLCALLBACK(int) iscsiSetParentUuid(void *pBackendData, PCRTUUID pUuid) 5443 5443 { … … 5464 5464 } 5465 5465 5466 /** @copydoc V BOXHDDBACKEND::pfnGetParentModificationUuid */5466 /** @copydoc VDIMAGEBACKEND::pfnGetParentModificationUuid */ 5467 5467 static DECLCALLBACK(int) iscsiGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 5468 5468 { … … 5483 5483 } 5484 5484 5485 /** @copydoc V BOXHDDBACKEND::pfnSetParentModificationUuid */5485 /** @copydoc VDIMAGEBACKEND::pfnSetParentModificationUuid */ 5486 5486 static DECLCALLBACK(int) iscsiSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 5487 5487 { … … 5508 5508 } 5509 5509 5510 /** @copydoc V BOXHDDBACKEND::pfnDump */5510 /** @copydoc VDIMAGEBACKEND::pfnDump */ 5511 5511 static DECLCALLBACK(void) iscsiDump(void *pBackendData) 5512 5512 { … … 5521 5521 } 5522 5522 5523 /** @copydoc V BOXHDDBACKEND::pfnComposeLocation */5523 /** @copydoc VDIMAGEBACKEND::pfnComposeLocation */ 5524 5524 static DECLCALLBACK(int) iscsiComposeLocation(PVDINTERFACE pConfig, char **pszLocation) 5525 5525 { … … 5548 5548 } 5549 5549 5550 /** @copydoc V BOXHDDBACKEND::pfnComposeName */5550 /** @copydoc VDIMAGEBACKEND::pfnComposeName */ 5551 5551 static DECLCALLBACK(int) iscsiComposeName(PVDINTERFACE pConfig, char **pszName) 5552 5552 { -
trunk/src/VBox/Storage/QCOW.cpp
r63781 r63785 1531 1531 } 1532 1532 1533 /** @copydoc V BOXHDDBACKEND::pfnCheckIfValid */1533 /** @copydoc VDIMAGEBACKEND::pfnCheckIfValid */ 1534 1534 static DECLCALLBACK(int) qcowCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 1535 1535 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) … … 1589 1589 } 1590 1590 1591 /** @copydoc V BOXHDDBACKEND::pfnOpen */1591 /** @copydoc VDIMAGEBACKEND::pfnOpen */ 1592 1592 static DECLCALLBACK(int) qcowOpen(const char *pszFilename, unsigned uOpenFlags, 1593 1593 PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, … … 1638 1638 } 1639 1639 1640 /** @copydoc V BOXHDDBACKEND::pfnCreate */1640 /** @copydoc VDIMAGEBACKEND::pfnCreate */ 1641 1641 static DECLCALLBACK(int) qcowCreate(const char *pszFilename, uint64_t cbSize, 1642 1642 unsigned uImageFlags, const char *pszComment, … … 1725 1725 } 1726 1726 1727 /** @copydoc V BOXHDDBACKEND::pfnRename */1727 /** @copydoc VDIMAGEBACKEND::pfnRename */ 1728 1728 static DECLCALLBACK(int) qcowRename(void *pBackendData, const char *pszFilename) 1729 1729 { … … 1771 1771 } 1772 1772 1773 /** @copydoc V BOXHDDBACKEND::pfnClose */1773 /** @copydoc VDIMAGEBACKEND::pfnClose */ 1774 1774 static DECLCALLBACK(int) qcowClose(void *pBackendData, bool fDelete) 1775 1775 { … … 2033 2033 } 2034 2034 2035 /** @copydoc V BOXHDDBACKEND::pfnGetVersion */2035 /** @copydoc VDIMAGEBACKEND::pfnGetVersion */ 2036 2036 static DECLCALLBACK(unsigned) qcowGetVersion(void *pBackendData) 2037 2037 { … … 2047 2047 } 2048 2048 2049 /** @copydoc V BOXHDDBACKEND::pfnGetSectorSize */2049 /** @copydoc VDIMAGEBACKEND::pfnGetSectorSize */ 2050 2050 static DECLCALLBACK(uint32_t) qcowGetSectorSize(void *pBackendData) 2051 2051 { … … 2063 2063 } 2064 2064 2065 /** @copydoc V BOXHDDBACKEND::pfnGetSize */2065 /** @copydoc VDIMAGEBACKEND::pfnGetSize */ 2066 2066 static DECLCALLBACK(uint64_t) qcowGetSize(void *pBackendData) 2067 2067 { … … 2079 2079 } 2080 2080 2081 /** @copydoc V BOXHDDBACKEND::pfnGetFileSize */2081 /** @copydoc VDIMAGEBACKEND::pfnGetFileSize */ 2082 2082 static DECLCALLBACK(uint64_t) qcowGetFileSize(void *pBackendData) 2083 2083 { … … 2103 2103 } 2104 2104 2105 /** @copydoc V BOXHDDBACKEND::pfnGetPCHSGeometry */2105 /** @copydoc VDIMAGEBACKEND::pfnGetPCHSGeometry */ 2106 2106 static DECLCALLBACK(int) qcowGetPCHSGeometry(void *pBackendData, 2107 2107 PVDGEOMETRY pPCHSGeometry) … … 2130 2130 } 2131 2131 2132 /** @copydoc V BOXHDDBACKEND::pfnSetPCHSGeometry */2132 /** @copydoc VDIMAGEBACKEND::pfnSetPCHSGeometry */ 2133 2133 static DECLCALLBACK(int) qcowSetPCHSGeometry(void *pBackendData, 2134 2134 PCVDGEOMETRY pPCHSGeometry) … … 2159 2159 } 2160 2160 2161 /** @copydoc V BOXHDDBACKEND::pfnGetLCHSGeometry */2161 /** @copydoc VDIMAGEBACKEND::pfnGetLCHSGeometry */ 2162 2162 static DECLCALLBACK(int) qcowGetLCHSGeometry(void *pBackendData, 2163 2163 PVDGEOMETRY pLCHSGeometry) … … 2186 2186 } 2187 2187 2188 /** @copydoc V BOXHDDBACKEND::pfnSetLCHSGeometry */2188 /** @copydoc VDIMAGEBACKEND::pfnSetLCHSGeometry */ 2189 2189 static DECLCALLBACK(int) qcowSetLCHSGeometry(void *pBackendData, 2190 2190 PCVDGEOMETRY pLCHSGeometry) … … 2215 2215 } 2216 2216 2217 /** @copydoc V BOXHDDBACKEND::pfnGetImageFlags */2217 /** @copydoc VDIMAGEBACKEND::pfnGetImageFlags */ 2218 2218 static DECLCALLBACK(unsigned) qcowGetImageFlags(void *pBackendData) 2219 2219 { … … 2233 2233 } 2234 2234 2235 /** @copydoc V BOXHDDBACKEND::pfnGetOpenFlags */2235 /** @copydoc VDIMAGEBACKEND::pfnGetOpenFlags */ 2236 2236 static DECLCALLBACK(unsigned) qcowGetOpenFlags(void *pBackendData) 2237 2237 { … … 2251 2251 } 2252 2252 2253 /** @copydoc V BOXHDDBACKEND::pfnSetOpenFlags */2253 /** @copydoc VDIMAGEBACKEND::pfnSetOpenFlags */ 2254 2254 static DECLCALLBACK(int) qcowSetOpenFlags(void *pBackendData, unsigned uOpenFlags) 2255 2255 { … … 2277 2277 } 2278 2278 2279 /** @copydoc V BOXHDDBACKEND::pfnGetComment */2279 /** @copydoc VDIMAGEBACKEND::pfnGetComment */ 2280 2280 static DECLCALLBACK(int) qcowGetComment(void *pBackendData, char *pszComment, size_t cbComment) 2281 2281 { … … 2296 2296 } 2297 2297 2298 /** @copydoc V BOXHDDBACKEND::pfnSetComment */2298 /** @copydoc VDIMAGEBACKEND::pfnSetComment */ 2299 2299 static DECLCALLBACK(int) qcowSetComment(void *pBackendData, const char *pszComment) 2300 2300 { … … 2320 2320 } 2321 2321 2322 /** @copydoc V BOXHDDBACKEND::pfnGetUuid */2322 /** @copydoc VDIMAGEBACKEND::pfnGetUuid */ 2323 2323 static DECLCALLBACK(int) qcowGetUuid(void *pBackendData, PRTUUID pUuid) 2324 2324 { … … 2339 2339 } 2340 2340 2341 /** @copydoc V BOXHDDBACKEND::pfnSetUuid */2341 /** @copydoc VDIMAGEBACKEND::pfnSetUuid */ 2342 2342 static DECLCALLBACK(int) qcowSetUuid(void *pBackendData, PCRTUUID pUuid) 2343 2343 { … … 2364 2364 } 2365 2365 2366 /** @copydoc V BOXHDDBACKEND::pfnGetModificationUuid */2366 /** @copydoc VDIMAGEBACKEND::pfnGetModificationUuid */ 2367 2367 static DECLCALLBACK(int) qcowGetModificationUuid(void *pBackendData, PRTUUID pUuid) 2368 2368 { … … 2383 2383 } 2384 2384 2385 /** @copydoc V BOXHDDBACKEND::pfnSetModificationUuid */2385 /** @copydoc VDIMAGEBACKEND::pfnSetModificationUuid */ 2386 2386 static DECLCALLBACK(int) qcowSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 2387 2387 { … … 2407 2407 } 2408 2408 2409 /** @copydoc V BOXHDDBACKEND::pfnGetParentUuid */2409 /** @copydoc VDIMAGEBACKEND::pfnGetParentUuid */ 2410 2410 static DECLCALLBACK(int) qcowGetParentUuid(void *pBackendData, PRTUUID pUuid) 2411 2411 { … … 2426 2426 } 2427 2427 2428 /** @copydoc V BOXHDDBACKEND::pfnSetParentUuid */2428 /** @copydoc VDIMAGEBACKEND::pfnSetParentUuid */ 2429 2429 static DECLCALLBACK(int) qcowSetParentUuid(void *pBackendData, PCRTUUID pUuid) 2430 2430 { … … 2450 2450 } 2451 2451 2452 /** @copydoc V BOXHDDBACKEND::pfnGetParentModificationUuid */2452 /** @copydoc VDIMAGEBACKEND::pfnGetParentModificationUuid */ 2453 2453 static DECLCALLBACK(int) qcowGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 2454 2454 { … … 2469 2469 } 2470 2470 2471 /** @copydoc V BOXHDDBACKEND::pfnSetParentModificationUuid */2471 /** @copydoc VDIMAGEBACKEND::pfnSetParentModificationUuid */ 2472 2472 static DECLCALLBACK(int) qcowSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 2473 2473 { … … 2493 2493 } 2494 2494 2495 /** @copydoc V BOXHDDBACKEND::pfnDump */2495 /** @copydoc VDIMAGEBACKEND::pfnDump */ 2496 2496 static DECLCALLBACK(void) qcowDump(void *pBackendData) 2497 2497 { … … 2508 2508 } 2509 2509 2510 /** @copydoc V BOXHDDBACKEND::pfnGetParentFilename */2510 /** @copydoc VDIMAGEBACKEND::pfnGetParentFilename */ 2511 2511 static DECLCALLBACK(int) qcowGetParentFilename(void *pBackendData, char **ppszParentFilename) 2512 2512 { … … 2527 2527 } 2528 2528 2529 /** @copydoc V BOXHDDBACKEND::pfnSetParentFilename */2529 /** @copydoc VDIMAGEBACKEND::pfnSetParentFilename */ 2530 2530 static DECLCALLBACK(int) qcowSetParentFilename(void *pBackendData, const char *pszParentFilename) 2531 2531 { -
trunk/src/VBox/Storage/QED.cpp
r63781 r63785 1507 1507 } 1508 1508 1509 /** @copydoc V BOXHDDBACKEND::pfnCheckIfValid */1509 /** @copydoc VDIMAGEBACKEND::pfnCheckIfValid */ 1510 1510 static DECLCALLBACK(int) qedCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 1511 1511 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) … … 1565 1565 } 1566 1566 1567 /** @copydoc V BOXHDDBACKEND::pfnOpen */1567 /** @copydoc VDIMAGEBACKEND::pfnOpen */ 1568 1568 static DECLCALLBACK(int) qedOpen(const char *pszFilename, unsigned uOpenFlags, 1569 1569 PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, … … 1614 1614 } 1615 1615 1616 /** @copydoc V BOXHDDBACKEND::pfnCreate */1616 /** @copydoc VDIMAGEBACKEND::pfnCreate */ 1617 1617 static DECLCALLBACK(int) qedCreate(const char *pszFilename, uint64_t cbSize, 1618 1618 unsigned uImageFlags, const char *pszComment, … … 1701 1701 } 1702 1702 1703 /** @copydoc V BOXHDDBACKEND::pfnRename */1703 /** @copydoc VDIMAGEBACKEND::pfnRename */ 1704 1704 static DECLCALLBACK(int) qedRename(void *pBackendData, const char *pszFilename) 1705 1705 { … … 1747 1747 } 1748 1748 1749 /** @copydoc V BOXHDDBACKEND::pfnClose */1749 /** @copydoc VDIMAGEBACKEND::pfnClose */ 1750 1750 static DECLCALLBACK(int) qedClose(void *pBackendData, bool fDelete) 1751 1751 { … … 2010 2010 } 2011 2011 2012 /** @copydoc V BOXHDDBACKEND::pfnGetVersion */2012 /** @copydoc VDIMAGEBACKEND::pfnGetVersion */ 2013 2013 static DECLCALLBACK(unsigned) qedGetVersion(void *pBackendData) 2014 2014 { … … 2024 2024 } 2025 2025 2026 /** @copydoc V BOXHDDBACKEND::pfnGetSectorSize */2026 /** @copydoc VDIMAGEBACKEND::pfnGetSectorSize */ 2027 2027 static DECLCALLBACK(uint32_t) qedGetSectorSize(void *pBackendData) 2028 2028 { … … 2040 2040 } 2041 2041 2042 /** @copydoc V BOXHDDBACKEND::pfnGetSize */2042 /** @copydoc VDIMAGEBACKEND::pfnGetSize */ 2043 2043 static DECLCALLBACK(uint64_t) qedGetSize(void *pBackendData) 2044 2044 { … … 2056 2056 } 2057 2057 2058 /** @copydoc V BOXHDDBACKEND::pfnGetFileSize */2058 /** @copydoc VDIMAGEBACKEND::pfnGetFileSize */ 2059 2059 static DECLCALLBACK(uint64_t) qedGetFileSize(void *pBackendData) 2060 2060 { … … 2080 2080 } 2081 2081 2082 /** @copydoc V BOXHDDBACKEND::pfnGetPCHSGeometry */2082 /** @copydoc VDIMAGEBACKEND::pfnGetPCHSGeometry */ 2083 2083 static DECLCALLBACK(int) qedGetPCHSGeometry(void *pBackendData, 2084 2084 PVDGEOMETRY pPCHSGeometry) … … 2107 2107 } 2108 2108 2109 /** @copydoc V BOXHDDBACKEND::pfnSetPCHSGeometry */2109 /** @copydoc VDIMAGEBACKEND::pfnSetPCHSGeometry */ 2110 2110 static DECLCALLBACK(int) qedSetPCHSGeometry(void *pBackendData, 2111 2111 PCVDGEOMETRY pPCHSGeometry) … … 2136 2136 } 2137 2137 2138 /** @copydoc V BOXHDDBACKEND::pfnGetLCHSGeometry */2138 /** @copydoc VDIMAGEBACKEND::pfnGetLCHSGeometry */ 2139 2139 static DECLCALLBACK(int) qedGetLCHSGeometry(void *pBackendData, 2140 2140 PVDGEOMETRY pLCHSGeometry) … … 2163 2163 } 2164 2164 2165 /** @copydoc V BOXHDDBACKEND::pfnSetLCHSGeometry */2165 /** @copydoc VDIMAGEBACKEND::pfnSetLCHSGeometry */ 2166 2166 static DECLCALLBACK(int) qedSetLCHSGeometry(void *pBackendData, 2167 2167 PCVDGEOMETRY pLCHSGeometry) … … 2192 2192 } 2193 2193 2194 /** @copydoc V BOXHDDBACKEND::pfnGetImageFlags */2194 /** @copydoc VDIMAGEBACKEND::pfnGetImageFlags */ 2195 2195 static DECLCALLBACK(unsigned) qedGetImageFlags(void *pBackendData) 2196 2196 { … … 2210 2210 } 2211 2211 2212 /** @copydoc V BOXHDDBACKEND::pfnGetOpenFlags */2212 /** @copydoc VDIMAGEBACKEND::pfnGetOpenFlags */ 2213 2213 static DECLCALLBACK(unsigned) qedGetOpenFlags(void *pBackendData) 2214 2214 { … … 2228 2228 } 2229 2229 2230 /** @copydoc V BOXHDDBACKEND::pfnSetOpenFlags */2230 /** @copydoc VDIMAGEBACKEND::pfnSetOpenFlags */ 2231 2231 static DECLCALLBACK(int) qedSetOpenFlags(void *pBackendData, unsigned uOpenFlags) 2232 2232 { … … 2254 2254 } 2255 2255 2256 /** @copydoc V BOXHDDBACKEND::pfnGetComment */2256 /** @copydoc VDIMAGEBACKEND::pfnGetComment */ 2257 2257 static DECLCALLBACK(int) qedGetComment(void *pBackendData, char *pszComment, 2258 2258 size_t cbComment) … … 2274 2274 } 2275 2275 2276 /** @copydoc V BOXHDDBACKEND::pfnSetComment */2276 /** @copydoc VDIMAGEBACKEND::pfnSetComment */ 2277 2277 static DECLCALLBACK(int) qedSetComment(void *pBackendData, const char *pszComment) 2278 2278 { … … 2298 2298 } 2299 2299 2300 /** @copydoc V BOXHDDBACKEND::pfnGetUuid */2300 /** @copydoc VDIMAGEBACKEND::pfnGetUuid */ 2301 2301 static DECLCALLBACK(int) qedGetUuid(void *pBackendData, PRTUUID pUuid) 2302 2302 { … … 2317 2317 } 2318 2318 2319 /** @copydoc V BOXHDDBACKEND::pfnSetUuid */2319 /** @copydoc VDIMAGEBACKEND::pfnSetUuid */ 2320 2320 static DECLCALLBACK(int) qedSetUuid(void *pBackendData, PCRTUUID pUuid) 2321 2321 { … … 2342 2342 } 2343 2343 2344 /** @copydoc V BOXHDDBACKEND::pfnGetModificationUuid */2344 /** @copydoc VDIMAGEBACKEND::pfnGetModificationUuid */ 2345 2345 static DECLCALLBACK(int) qedGetModificationUuid(void *pBackendData, PRTUUID pUuid) 2346 2346 { … … 2361 2361 } 2362 2362 2363 /** @copydoc V BOXHDDBACKEND::pfnSetModificationUuid */2363 /** @copydoc VDIMAGEBACKEND::pfnSetModificationUuid */ 2364 2364 static DECLCALLBACK(int) qedSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 2365 2365 { … … 2385 2385 } 2386 2386 2387 /** @copydoc V BOXHDDBACKEND::pfnGetParentUuid */2387 /** @copydoc VDIMAGEBACKEND::pfnGetParentUuid */ 2388 2388 static DECLCALLBACK(int) qedGetParentUuid(void *pBackendData, PRTUUID pUuid) 2389 2389 { … … 2404 2404 } 2405 2405 2406 /** @copydoc V BOXHDDBACKEND::pfnSetParentUuid */2406 /** @copydoc VDIMAGEBACKEND::pfnSetParentUuid */ 2407 2407 static DECLCALLBACK(int) qedSetParentUuid(void *pBackendData, PCRTUUID pUuid) 2408 2408 { … … 2428 2428 } 2429 2429 2430 /** @copydoc V BOXHDDBACKEND::pfnGetParentModificationUuid */2430 /** @copydoc VDIMAGEBACKEND::pfnGetParentModificationUuid */ 2431 2431 static DECLCALLBACK(int) qedGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 2432 2432 { … … 2447 2447 } 2448 2448 2449 /** @copydoc V BOXHDDBACKEND::pfnSetParentModificationUuid */2449 /** @copydoc VDIMAGEBACKEND::pfnSetParentModificationUuid */ 2450 2450 static DECLCALLBACK(int) qedSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 2451 2451 { … … 2471 2471 } 2472 2472 2473 /** @copydoc V BOXHDDBACKEND::pfnDump */2473 /** @copydoc VDIMAGEBACKEND::pfnDump */ 2474 2474 static DECLCALLBACK(void) qedDump(void *pBackendData) 2475 2475 { … … 2486 2486 } 2487 2487 2488 /** @copydoc V BOXHDDBACKEND::pfnGetParentFilename */2488 /** @copydoc VDIMAGEBACKEND::pfnGetParentFilename */ 2489 2489 static DECLCALLBACK(int) qedGetParentFilename(void *pBackendData, char **ppszParentFilename) 2490 2490 { … … 2505 2505 } 2506 2506 2507 /** @copydoc V BOXHDDBACKEND::pfnSetParentFilename */2507 /** @copydoc VDIMAGEBACKEND::pfnSetParentFilename */ 2508 2508 static DECLCALLBACK(int) qedSetParentFilename(void *pBackendData, const char *pszParentFilename) 2509 2509 { … … 2555 2555 } 2556 2556 2557 /** @copydoc V BOXHDDBACKEND::pfnResize */2557 /** @copydoc VDIMAGEBACKEND::pfnResize */ 2558 2558 static DECLCALLBACK(int) qedResize(void *pBackendData, uint64_t cbSize, 2559 2559 PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, -
trunk/src/VBox/Storage/VDI.cpp
r63781 r63785 1266 1266 } 1267 1267 1268 /** @copydoc V BOXHDDBACKEND::pfnCheckIfValid */1268 /** @copydoc VDIMAGEBACKEND::pfnCheckIfValid */ 1269 1269 static DECLCALLBACK(int) vdiCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 1270 1270 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) … … 1305 1305 } 1306 1306 1307 /** @copydoc V BOXHDDBACKEND::pfnOpen */1307 /** @copydoc VDIMAGEBACKEND::pfnOpen */ 1308 1308 static DECLCALLBACK(int) vdiOpen(const char *pszFilename, unsigned uOpenFlags, 1309 1309 PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, … … 1354 1354 } 1355 1355 1356 /** @copydoc V BOXHDDBACKEND::pfnCreate */1356 /** @copydoc VDIMAGEBACKEND::pfnCreate */ 1357 1357 static DECLCALLBACK(int) vdiCreate(const char *pszFilename, uint64_t cbSize, 1358 1358 unsigned uImageFlags, const char *pszComment, … … 1461 1461 } 1462 1462 1463 /** @copydoc V BOXHDDBACKEND::pfnRename */1463 /** @copydoc VDIMAGEBACKEND::pfnRename */ 1464 1464 static DECLCALLBACK(int) vdiRename(void *pBackendData, const char *pszFilename) 1465 1465 { … … 1508 1508 } 1509 1509 1510 /** @copydoc V BOXHDDBACKEND::pfnClose */1510 /** @copydoc VDIMAGEBACKEND::pfnClose */ 1511 1511 static DECLCALLBACK(int) vdiClose(void *pBackendData, bool fDelete) 1512 1512 { … … 1726 1726 } 1727 1727 1728 /** @copydoc V BOXHDDBACKEND::pfnGetVersion */1728 /** @copydoc VDIMAGEBACKEND::pfnGetVersion */ 1729 1729 static DECLCALLBACK(unsigned) vdiGetVersion(void *pBackendData) 1730 1730 { … … 1744 1744 } 1745 1745 1746 /** @copydoc V BOXHDDBACKEND::pfnGetSectorSize */1746 /** @copydoc VDIMAGEBACKEND::pfnGetSectorSize */ 1747 1747 static DECLCALLBACK(uint32_t) vdiGetSectorSize(void *pBackendData) 1748 1748 { … … 1760 1760 } 1761 1761 1762 /** @copydoc V BOXHDDBACKEND::pfnGetSize */1762 /** @copydoc VDIMAGEBACKEND::pfnGetSize */ 1763 1763 static DECLCALLBACK(uint64_t) vdiGetSize(void *pBackendData) 1764 1764 { … … 1778 1778 } 1779 1779 1780 /** @copydoc V BOXHDDBACKEND::pfnGetFileSize */1780 /** @copydoc VDIMAGEBACKEND::pfnGetFileSize */ 1781 1781 static DECLCALLBACK(uint64_t) vdiGetFileSize(void *pBackendData) 1782 1782 { … … 1802 1802 } 1803 1803 1804 /** @copydoc V BOXHDDBACKEND::pfnGetPCHSGeometry */1804 /** @copydoc VDIMAGEBACKEND::pfnGetPCHSGeometry */ 1805 1805 static DECLCALLBACK(int) vdiGetPCHSGeometry(void *pBackendData, PVDGEOMETRY pPCHSGeometry) 1806 1806 { … … 1828 1828 } 1829 1829 1830 /** @copydoc V BOXHDDBACKEND::pfnSetPCHSGeometry */1830 /** @copydoc VDIMAGEBACKEND::pfnSetPCHSGeometry */ 1831 1831 static DECLCALLBACK(int) vdiSetPCHSGeometry(void *pBackendData, PCVDGEOMETRY pPCHSGeometry) 1832 1832 { … … 1856 1856 } 1857 1857 1858 /** @copydoc V BOXHDDBACKEND::pfnGetLCHSGeometry */1858 /** @copydoc VDIMAGEBACKEND::pfnGetLCHSGeometry */ 1859 1859 static DECLCALLBACK(int) vdiGetLCHSGeometry(void *pBackendData, PVDGEOMETRY pLCHSGeometry) 1860 1860 { … … 1891 1891 } 1892 1892 1893 /** @copydoc V BOXHDDBACKEND::pfnSetLCHSGeometry */1893 /** @copydoc VDIMAGEBACKEND::pfnSetLCHSGeometry */ 1894 1894 static DECLCALLBACK(int) vdiSetLCHSGeometry(void *pBackendData, PCVDGEOMETRY pLCHSGeometry) 1895 1895 { … … 1930 1930 } 1931 1931 1932 /** @copydoc V BOXHDDBACKEND::pfnGetImageFlags */1932 /** @copydoc VDIMAGEBACKEND::pfnGetImageFlags */ 1933 1933 static DECLCALLBACK(unsigned) vdiGetImageFlags(void *pBackendData) 1934 1934 { … … 1948 1948 } 1949 1949 1950 /** @copydoc V BOXHDDBACKEND::pfnGetOpenFlags */1950 /** @copydoc VDIMAGEBACKEND::pfnGetOpenFlags */ 1951 1951 static DECLCALLBACK(unsigned) vdiGetOpenFlags(void *pBackendData) 1952 1952 { … … 1966 1966 } 1967 1967 1968 /** @copydoc V BOXHDDBACKEND::pfnSetOpenFlags */1968 /** @copydoc VDIMAGEBACKEND::pfnSetOpenFlags */ 1969 1969 static DECLCALLBACK(int) vdiSetOpenFlags(void *pBackendData, unsigned uOpenFlags) 1970 1970 { … … 1996 1996 } 1997 1997 1998 /** @copydoc V BOXHDDBACKEND::pfnGetComment */1998 /** @copydoc VDIMAGEBACKEND::pfnGetComment */ 1999 1999 static DECLCALLBACK(int) vdiGetComment(void *pBackendData, char *pszComment, 2000 2000 size_t cbComment) … … 2032 2032 } 2033 2033 2034 /** @copydoc V BOXHDDBACKEND::pfnGetComment */2034 /** @copydoc VDIMAGEBACKEND::pfnGetComment */ 2035 2035 static DECLCALLBACK(int) vdiSetComment(void *pBackendData, const char *pszComment) 2036 2036 { … … 2079 2079 } 2080 2080 2081 /** @copydoc V BOXHDDBACKEND::pfnGetUuid */2081 /** @copydoc VDIMAGEBACKEND::pfnGetUuid */ 2082 2082 static DECLCALLBACK(int) vdiGetUuid(void *pBackendData, PRTUUID pUuid) 2083 2083 { … … 2100 2100 } 2101 2101 2102 /** @copydoc V BOXHDDBACKEND::pfnSetUuid */2102 /** @copydoc VDIMAGEBACKEND::pfnSetUuid */ 2103 2103 static DECLCALLBACK(int) vdiSetUuid(void *pBackendData, PCRTUUID pUuid) 2104 2104 { … … 2134 2134 } 2135 2135 2136 /** @copydoc V BOXHDDBACKEND::pfnGetModificationUuid */2136 /** @copydoc VDIMAGEBACKEND::pfnGetModificationUuid */ 2137 2137 static DECLCALLBACK(int) vdiGetModificationUuid(void *pBackendData, PRTUUID pUuid) 2138 2138 { … … 2155 2155 } 2156 2156 2157 /** @copydoc V BOXHDDBACKEND::pfnSetModificationUuid */2157 /** @copydoc VDIMAGEBACKEND::pfnSetModificationUuid */ 2158 2158 static DECLCALLBACK(int) vdiSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 2159 2159 { … … 2189 2189 } 2190 2190 2191 /** @copydoc V BOXHDDBACKEND::pfnGetParentUuid */2191 /** @copydoc VDIMAGEBACKEND::pfnGetParentUuid */ 2192 2192 static DECLCALLBACK(int) vdiGetParentUuid(void *pBackendData, PRTUUID pUuid) 2193 2193 { … … 2210 2210 } 2211 2211 2212 /** @copydoc V BOXHDDBACKEND::pfnSetParentUuid */2212 /** @copydoc VDIMAGEBACKEND::pfnSetParentUuid */ 2213 2213 static DECLCALLBACK(int) vdiSetParentUuid(void *pBackendData, PCRTUUID pUuid) 2214 2214 { … … 2244 2244 } 2245 2245 2246 /** @copydoc V BOXHDDBACKEND::pfnGetParentModificationUuid */2246 /** @copydoc VDIMAGEBACKEND::pfnGetParentModificationUuid */ 2247 2247 static DECLCALLBACK(int) vdiGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 2248 2248 { … … 2265 2265 } 2266 2266 2267 /** @copydoc V BOXHDDBACKEND::pfnSetParentModificationUuid */2267 /** @copydoc VDIMAGEBACKEND::pfnSetParentModificationUuid */ 2268 2268 static DECLCALLBACK(int) vdiSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 2269 2269 { … … 2296 2296 } 2297 2297 2298 /** @copydoc V BOXHDDBACKEND::pfnDump */2298 /** @copydoc VDIMAGEBACKEND::pfnDump */ 2299 2299 static DECLCALLBACK(void) vdiDump(void *pBackendData) 2300 2300 { … … 2358 2358 } 2359 2359 2360 /** @copydoc V BOXHDDBACKEND::pfnCompact */2360 /** @copydoc VDIMAGEBACKEND::pfnCompact */ 2361 2361 static DECLCALLBACK(int) vdiCompact(void *pBackendData, unsigned uPercentStart, 2362 2362 unsigned uPercentSpan, PVDINTERFACE pVDIfsDisk, … … 2605 2605 2606 2606 2607 /** @copydoc V BOXHDDBACKEND::pfnResize */2607 /** @copydoc VDIMAGEBACKEND::pfnResize */ 2608 2608 static DECLCALLBACK(int) vdiResize(void *pBackendData, uint64_t cbSize, 2609 2609 PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, … … 2805 2805 } 2806 2806 2807 /** @copydoc V BOXHDDBACKEND::pfnDiscard */2807 /** @copydoc VDIMAGEBACKEND::pfnDiscard */ 2808 2808 static DECLCALLBACK(int) vdiDiscard(void *pBackendData, PVDIOCTX pIoCtx, 2809 2809 uint64_t uOffset, size_t cbDiscard, … … 2948 2948 } 2949 2949 2950 /** @copydoc V BOXHDDBACKEND::pfnRepair */2950 /** @copydoc VDIMAGEBACKEND::pfnRepair */ 2951 2951 static DECLCALLBACK(int) vdiRepair(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 2952 2952 PVDINTERFACE pVDIfsImage, uint32_t fFlags) -
trunk/src/VBox/Storage/VHD.cpp
r63781 r63785 1246 1246 1247 1247 1248 /** @interface_method_impl{V BOXHDDBACKEND,pfnCheckIfValid} */1248 /** @interface_method_impl{VDIMAGEBACKEND,pfnCheckIfValid} */ 1249 1249 static DECLCALLBACK(int) vhdCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 1250 1250 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) … … 1304 1304 } 1305 1305 1306 /** @interface_method_impl{V BOXHDDBACKEND,pfnOpen} */1306 /** @interface_method_impl{VDIMAGEBACKEND,pfnOpen} */ 1307 1307 static DECLCALLBACK(int) vhdOpen(const char *pszFilename, unsigned uOpenFlags, 1308 1308 PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, … … 1353 1353 } 1354 1354 1355 /** @interface_method_impl{V BOXHDDBACKEND,pfnCreate} */1355 /** @interface_method_impl{VDIMAGEBACKEND,pfnCreate} */ 1356 1356 static DECLCALLBACK(int) vhdCreate(const char *pszFilename, uint64_t cbSize, 1357 1357 unsigned uImageFlags, const char *pszComment, … … 1440 1440 } 1441 1441 1442 /** @interface_method_impl{V BOXHDDBACKEND,pfnRename} */1442 /** @interface_method_impl{VDIMAGEBACKEND,pfnRename} */ 1443 1443 static DECLCALLBACK(int) vhdRename(void *pBackendData, const char *pszFilename) 1444 1444 { … … 1486 1486 } 1487 1487 1488 /** @interface_method_impl{V BOXHDDBACKEND,pfnClose} */1488 /** @interface_method_impl{VDIMAGEBACKEND,pfnClose} */ 1489 1489 static DECLCALLBACK(int) vhdClose(void *pBackendData, bool fDelete) 1490 1490 { … … 1500 1500 } 1501 1501 1502 /** @interface_method_impl{V BOXHDDBACKEND,pfnRead} */1502 /** @interface_method_impl{VDIMAGEBACKEND,pfnRead} */ 1503 1503 static DECLCALLBACK(int) vhdRead(void *pBackendData, uint64_t uOffset, size_t cbRead, 1504 1504 PVDIOCTX pIoCtx, size_t *pcbActuallyRead) … … 1616 1616 } 1617 1617 1618 /** @interface_method_impl{V BOXHDDBACKEND,pfnWrite} */1618 /** @interface_method_impl{VDIMAGEBACKEND,pfnWrite} */ 1619 1619 static DECLCALLBACK(int) vhdWrite(void *pBackendData, uint64_t uOffset, size_t cbWrite, 1620 1620 PVDIOCTX pIoCtx, size_t *pcbWriteProcess, size_t *pcbPreRead, … … 1850 1850 } 1851 1851 1852 /** @interface_method_impl{V BOXHDDBACKEND,pfnFlush} */1852 /** @interface_method_impl{VDIMAGEBACKEND,pfnFlush} */ 1853 1853 static DECLCALLBACK(int) vhdFlush(void *pBackendData, PVDIOCTX pIoCtx) 1854 1854 { … … 1859 1859 } 1860 1860 1861 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetVersion} */1861 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetVersion} */ 1862 1862 static DECLCALLBACK(unsigned) vhdGetVersion(void *pBackendData) 1863 1863 { … … 1875 1875 } 1876 1876 1877 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetSectorSize} */1877 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetSectorSize} */ 1878 1878 static DECLCALLBACK(uint32_t) vhdGetSectorSize(void *pBackendData) 1879 1879 { … … 1891 1891 } 1892 1892 1893 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetSize} */1893 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetSize} */ 1894 1894 static DECLCALLBACK(uint64_t) vhdGetSize(void *pBackendData) 1895 1895 { … … 1907 1907 } 1908 1908 1909 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetFileSize} */1909 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetFileSize} */ 1910 1910 static DECLCALLBACK(uint64_t) vhdGetFileSize(void *pBackendData) 1911 1911 { … … 1923 1923 } 1924 1924 1925 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetPCHSGeometry} */1925 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetPCHSGeometry} */ 1926 1926 static DECLCALLBACK(int) vhdGetPCHSGeometry(void *pBackendData, PVDGEOMETRY pPCHSGeometry) 1927 1927 { … … 1949 1949 } 1950 1950 1951 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetPCHSGeometry} */1951 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetPCHSGeometry} */ 1952 1952 static DECLCALLBACK(int) vhdSetPCHSGeometry(void *pBackendData, PCVDGEOMETRY pPCHSGeometry) 1953 1953 { … … 1977 1977 } 1978 1978 1979 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetLCHSGeometry} */1979 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetLCHSGeometry} */ 1980 1980 static DECLCALLBACK(int) vhdGetLCHSGeometry(void *pBackendData, PVDGEOMETRY pLCHSGeometry) 1981 1981 { … … 2003 2003 } 2004 2004 2005 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetLCHSGeometry} */2005 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetLCHSGeometry} */ 2006 2006 static DECLCALLBACK(int) vhdSetLCHSGeometry(void *pBackendData, PCVDGEOMETRY pLCHSGeometry) 2007 2007 { … … 2030 2030 } 2031 2031 2032 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetImageFlags} */2032 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetImageFlags} */ 2033 2033 static DECLCALLBACK(unsigned) vhdGetImageFlags(void *pBackendData) 2034 2034 { … … 2048 2048 } 2049 2049 2050 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetOpenFlags} */2050 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetOpenFlags} */ 2051 2051 static DECLCALLBACK(unsigned) vhdGetOpenFlags(void *pBackendData) 2052 2052 { … … 2066 2066 } 2067 2067 2068 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetOpenFlags} */2068 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetOpenFlags} */ 2069 2069 static DECLCALLBACK(int) vhdSetOpenFlags(void *pBackendData, unsigned uOpenFlags) 2070 2070 { … … 2093 2093 } 2094 2094 2095 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetComment} */2095 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetComment} */ 2096 2096 static DECLCALLBACK(int) vhdGetComment(void *pBackendData, char *pszComment, 2097 2097 size_t cbComment) … … 2113 2113 } 2114 2114 2115 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetComment} */2115 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetComment} */ 2116 2116 static DECLCALLBACK(int) vhdSetComment(void *pBackendData, const char *pszComment) 2117 2117 { … … 2137 2137 } 2138 2138 2139 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetUuid} */2139 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetUuid} */ 2140 2140 static DECLCALLBACK(int) vhdGetUuid(void *pBackendData, PRTUUID pUuid) 2141 2141 { … … 2158 2158 } 2159 2159 2160 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetUuid} */2160 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetUuid} */ 2161 2161 static DECLCALLBACK(int) vhdSetUuid(void *pBackendData, PCRTUUID pUuid) 2162 2162 { … … 2193 2193 } 2194 2194 2195 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetModificationUuid} */2195 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetModificationUuid} */ 2196 2196 static DECLCALLBACK(int) vhdGetModificationUuid(void *pBackendData, PRTUUID pUuid) 2197 2197 { … … 2212 2212 } 2213 2213 2214 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetModificationUuid} */2214 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetModificationUuid} */ 2215 2215 static DECLCALLBACK(int) vhdSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 2216 2216 { … … 2236 2236 } 2237 2237 2238 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetParentUuid} */2238 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetParentUuid} */ 2239 2239 static DECLCALLBACK(int) vhdGetParentUuid(void *pBackendData, PRTUUID pUuid) 2240 2240 { … … 2257 2257 } 2258 2258 2259 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetParentUuid} */2259 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetParentUuid} */ 2260 2260 static DECLCALLBACK(int) vhdSetParentUuid(void *pBackendData, PCRTUUID pUuid) 2261 2261 { … … 2283 2283 } 2284 2284 2285 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetParentModificationUuid} */2285 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetParentModificationUuid} */ 2286 2286 static DECLCALLBACK(int) vhdGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 2287 2287 { … … 2302 2302 } 2303 2303 2304 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetParentModificationUuid} */2304 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetParentModificationUuid} */ 2305 2305 static DECLCALLBACK(int) vhdSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 2306 2306 { … … 2326 2326 } 2327 2327 2328 /** @interface_method_impl{V BOXHDDBACKEND,pfnDump} */2328 /** @interface_method_impl{VDIMAGEBACKEND,pfnDump} */ 2329 2329 static DECLCALLBACK(void) vhdDump(void *pBackendData) 2330 2330 { … … 2343 2343 } 2344 2344 2345 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetTimestamp} */2345 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetTimestamp} */ 2346 2346 static DECLCALLBACK(int) vhdGetTimestamp(void *pBackendData, PRTTIMESPEC pTimestamp) 2347 2347 { … … 2360 2360 } 2361 2361 2362 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetParentTimestamp} */2362 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetParentTimestamp} */ 2363 2363 static DECLCALLBACK(int) vhdGetParentTimestamp(void *pBackendData, PRTTIMESPEC pTimestamp) 2364 2364 { … … 2377 2377 } 2378 2378 2379 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetParentTimestamp} */2379 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetParentTimestamp} */ 2380 2380 static DECLCALLBACK(int) vhdSetParentTimestamp(void *pBackendData, PCRTTIMESPEC pTimestamp) 2381 2381 { … … 2401 2401 } 2402 2402 2403 /** @interface_method_impl{V BOXHDDBACKEND,pfnGetParentFilename} */2403 /** @interface_method_impl{VDIMAGEBACKEND,pfnGetParentFilename} */ 2404 2404 static DECLCALLBACK(int) vhdGetParentFilename(void *pBackendData, char **ppszParentFilename) 2405 2405 { … … 2417 2417 } 2418 2418 2419 /** @interface_method_impl{V BOXHDDBACKEND,pfnSetParentFilename} */2419 /** @interface_method_impl{VDIMAGEBACKEND,pfnSetParentFilename} */ 2420 2420 static DECLCALLBACK(int) vhdSetParentFilename(void *pBackendData, const char *pszParentFilename) 2421 2421 { … … 2446 2446 } 2447 2447 2448 /** @interface_method_impl{V BOXHDDBACKEND,pfnCompact} */2448 /** @interface_method_impl{VDIMAGEBACKEND,pfnCompact} */ 2449 2449 static DECLCALLBACK(int) vhdCompact(void *pBackendData, unsigned uPercentStart, 2450 2450 unsigned uPercentSpan, PVDINTERFACE pVDIfsDisk, … … 2686 2686 } 2687 2687 2688 /** @interface_method_impl{V BOXHDDBACKEND,pfnResize} */2688 /** @interface_method_impl{VDIMAGEBACKEND,pfnResize} */ 2689 2689 static DECLCALLBACK(int) vhdResize(void *pBackendData, uint64_t cbSize, 2690 2690 PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, … … 2871 2871 } 2872 2872 2873 /** @interface_method_impl{V BOXHDDBACKEND,pfnRepair} */2873 /** @interface_method_impl{VDIMAGEBACKEND,pfnRepair} */ 2874 2874 static DECLCALLBACK(int) vhdRepair(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 2875 2875 PVDINTERFACE pVDIfsImage, uint32_t fFlags) -
trunk/src/VBox/Storage/VHDX.cpp
r63781 r63785 1751 1751 1752 1752 1753 /** @copydoc V BOXHDDBACKEND::pfnCheckIfValid */1753 /** @copydoc VDIMAGEBACKEND::pfnCheckIfValid */ 1754 1754 static DECLCALLBACK(int) vhdxCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 1755 1755 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) … … 1809 1809 } 1810 1810 1811 /** @copydoc V BOXHDDBACKEND::pfnOpen */1811 /** @copydoc VDIMAGEBACKEND::pfnOpen */ 1812 1812 static DECLCALLBACK(int) vhdxOpen(const char *pszFilename, unsigned uOpenFlags, 1813 1813 PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, … … 1849 1849 } 1850 1850 1851 /** @interface_method_impl{V BOXHDDBACKEND,pfnCreate} */1851 /** @interface_method_impl{VDIMAGEBACKEND,pfnCreate} */ 1852 1852 static DECLCALLBACK(int) vhdxCreate(const char *pszFilename, uint64_t cbSize, 1853 1853 unsigned uImageFlags, const char *pszComment, … … 1869 1869 } 1870 1870 1871 /** @copydoc V BOXHDDBACKEND::pfnRename */1871 /** @copydoc VDIMAGEBACKEND::pfnRename */ 1872 1872 static DECLCALLBACK(int) vhdxRename(void *pBackendData, const char *pszFilename) 1873 1873 { … … 1911 1911 } 1912 1912 1913 /** @copydoc V BOXHDDBACKEND::pfnClose */1913 /** @copydoc VDIMAGEBACKEND::pfnClose */ 1914 1914 static DECLCALLBACK(int) vhdxClose(void *pBackendData, bool fDelete) 1915 1915 { … … 1925 1925 } 1926 1926 1927 /** @copydoc V BOXHDDBACKEND::pfnRead */1927 /** @copydoc VDIMAGEBACKEND::pfnRead */ 1928 1928 static DECLCALLBACK(int) vhdxRead(void *pBackendData, uint64_t uOffset, size_t cbToRead, 1929 1929 PVDIOCTX pIoCtx, size_t *pcbActuallyRead) … … 1983 1983 } 1984 1984 1985 /** @copydoc V BOXHDDBACKEND::pfnWrite */1985 /** @copydoc VDIMAGEBACKEND::pfnWrite */ 1986 1986 static DECLCALLBACK(int) vhdxWrite(void *pBackendData, uint64_t uOffset, size_t cbToWrite, 1987 1987 PVDIOCTX pIoCtx, size_t *pcbWriteProcess, size_t *pcbPreRead, … … 2010 2010 } 2011 2011 2012 /** @copydoc V BOXHDDBACKEND::pfnFlush */2012 /** @copydoc VDIMAGEBACKEND::pfnFlush */ 2013 2013 static DECLCALLBACK(int) vhdxFlush(void *pBackendData, PVDIOCTX pIoCtx) 2014 2014 { … … 2027 2027 } 2028 2028 2029 /** @copydoc V BOXHDDBACKEND::pfnGetVersion */2029 /** @copydoc VDIMAGEBACKEND::pfnGetVersion */ 2030 2030 static DECLCALLBACK(unsigned) vhdxGetVersion(void *pBackendData) 2031 2031 { … … 2041 2041 } 2042 2042 2043 /** @copydoc V BOXHDDBACKEND::pfnGetSectorSize */2043 /** @copydoc VDIMAGEBACKEND::pfnGetSectorSize */ 2044 2044 static DECLCALLBACK(uint32_t) vhdxGetSectorSize(void *pBackendData) 2045 2045 { … … 2057 2057 } 2058 2058 2059 /** @copydoc V BOXHDDBACKEND::pfnGetSize */2059 /** @copydoc VDIMAGEBACKEND::pfnGetSize */ 2060 2060 static DECLCALLBACK(uint64_t) vhdxGetSize(void *pBackendData) 2061 2061 { … … 2073 2073 } 2074 2074 2075 /** @copydoc V BOXHDDBACKEND::pfnGetFileSize */2075 /** @copydoc VDIMAGEBACKEND::pfnGetFileSize */ 2076 2076 static DECLCALLBACK(uint64_t) vhdxGetFileSize(void *pBackendData) 2077 2077 { … … 2097 2097 } 2098 2098 2099 /** @copydoc V BOXHDDBACKEND::pfnGetPCHSGeometry */2099 /** @copydoc VDIMAGEBACKEND::pfnGetPCHSGeometry */ 2100 2100 static DECLCALLBACK(int) vhdxGetPCHSGeometry(void *pBackendData, 2101 2101 PVDGEOMETRY pPCHSGeometry) … … 2124 2124 } 2125 2125 2126 /** @copydoc V BOXHDDBACKEND::pfnSetPCHSGeometry */2126 /** @copydoc VDIMAGEBACKEND::pfnSetPCHSGeometry */ 2127 2127 static DECLCALLBACK(int) vhdxSetPCHSGeometry(void *pBackendData, 2128 2128 PCVDGEOMETRY pPCHSGeometry) … … 2148 2148 } 2149 2149 2150 /** @copydoc V BOXHDDBACKEND::pfnGetLCHSGeometry */2150 /** @copydoc VDIMAGEBACKEND::pfnGetLCHSGeometry */ 2151 2151 static DECLCALLBACK(int) vhdxGetLCHSGeometry(void *pBackendData, 2152 2152 PVDGEOMETRY pLCHSGeometry) … … 2172 2172 } 2173 2173 2174 /** @copydoc V BOXHDDBACKEND::pfnSetLCHSGeometry */2174 /** @copydoc VDIMAGEBACKEND::pfnSetLCHSGeometry */ 2175 2175 static DECLCALLBACK(int) vhdxSetLCHSGeometry(void *pBackendData, 2176 2176 PCVDGEOMETRY pLCHSGeometry) … … 2196 2196 } 2197 2197 2198 /** @copydoc V BOXHDDBACKEND::pfnGetImageFlags */2198 /** @copydoc VDIMAGEBACKEND::pfnGetImageFlags */ 2199 2199 static DECLCALLBACK(unsigned) vhdxGetImageFlags(void *pBackendData) 2200 2200 { … … 2214 2214 } 2215 2215 2216 /** @copydoc V BOXHDDBACKEND::pfnGetOpenFlags */2216 /** @copydoc VDIMAGEBACKEND::pfnGetOpenFlags */ 2217 2217 static DECLCALLBACK(unsigned) vhdxGetOpenFlags(void *pBackendData) 2218 2218 { … … 2232 2232 } 2233 2233 2234 /** @copydoc V BOXHDDBACKEND::pfnSetOpenFlags */2234 /** @copydoc VDIMAGEBACKEND::pfnSetOpenFlags */ 2235 2235 static DECLCALLBACK(int) vhdxSetOpenFlags(void *pBackendData, unsigned uOpenFlags) 2236 2236 { … … 2254 2254 } 2255 2255 2256 /** @copydoc V BOXHDDBACKEND::pfnGetComment */2256 /** @copydoc VDIMAGEBACKEND::pfnGetComment */ 2257 2257 static DECLCALLBACK(int) vhdxGetComment(void *pBackendData, char *pszComment, 2258 2258 size_t cbComment) … … 2274 2274 } 2275 2275 2276 /** @copydoc V BOXHDDBACKEND::pfnSetComment */2276 /** @copydoc VDIMAGEBACKEND::pfnSetComment */ 2277 2277 static DECLCALLBACK(int) vhdxSetComment(void *pBackendData, const char *pszComment) 2278 2278 { … … 2298 2298 } 2299 2299 2300 /** @copydoc V BOXHDDBACKEND::pfnGetUuid */2300 /** @copydoc VDIMAGEBACKEND::pfnGetUuid */ 2301 2301 static DECLCALLBACK(int) vhdxGetUuid(void *pBackendData, PRTUUID pUuid) 2302 2302 { … … 2317 2317 } 2318 2318 2319 /** @copydoc V BOXHDDBACKEND::pfnSetUuid */2319 /** @copydoc VDIMAGEBACKEND::pfnSetUuid */ 2320 2320 static DECLCALLBACK(int) vhdxSetUuid(void *pBackendData, PCRTUUID pUuid) 2321 2321 { … … 2342 2342 } 2343 2343 2344 /** @copydoc V BOXHDDBACKEND::pfnGetModificationUuid */2344 /** @copydoc VDIMAGEBACKEND::pfnGetModificationUuid */ 2345 2345 static DECLCALLBACK(int) vhdxGetModificationUuid(void *pBackendData, PRTUUID pUuid) 2346 2346 { … … 2361 2361 } 2362 2362 2363 /** @copydoc V BOXHDDBACKEND::pfnSetModificationUuid */2363 /** @copydoc VDIMAGEBACKEND::pfnSetModificationUuid */ 2364 2364 static DECLCALLBACK(int) vhdxSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 2365 2365 { … … 2385 2385 } 2386 2386 2387 /** @copydoc V BOXHDDBACKEND::pfnGetParentUuid */2387 /** @copydoc VDIMAGEBACKEND::pfnGetParentUuid */ 2388 2388 static DECLCALLBACK(int) vhdxGetParentUuid(void *pBackendData, PRTUUID pUuid) 2389 2389 { … … 2404 2404 } 2405 2405 2406 /** @copydoc V BOXHDDBACKEND::pfnSetParentUuid */2406 /** @copydoc VDIMAGEBACKEND::pfnSetParentUuid */ 2407 2407 static DECLCALLBACK(int) vhdxSetParentUuid(void *pBackendData, PCRTUUID pUuid) 2408 2408 { … … 2428 2428 } 2429 2429 2430 /** @copydoc V BOXHDDBACKEND::pfnGetParentModificationUuid */2430 /** @copydoc VDIMAGEBACKEND::pfnGetParentModificationUuid */ 2431 2431 static DECLCALLBACK(int) vhdxGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 2432 2432 { … … 2447 2447 } 2448 2448 2449 /** @copydoc V BOXHDDBACKEND::pfnSetParentModificationUuid */2449 /** @copydoc VDIMAGEBACKEND::pfnSetParentModificationUuid */ 2450 2450 static DECLCALLBACK(int) vhdxSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 2451 2451 { … … 2471 2471 } 2472 2472 2473 /** @copydoc V BOXHDDBACKEND::pfnDump */2473 /** @copydoc VDIMAGEBACKEND::pfnDump */ 2474 2474 static DECLCALLBACK(void) vhdxDump(void *pBackendData) 2475 2475 { -
trunk/src/VBox/Storage/VMDK.cpp
r63781 r63785 5218 5218 5219 5219 5220 /** @copydoc V BOXHDDBACKEND::pfnCheckIfValid */5220 /** @copydoc VDIMAGEBACKEND::pfnCheckIfValid */ 5221 5221 static DECLCALLBACK(int) vmdkCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 5222 5222 PVDINTERFACE pVDIfsImage, VDTYPE *penmType) … … 5263 5263 } 5264 5264 5265 /** @copydoc V BOXHDDBACKEND::pfnOpen */5265 /** @copydoc VDIMAGEBACKEND::pfnOpen */ 5266 5266 static DECLCALLBACK(int) vmdkOpen(const char *pszFilename, unsigned uOpenFlags, 5267 5267 PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, … … 5316 5316 } 5317 5317 5318 /** @copydoc V BOXHDDBACKEND::pfnCreate */5318 /** @copydoc VDIMAGEBACKEND::pfnCreate */ 5319 5319 static DECLCALLBACK(int) vmdkCreate(const char *pszFilename, uint64_t cbSize, 5320 5320 unsigned uImageFlags, const char *pszComment, … … 5442 5442 } 5443 5443 5444 /** @copydoc V BOXHDDBACKEND::pfnRename */5444 /** @copydoc VDIMAGEBACKEND::pfnRename */ 5445 5445 static DECLCALLBACK(int) vmdkRename(void *pBackendData, const char *pszFilename) 5446 5446 { … … 5697 5697 } 5698 5698 5699 /** @copydoc V BOXHDDBACKEND::pfnClose */5699 /** @copydoc VDIMAGEBACKEND::pfnClose */ 5700 5700 static DECLCALLBACK(int) vmdkClose(void *pBackendData, bool fDelete) 5701 5701 { … … 5711 5711 } 5712 5712 5713 /** @copydoc V BOXHDDBACKEND::pfnRead */5713 /** @copydoc VDIMAGEBACKEND::pfnRead */ 5714 5714 static DECLCALLBACK(int) vmdkRead(void *pBackendData, uint64_t uOffset, size_t cbToRead, 5715 5715 PVDIOCTX pIoCtx, size_t *pcbActuallyRead) … … 5834 5834 } 5835 5835 5836 /** @copydoc V BOXHDDBACKEND::pfnWrite */5836 /** @copydoc VDIMAGEBACKEND::pfnWrite */ 5837 5837 static DECLCALLBACK(int) vmdkWrite(void *pBackendData, uint64_t uOffset, size_t cbToWrite, 5838 5838 PVDIOCTX pIoCtx, size_t *pcbWriteProcess, size_t *pcbPreRead, … … 5980 5980 } 5981 5981 5982 /** @copydoc V BOXHDDBACKEND::pfnFlush */5982 /** @copydoc VDIMAGEBACKEND::pfnFlush */ 5983 5983 static DECLCALLBACK(int) vmdkFlush(void *pBackendData, PVDIOCTX pIoCtx) 5984 5984 { … … 5988 5988 } 5989 5989 5990 /** @copydoc V BOXHDDBACKEND::pfnGetVersion */5990 /** @copydoc VDIMAGEBACKEND::pfnGetVersion */ 5991 5991 static DECLCALLBACK(unsigned) vmdkGetVersion(void *pBackendData) 5992 5992 { … … 6002 6002 } 6003 6003 6004 /** @copydoc V BOXHDDBACKEND::pfnGetSectorSize */6004 /** @copydoc VDIMAGEBACKEND::pfnGetSectorSize */ 6005 6005 static DECLCALLBACK(uint32_t) vmdkGetSectorSize(void *pBackendData) 6006 6006 { … … 6016 6016 } 6017 6017 6018 /** @copydoc V BOXHDDBACKEND::pfnGetSize */6018 /** @copydoc VDIMAGEBACKEND::pfnGetSize */ 6019 6019 static DECLCALLBACK(uint64_t) vmdkGetSize(void *pBackendData) 6020 6020 { … … 6030 6030 } 6031 6031 6032 /** @copydoc V BOXHDDBACKEND::pfnGetFileSize */6032 /** @copydoc VDIMAGEBACKEND::pfnGetFileSize */ 6033 6033 static DECLCALLBACK(uint64_t) vmdkGetFileSize(void *pBackendData) 6034 6034 { … … 6063 6063 } 6064 6064 6065 /** @copydoc V BOXHDDBACKEND::pfnGetPCHSGeometry */6065 /** @copydoc VDIMAGEBACKEND::pfnGetPCHSGeometry */ 6066 6066 static DECLCALLBACK(int) vmdkGetPCHSGeometry(void *pBackendData, PVDGEOMETRY pPCHSGeometry) 6067 6067 { … … 6089 6089 } 6090 6090 6091 /** @copydoc V BOXHDDBACKEND::pfnSetPCHSGeometry */6091 /** @copydoc VDIMAGEBACKEND::pfnSetPCHSGeometry */ 6092 6092 static DECLCALLBACK(int) vmdkSetPCHSGeometry(void *pBackendData, PCVDGEOMETRY pPCHSGeometry) 6093 6093 { … … 6125 6125 } 6126 6126 6127 /** @copydoc V BOXHDDBACKEND::pfnGetLCHSGeometry */6127 /** @copydoc VDIMAGEBACKEND::pfnGetLCHSGeometry */ 6128 6128 static DECLCALLBACK(int) vmdkGetLCHSGeometry(void *pBackendData, PVDGEOMETRY pLCHSGeometry) 6129 6129 { … … 6151 6151 } 6152 6152 6153 /** @copydoc V BOXHDDBACKEND::pfnSetLCHSGeometry */6153 /** @copydoc VDIMAGEBACKEND::pfnSetLCHSGeometry */ 6154 6154 static DECLCALLBACK(int) vmdkSetLCHSGeometry(void *pBackendData, PCVDGEOMETRY pLCHSGeometry) 6155 6155 { … … 6187 6187 } 6188 6188 6189 /** @copydoc V BOXHDDBACKEND::pfnGetImageFlags */6189 /** @copydoc VDIMAGEBACKEND::pfnGetImageFlags */ 6190 6190 static DECLCALLBACK(unsigned) vmdkGetImageFlags(void *pBackendData) 6191 6191 { … … 6205 6205 } 6206 6206 6207 /** @copydoc V BOXHDDBACKEND::pfnGetOpenFlags */6207 /** @copydoc VDIMAGEBACKEND::pfnGetOpenFlags */ 6208 6208 static DECLCALLBACK(unsigned) vmdkGetOpenFlags(void *pBackendData) 6209 6209 { … … 6223 6223 } 6224 6224 6225 /** @copydoc V BOXHDDBACKEND::pfnSetOpenFlags */6225 /** @copydoc VDIMAGEBACKEND::pfnSetOpenFlags */ 6226 6226 static DECLCALLBACK(int) vmdkSetOpenFlags(void *pBackendData, unsigned uOpenFlags) 6227 6227 { … … 6259 6259 } 6260 6260 6261 /** @copydoc V BOXHDDBACKEND::pfnGetComment */6261 /** @copydoc VDIMAGEBACKEND::pfnGetComment */ 6262 6262 static DECLCALLBACK(int) vmdkGetComment(void *pBackendData, char *pszComment, 6263 6263 size_t cbComment) … … 6297 6297 } 6298 6298 6299 /** @copydoc V BOXHDDBACKEND::pfnSetComment */6299 /** @copydoc VDIMAGEBACKEND::pfnSetComment */ 6300 6300 static DECLCALLBACK(int) vmdkSetComment(void *pBackendData, const char *pszComment) 6301 6301 { … … 6329 6329 } 6330 6330 6331 /** @copydoc V BOXHDDBACKEND::pfnGetUuid */6331 /** @copydoc VDIMAGEBACKEND::pfnGetUuid */ 6332 6332 static DECLCALLBACK(int) vmdkGetUuid(void *pBackendData, PRTUUID pUuid) 6333 6333 { … … 6350 6350 } 6351 6351 6352 /** @copydoc V BOXHDDBACKEND::pfnSetUuid */6352 /** @copydoc VDIMAGEBACKEND::pfnSetUuid */ 6353 6353 static DECLCALLBACK(int) vmdkSetUuid(void *pBackendData, PCRTUUID pUuid) 6354 6354 { … … 6386 6386 } 6387 6387 6388 /** @copydoc V BOXHDDBACKEND::pfnGetModificationUuid */6388 /** @copydoc VDIMAGEBACKEND::pfnGetModificationUuid */ 6389 6389 static DECLCALLBACK(int) vmdkGetModificationUuid(void *pBackendData, PRTUUID pUuid) 6390 6390 { … … 6407 6407 } 6408 6408 6409 /** @copydoc V BOXHDDBACKEND::pfnSetModificationUuid */6409 /** @copydoc VDIMAGEBACKEND::pfnSetModificationUuid */ 6410 6410 static DECLCALLBACK(int) vmdkSetModificationUuid(void *pBackendData, PCRTUUID pUuid) 6411 6411 { … … 6446 6446 } 6447 6447 6448 /** @copydoc V BOXHDDBACKEND::pfnGetParentUuid */6448 /** @copydoc VDIMAGEBACKEND::pfnGetParentUuid */ 6449 6449 static DECLCALLBACK(int) vmdkGetParentUuid(void *pBackendData, PRTUUID pUuid) 6450 6450 { … … 6467 6467 } 6468 6468 6469 /** @copydoc V BOXHDDBACKEND::pfnSetParentUuid */6469 /** @copydoc VDIMAGEBACKEND::pfnSetParentUuid */ 6470 6470 static DECLCALLBACK(int) vmdkSetParentUuid(void *pBackendData, PCRTUUID pUuid) 6471 6471 { … … 6502 6502 } 6503 6503 6504 /** @copydoc V BOXHDDBACKEND::pfnGetParentModificationUuid */6504 /** @copydoc VDIMAGEBACKEND::pfnGetParentModificationUuid */ 6505 6505 static DECLCALLBACK(int) vmdkGetParentModificationUuid(void *pBackendData, PRTUUID pUuid) 6506 6506 { … … 6523 6523 } 6524 6524 6525 /** @copydoc V BOXHDDBACKEND::pfnSetParentModificationUuid */6525 /** @copydoc VDIMAGEBACKEND::pfnSetParentModificationUuid */ 6526 6526 static DECLCALLBACK(int) vmdkSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid) 6527 6527 { … … 6558 6558 } 6559 6559 6560 /** @copydoc V BOXHDDBACKEND::pfnDump */6560 /** @copydoc VDIMAGEBACKEND::pfnDump */ 6561 6561 static DECLCALLBACK(void) vmdkDump(void *pBackendData) 6562 6562 {
Note:
See TracChangeset
for help on using the changeset viewer.