Changeset 63905 in vbox for trunk/include
- Timestamp:
- Sep 20, 2016 8:31:05 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110782
- Location:
- trunk/include/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vd-cache-backend.h
r62476 r63905 28 28 29 29 #include <VBox/vd.h> 30 #include <VBox/vd-common.h> 30 31 #include <VBox/vd-ifs-internal.h> 31 32 … … 35 36 typedef struct VDCACHEBACKEND 36 37 { 37 /** 38 * The name of the backend (constant string). 39 */ 40 const char *pszBackendName; 41 42 /** 43 * The size of the structure. 44 */ 45 uint32_t cbSize; 46 47 /** 48 * The capabilities of the backend. 49 */ 50 uint64_t uBackendCaps; 38 /** Structure version. VD_CACHEBACKEND_VERSION defines the current version. */ 39 uint32_t u32Version; 40 /** The name of the backend (constant string). */ 41 const char *pszBackendName; 42 /** The capabilities of the backend. */ 43 uint64_t uBackendCaps; 51 44 52 45 /** … … 63 56 * Mandatory if the backend sets VD_CAP_CONFIG. 64 57 */ 65 PCVDCONFIGINFO paConfigInfo;58 PCVDCONFIGINFO paConfigInfo; 66 59 67 60 /** … … 312 305 DECLR3CALLBACKMEMBER(int, pfnComposeName, (PVDINTERFACE pConfig, char **pszName)); 313 306 307 /** Initialization safty marker. */ 308 uint32_t u32VersionEnd; 309 314 310 } VDCACHEBACKEND; 315 311 /** Pointer to VD cache backend. */ … … 318 314 typedef const VDCACHEBACKEND *PCVDCACHEBACKEND; 319 315 316 /** The current version of the VDCACHEBACKEND structure. */ 317 #define VD_CACHEBACKEND_VERSION VD_VERSION_MAKE(0xff03, 1, 0) 318 320 319 #endif -
trunk/include/VBox/vd-filter-backend.h
r62476 r63905 28 28 29 29 #include <VBox/vd.h> 30 #include <VBox/vd-common.h> 30 31 #include <VBox/vd-ifs-internal.h> 31 32 … … 35 36 typedef struct VDFILTERBACKEND 36 37 { 37 /** 38 * The name of the backend (constant string). 39 */ 40 const char *pszBackendName; 41 42 /** 43 * The size of the structure. 44 */ 45 uint32_t cbSize; 38 /** Structure version. VD_FLTBACKEND_VERSION defines the current version. */ 39 uint32_t u32Version; 40 /** The name of the backend (constant string). */ 41 const char *pszBackendName; 46 42 47 43 /** … … 51 47 * Mandatory if the backend sets VD_CAP_CONFIG. 52 48 */ 53 PCVDCONFIGINFO paConfigInfo;49 PCVDCONFIGINFO paConfigInfo; 54 50 55 51 /** … … 100 96 PVDIOCTX pIoCtx)); 101 97 98 /** Initialization safty marker. */ 99 uint32_t u32VersionEnd; 102 100 } VDFILTERBACKEND; 103 101 /** Pointer to VD filter backend. */ … … 106 104 typedef const VDFILTERBACKEND *PCVDFILTERBACKEND; 107 105 106 /** The current version of the VDFILTERBACKEND structure. */ 107 #define VD_FLTBACKEND_VERSION VD_VERSION_MAKE(0xff02, 1, 0) 108 108 109 #endif -
trunk/include/VBox/vd-image-backend.h
r63802 r63905 28 28 29 29 #include <VBox/vd.h> 30 #include <VBox/vd-common.h> 30 31 #include <VBox/vd-ifs-internal.h> 31 32 … … 63 64 typedef struct VDIMAGEBACKEND 64 65 { 65 /** 66 * The name of the backend (constant string). 67 */ 68 const char *pszBackendName; 69 70 /** 71 * The size of the structure. 72 */ 73 uint32_t cbSize; 74 75 /** 76 * The capabilities of the backend. 77 */ 78 uint64_t uBackendCaps; 66 /** Structure version. VD_IMGBACKEND_VERSION defines the current version. */ 67 uint32_t u32Version; 68 /** The name of the backend (constant string). */ 69 const char *pszBackendName; 70 /** The capabilities of the backend. */ 71 uint64_t uBackendCaps; 79 72 80 73 /** … … 83 76 * pointer may just contain NULL. 84 77 */ 85 PCVDFILEEXTENSION paFileExtensions;78 PCVDFILEEXTENSION paFileExtensions; 86 79 87 80 /** … … 91 84 * Mandatory if the backend sets VD_CAP_CONFIG. 92 85 */ 93 PCVDCONFIGINFO paConfigInfo;86 PCVDCONFIGINFO paConfigInfo; 94 87 95 88 /** … … 585 578 PVDINTERFACE pVDIfsOperation)); 586 579 580 /** Initialization safty marker. */ 581 uint32_t u32VersionEnd; 582 587 583 } VDIMAGEBACKEND; 588 584 … … 592 588 typedef const VDIMAGEBACKEND *PCVDIMAGEBACKEND; 593 589 590 /** The current version of the VDIMAGEBACKEND structure. */ 591 #define VD_IMGBACKEND_VERSION VD_VERSION_MAKE(0xff01, 1, 0) 592 594 593 /** @copydoc VDIMAGEBACKEND::pfnComposeLocation */ 595 594 DECLCALLBACK(int) genericFileComposeLocation(PVDINTERFACE pConfig, char **pszLocation); -
trunk/include/VBox/vd-plugin.h
r63781 r63905 28 28 29 29 #include <VBox/vd.h> 30 #include <VBox/vd-common.h> 30 31 #include <VBox/vd-image-backend.h> 31 32 #include <VBox/vd-cache-backend.h> … … 37 38 typedef struct VDBACKENDREGISTER 38 39 { 40 /** Interface version. 41 * This is set to VD_BACKENDREG_CB_VERSION. */ 42 uint32_t u32Version; 43 39 44 /** 40 45 * Registers a new image backend. … … 66 71 typedef VDBACKENDREGISTER *PVDBACKENDREGISTER; 67 72 73 /** Current version of the VDBACKENDREGISTER structure. */ 74 #define VD_BACKENDREG_CB_VERSION VD_VERSION_MAKE(0xff00, 1, 0) 75 68 76 /** 69 77 * Initialization entry point called by the generic VD layer when
Note:
See TracChangeset
for help on using the changeset viewer.