1 #ifndef __XRDOUCPGRWUTILS_HH__ 2 #define __XRDOUCPGRWUTILS_HH__ 34 #include <sys/types.h> 53 static void csCalc(
const char* data, ssize_t offs,
size_t count,
66 static int csNum(ssize_t offs,
size_t count);
83 static int csVer(
const char* data, ssize_t offs,
size_t count,
84 const uint32_t* csval, ssize_t &bado,
size_t &badc);
static void csCalc(const char *data, ssize_t offs, size_t count, uint32_t *csval)
~XrdOucPgrwUtils()
Definition: XrdOucPgrwUtils.hh:87
Definition: XrdOucPgrwUtils.hh:36
static int csVer(const char *data, ssize_t offs, size_t count, const uint32_t *csval, ssize_t &bado, size_t &badc)
static int csNum(ssize_t offs, size_t count)
Compute the required size of a checksum vector based on offset & length.
XrdOucPgrwUtils()
Definition: XrdOucPgrwUtils.hh:86