Changeset 63785 in vbox for trunk/src/VBox/Storage/ISCSI.cpp
- Timestamp:
- Sep 9, 2016 9:48:46 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 110606
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 {
Note:
See TracChangeset
for help on using the changeset viewer.