Changeset 63785 in vbox for trunk/src/VBox/Storage/DMG.cpp
- Timestamp:
- Sep 9, 2016 9:48:46 PM (8 years ago)
- File:
-
- 1 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 {
Note:
See TracChangeset
for help on using the changeset viewer.