#include <XrdOucPgrwUtils.hh>
|
| dataInfo (const char *dP, const uint32_t *cP, off_t o, int n) |
|
Verify CRC32C checksums for a pgWrite request.
- Parameters
-
dInfo | Reference to the data information used or state control. |
bado | The offset in error when return false. |
badc | The length of erroneous data at bado. |
- Returns
- true if all the checksums match. Otherwise, false is returned with bado and badc set and dInfo is updated so that the next call with the same dInfo will verify the remaing data. To avoid an unneeded call first check if dInfo.count is positive.
XrdOucPgrwUtils::dataInfo::dataInfo |
( |
const char * |
dP, |
|
|
const uint32_t * |
cP, |
|
|
off_t |
o, |
|
|
int |
n |
|
) |
| |
|
inline |
int XrdOucPgrwUtils::dataInfo::count |
Number of bytes to check.
const uint32_t* XrdOucPgrwUtils::dataInfo::csval |
Pointer to vector of checksums.
const char* XrdOucPgrwUtils::dataInfo::data |
off_t XrdOucPgrwUtils::dataInfo::offs |
Offset associated with data.
The documentation for this struct was generated from the following file: