Changeset 33567 in vbox for trunk/include
- Timestamp:
- Oct 28, 2010 3:37:21 PM (14 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vd-cache-plugin.h
r33554 r33567 27 27 #define __VBoxHDD_CachePlugin_h__ 28 28 29 #include <VBox/ VBoxHDD.h>29 #include <VBox/vd.h> 30 30 31 31 /** -
trunk/include/VBox/vd-plugin.h
r33554 r33567 27 27 #define __VBoxHDD_Plugin_h__ 28 28 29 #include <VBox/ VBoxHDD.h>29 #include <VBox/vd.h> 30 30 31 31 -
trunk/include/VBox/vd.h
r33554 r33567 2016 2016 */ 2017 2017 VBOXDDU_DECL(int) VDBackendInfo(unsigned cEntriesAlloc, PVDBACKENDINFO pEntries, 2018 unsigned *pcEntriesUsed);2018 unsigned *pcEntriesUsed); 2019 2019 2020 2020 /** … … 2061 2061 */ 2062 2062 VBOXDDU_DECL(int) VDGetFormat(PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, 2063 const char *pszFilename, char **ppszFormat, VDTYPE *penmType);2063 const char *pszFilename, char **ppszFormat, VDTYPE *penmType); 2064 2064 2065 2065 /** … … 2084 2084 */ 2085 2085 VBOXDDU_DECL(int) VDOpen(PVBOXHDD pDisk, const char *pszBackend, 2086 const char *pszFilename, unsigned uOpenFlags,2087 PVDINTERFACE pVDIfsImage);2086 const char *pszFilename, unsigned uOpenFlags, 2087 PVDINTERFACE pVDIfsImage); 2088 2088 2089 2089 /** … … 2098 2098 */ 2099 2099 VBOXDDU_DECL(int) VDCacheOpen(PVBOXHDD pDisk, const char *pszBackend, 2100 const char *pszFilename, unsigned uOpenFlags,2101 PVDINTERFACE pVDIfsCache);2100 const char *pszFilename, unsigned uOpenFlags, 2101 PVDINTERFACE pVDIfsCache); 2102 2102 2103 2103 /** … … 2119 2119 */ 2120 2120 VBOXDDU_DECL(int) VDCreateBase(PVBOXHDD pDisk, const char *pszBackend, 2121 const char *pszFilename, uint64_t cbSize,2122 unsigned uImageFlags, const char *pszComment,2123 PCVDGEOMETRY pPCHSGeometry,2124 PCVDGEOMETRY pLCHSGeometry,2125 PCRTUUID pUuid, unsigned uOpenFlags,2126 PVDINTERFACE pVDIfsImage,2127 PVDINTERFACE pVDIfsOperation);2121 const char *pszFilename, uint64_t cbSize, 2122 unsigned uImageFlags, const char *pszComment, 2123 PCVDGEOMETRY pPCHSGeometry, 2124 PCVDGEOMETRY pLCHSGeometry, 2125 PCRTUUID pUuid, unsigned uOpenFlags, 2126 PVDINTERFACE pVDIfsImage, 2127 PVDINTERFACE pVDIfsOperation); 2128 2128 2129 2129 /** … … 2144 2144 */ 2145 2145 VBOXDDU_DECL(int) VDCreateDiff(PVBOXHDD pDisk, const char *pszBackend, 2146 const char *pszFilename, unsigned uImageFlags,2147 const char *pszComment, PCRTUUID pUuid,2148 PCRTUUID pParentUuid, unsigned uOpenFlags,2149 PVDINTERFACE pVDIfsImage,2150 PVDINTERFACE pVDIfsOperation);2146 const char *pszFilename, unsigned uImageFlags, 2147 const char *pszComment, PCRTUUID pUuid, 2148 PCRTUUID pParentUuid, unsigned uOpenFlags, 2149 PVDINTERFACE pVDIfsImage, 2150 PVDINTERFACE pVDIfsOperation); 2151 2151 2152 2152 /** … … 2165 2165 */ 2166 2166 VBOXDDU_DECL(int) VDCreateCache(PVBOXHDD pDisk, const char *pszBackend, 2167 const char *pszFilename, uint64_t cbSize,2168 unsigned uImageFlags, const char *pszComment,2169 PCRTUUID pUuid, unsigned uOpenFlags,2170 PVDINTERFACE pVDIfsCache, PVDINTERFACE pVDIfsOperation);2167 const char *pszFilename, uint64_t cbSize, 2168 unsigned uImageFlags, const char *pszComment, 2169 PCRTUUID pUuid, unsigned uOpenFlags, 2170 PVDINTERFACE pVDIfsCache, PVDINTERFACE pVDIfsOperation); 2171 2171 2172 2172 /** … … 2184 2184 */ 2185 2185 VBOXDDU_DECL(int) VDMerge(PVBOXHDD pDisk, unsigned nImageFrom, 2186 unsigned nImageTo, PVDINTERFACE pVDIfsOperation);2186 unsigned nImageTo, PVDINTERFACE pVDIfsOperation); 2187 2187 2188 2188 /** … … 2224 2224 */ 2225 2225 VBOXDDU_DECL(int) VDCopy(PVBOXHDD pDiskFrom, unsigned nImage, PVBOXHDD pDiskTo, 2226 const char *pszBackend, const char *pszFilename,2227 bool fMoveByRename, uint64_t cbSize,2228 unsigned uImageFlags, PCRTUUID pDstUuid,2229 unsigned uOpenFlags, PVDINTERFACE pVDIfsOperation,2230 PVDINTERFACE pDstVDIfsImage,2231 PVDINTERFACE pDstVDIfsOperation);2226 const char *pszBackend, const char *pszFilename, 2227 bool fMoveByRename, uint64_t cbSize, 2228 unsigned uImageFlags, PCRTUUID pDstUuid, 2229 unsigned uOpenFlags, PVDINTERFACE pVDIfsOperation, 2230 PVDINTERFACE pDstVDIfsImage, 2231 PVDINTERFACE pDstVDIfsOperation); 2232 2232 2233 2233 /** … … 2253 2253 */ 2254 2254 VBOXDDU_DECL(int) VDCompact(PVBOXHDD pDisk, unsigned nImage, 2255 PVDINTERFACE pVDIfsOperation);2255 PVDINTERFACE pVDIfsOperation); 2256 2256 2257 2257 /** … … 2269 2269 */ 2270 2270 VBOXDDU_DECL(int) VDResize(PVBOXHDD pDisk, uint64_t cbSize, 2271 PCVDGEOMETRY pPCHSGeometry,2272 PCVDGEOMETRY pLCHSGeometry,2273 PVDINTERFACE pVDIfsOperation);2271 PCVDGEOMETRY pPCHSGeometry, 2272 PCVDGEOMETRY pLCHSGeometry, 2273 PVDINTERFACE pVDIfsOperation); 2274 2274 2275 2275 /** … … 2389 2389 */ 2390 2390 VBOXDDU_DECL(int) VDGetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 2391 PVDGEOMETRY pPCHSGeometry);2391 PVDGEOMETRY pPCHSGeometry); 2392 2392 2393 2393 /** … … 2401 2401 */ 2402 2402 VBOXDDU_DECL(int) VDSetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 2403 PCVDGEOMETRY pPCHSGeometry);2403 PCVDGEOMETRY pPCHSGeometry); 2404 2404 2405 2405 /** … … 2414 2414 */ 2415 2415 VBOXDDU_DECL(int) VDGetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 2416 PVDGEOMETRY pLCHSGeometry);2416 PVDGEOMETRY pLCHSGeometry); 2417 2417 2418 2418 /** … … 2426 2426 */ 2427 2427 VBOXDDU_DECL(int) VDSetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 2428 PCVDGEOMETRY pLCHSGeometry);2428 PCVDGEOMETRY pLCHSGeometry); 2429 2429 2430 2430 /** … … 2438 2438 */ 2439 2439 VBOXDDU_DECL(int) VDGetVersion(PVBOXHDD pDisk, unsigned nImage, 2440 unsigned *puVersion);2440 unsigned *puVersion); 2441 2441 2442 2442 /** … … 2450 2450 */ 2451 2451 VBOXDDU_DECL(int) VDBackendInfoSingle(PVBOXHDD pDisk, unsigned nImage, 2452 PVDBACKENDINFO pBackendInfo);2452 PVDBACKENDINFO pBackendInfo); 2453 2453 2454 2454 /** … … 2473 2473 */ 2474 2474 VBOXDDU_DECL(int) VDGetOpenFlags(PVBOXHDD pDisk, unsigned nImage, 2475 unsigned *puOpenFlags);2475 unsigned *puOpenFlags); 2476 2476 2477 2477 /** … … 2487 2487 */ 2488 2488 VBOXDDU_DECL(int) VDSetOpenFlags(PVBOXHDD pDisk, unsigned nImage, 2489 unsigned uOpenFlags);2489 unsigned uOpenFlags); 2490 2490 2491 2491 /** … … 2503 2503 */ 2504 2504 VBOXDDU_DECL(int) VDGetFilename(PVBOXHDD pDisk, unsigned nImage, 2505 char *pszFilename, unsigned cbFilename);2505 char *pszFilename, unsigned cbFilename); 2506 2506 2507 2507 /** … … 2517 2517 */ 2518 2518 VBOXDDU_DECL(int) VDGetComment(PVBOXHDD pDisk, unsigned nImage, 2519 char *pszComment, unsigned cbComment);2519 char *pszComment, unsigned cbComment); 2520 2520 2521 2521 /** … … 2529 2529 */ 2530 2530 VBOXDDU_DECL(int) VDSetComment(PVBOXHDD pDisk, unsigned nImage, 2531 const char *pszComment);2531 const char *pszComment); 2532 2532 2533 2533 /** … … 2563 2563 */ 2564 2564 VBOXDDU_DECL(int) VDGetModificationUuid(PVBOXHDD pDisk, unsigned nImage, 2565 PRTUUID pUuid);2565 PRTUUID pUuid); 2566 2566 2567 2567 /** … … 2575 2575 */ 2576 2576 VBOXDDU_DECL(int) VDSetModificationUuid(PVBOXHDD pDisk, unsigned nImage, 2577 PCRTUUID pUuid);2577 PCRTUUID pUuid); 2578 2578 2579 2579 /** … … 2587 2587 */ 2588 2588 VBOXDDU_DECL(int) VDGetParentUuid(PVBOXHDD pDisk, unsigned nImage, 2589 PRTUUID pUuid);2589 PRTUUID pUuid); 2590 2590 2591 2591 /** … … 2598 2598 */ 2599 2599 VBOXDDU_DECL(int) VDSetParentUuid(PVBOXHDD pDisk, unsigned nImage, 2600 PCRTUUID pUuid);2600 PCRTUUID pUuid); 2601 2601 2602 2602 … … 2634 2634 */ 2635 2635 VBOXDDU_DECL(int) VDAsyncRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead, 2636 PCRTSGSEG paSeg, unsigned cSeg,2637 PFNVDASYNCTRANSFERCOMPLETE pfnComplete,2638 void *pvUser1, void *pvUser2);2636 PCRTSGSEG paSeg, unsigned cSeg, 2637 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, 2638 void *pvUser1, void *pvUser2); 2639 2639 2640 2640 … … 2652 2652 */ 2653 2653 VBOXDDU_DECL(int) VDAsyncWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite, 2654 PCRTSGSEG paSeg, unsigned cSeg,2655 PFNVDASYNCTRANSFERCOMPLETE pfnComplete,2656 void *pvUser1, void *pvUser2);2654 PCRTSGSEG paSeg, unsigned cSeg, 2655 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, 2656 void *pvUser1, void *pvUser2); 2657 2657 2658 2658 … … 2666 2666 */ 2667 2667 VBOXDDU_DECL(int) VDAsyncFlush(PVBOXHDD pDisk, 2668 PFNVDASYNCTRANSFERCOMPLETE pfnComplete,2669 void *pvUser1, void *pvUser2);2668 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, 2669 void *pvUser1, void *pvUser2); 2670 2670 RT_C_DECLS_END 2671 2671
Note:
See TracChangeset
for help on using the changeset viewer.