1#ifndef __XRDOFSCPFILE_HH__
2#define __XRDOFSCPFILE_HH__
53int Append(
const char *data, off_t offset,
int dlen);
108 bool Reserve(
int dlen,
int nseg);
156static char *
Target(
const char *ckpfn);
166 int Used(
int nseg=0);
184static char *genCkpPath();
185static int getSrcLfn(
const char *cFN,
rInfo &rinfo,
int fd,
int rc);
void trim(std::string &str)
int64_t fSize
Original size of the source file.
const char * srcLFN
Pointer to the source filename.
XrdOucIOVec * DataVec
A vector of data that must be written back.
int DataLen
Number of bytes to write back (may be 0)
int DataNum
Number of elements in DataVec (may be 0)
time_t mTime
Original modification time of the source.
bool Reserve(int dlen, int nseg)
static char * Target(const char *ckpfn)
int Append(const char *data, off_t offset, int dlen)
int RestoreInfo(rInfo &rinfo, const char *&ewhy)
~XrdOfsCPFile()
Destructor.
const char * FName(bool trim=false)