Changeset 34217 in vbox for trunk/include
- Timestamp:
- Nov 21, 2010 2:45:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vd.h
r33567 r34217 2016 2016 */ 2017 2017 VBOXDDU_DECL(int) VDBackendInfo(unsigned cEntriesAlloc, PVDBACKENDINFO pEntries, 2018 2018 unsigned *pcEntriesUsed); 2019 2019 2020 2020 /** … … 2061 2061 */ 2062 2062 VBOXDDU_DECL(int) VDGetFormat(PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, 2063 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 2087 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 2101 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 2122 2123 2124 2125 2126 2127 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 2147 2148 2149 2150 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 2168 2169 2170 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 2186 unsigned nImageTo, PVDINTERFACE pVDIfsOperation); 2187 2187 2188 2188 /** … … 2224 2224 */ 2225 2225 VBOXDDU_DECL(int) VDCopy(PVBOXHDD pDiskFrom, unsigned nImage, PVBOXHDD pDiskTo, 2226 2227 2228 2229 2230 2231 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 2255 PVDINTERFACE pVDIfsOperation); 2256 2256 2257 2257 /** … … 2269 2269 */ 2270 2270 VBOXDDU_DECL(int) VDResize(PVBOXHDD pDisk, uint64_t cbSize, 2271 2272 2273 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 2391 PVDGEOMETRY pPCHSGeometry); 2392 2392 2393 2393 /** … … 2401 2401 */ 2402 2402 VBOXDDU_DECL(int) VDSetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 2403 2403 PCVDGEOMETRY pPCHSGeometry); 2404 2404 2405 2405 /** … … 2414 2414 */ 2415 2415 VBOXDDU_DECL(int) VDGetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 2416 2416 PVDGEOMETRY pLCHSGeometry); 2417 2417 2418 2418 /** … … 2426 2426 */ 2427 2427 VBOXDDU_DECL(int) VDSetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 2428 2428 PCVDGEOMETRY pLCHSGeometry); 2429 2429 2430 2430 /** … … 2438 2438 */ 2439 2439 VBOXDDU_DECL(int) VDGetVersion(PVBOXHDD pDisk, unsigned nImage, 2440 2440 unsigned *puVersion); 2441 2441 2442 2442 /** … … 2450 2450 */ 2451 2451 VBOXDDU_DECL(int) VDBackendInfoSingle(PVBOXHDD pDisk, unsigned nImage, 2452 2452 PVDBACKENDINFO pBackendInfo); 2453 2453 2454 2454 /** … … 2473 2473 */ 2474 2474 VBOXDDU_DECL(int) VDGetOpenFlags(PVBOXHDD pDisk, unsigned nImage, 2475 2475 unsigned *puOpenFlags); 2476 2476 2477 2477 /** … … 2487 2487 */ 2488 2488 VBOXDDU_DECL(int) VDSetOpenFlags(PVBOXHDD pDisk, unsigned nImage, 2489 2489 unsigned uOpenFlags); 2490 2490 2491 2491 /** … … 2503 2503 */ 2504 2504 VBOXDDU_DECL(int) VDGetFilename(PVBOXHDD pDisk, unsigned nImage, 2505 2505 char *pszFilename, unsigned cbFilename); 2506 2506 2507 2507 /** … … 2517 2517 */ 2518 2518 VBOXDDU_DECL(int) VDGetComment(PVBOXHDD pDisk, unsigned nImage, 2519 2519 char *pszComment, unsigned cbComment); 2520 2520 2521 2521 /** … … 2563 2563 */ 2564 2564 VBOXDDU_DECL(int) VDGetModificationUuid(PVBOXHDD pDisk, unsigned nImage, 2565 2565 PRTUUID pUuid); 2566 2566 2567 2567 /** … … 2575 2575 */ 2576 2576 VBOXDDU_DECL(int) VDSetModificationUuid(PVBOXHDD pDisk, unsigned nImage, 2577 2577 PCRTUUID pUuid); 2578 2578 2579 2579 /** … … 2587 2587 */ 2588 2588 VBOXDDU_DECL(int) VDGetParentUuid(PVBOXHDD pDisk, unsigned nImage, 2589 2589 PRTUUID pUuid); 2590 2590 2591 2591 /** … … 2598 2598 */ 2599 2599 VBOXDDU_DECL(int) VDSetParentUuid(PVBOXHDD pDisk, unsigned nImage, 2600 2600 PCRTUUID pUuid); 2601 2601 2602 2602 … … 2628 2628 * @param uOffset The offset of the virtual disk to read from. 2629 2629 * @param cbRead How many bytes to read. 2630 * @param paSeg Pointer to an array of segments. 2631 * @param cSeg Number of segments in the array. 2630 * @param pcSgBuf Pointer to the S/G buffer to read into. 2632 2631 * @param pfnComplete Completion callback. 2633 2632 * @param pvUser User data which is passed on completion 2634 2633 */ 2635 2634 VBOXDDU_DECL(int) VDAsyncRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead, 2636 PCRTSGSEG paSeg, unsigned cSeg,2637 2638 2635 PCRTSGBUF pcSgBuf, 2636 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, 2637 void *pvUser1, void *pvUser2); 2639 2638 2640 2639 … … 2646 2645 * @param uOffset The offset of the virtual disk to write to. 2647 2646 * @param cbWrtie How many bytes to write. 2648 * @param paSeg Pointer to an array of segments. 2649 * @param cSeg Number of segments in the array. 2647 * @param pcSgBuf Pointer to the S/G buffer to write from. 2650 2648 * @param pfnComplete Completion callback. 2651 2649 * @param pvUser User data which is passed on completion. 2652 2650 */ 2653 2651 VBOXDDU_DECL(int) VDAsyncWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite, 2654 PCRTSGSEG paSeg, unsigned cSeg,2655 2656 2652 PCRTSGBUF pcSgBuf, 2653 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, 2654 void *pvUser1, void *pvUser2); 2657 2655 2658 2656 … … 2666 2664 */ 2667 2665 VBOXDDU_DECL(int) VDAsyncFlush(PVBOXHDD pDisk, 2668 2669 2666 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, 2667 void *pvUser1, void *pvUser2); 2670 2668 RT_C_DECLS_END 2671 2669
Note:
See TracChangeset
for help on using the changeset viewer.