1 #ifndef __SSI_FILEREQ_H__
2 #define __SSI_FILEREQ_H__
33 #include <sys/types.h>
66 const char *
id,
unsigned int rnum);
89 static void SetMax(
int mVal) {freeMax = mVal;}
98 int Same(
unsigned long long arg1,
unsigned long long arg2)
119 int Emsg(
const char *pfx,
int ecode,
const char *op);
122 void Init(
const char *cID=0);
141 unsigned long long respCBarg;
154 union {
long long fileSz;
class XrdBuffer * XrdSfsXioHandle
void Alert(XrdSsiRespInfoMsg &aMsg)
Send or receive a server generated alert.
bool WantResponse(XrdOucErrInfo &eInfo)
XrdSfsXferSize Read(bool &done, char *buffer, XrdSfsXferSize blen)
int Same(unsigned long long arg1, unsigned long long arg2)
char * GetRequest(int &rLen)
void Finished(XrdSsiRequest &rqstR, const XrdSsiRespInfo &rInfo, bool cancel=false)
bool ProcessResponse(const XrdSsiErrInfo &eInfo, const XrdSsiRespInfo &resp)
XrdSsiFileReq(const char *cID=0)
int Send(XrdSfsDio *sfDio, XrdSfsXferSize size)
static XrdSsiFileReq * Alloc(XrdOucErrInfo *eP, XrdSsiFileResource *rP, XrdSsiFileSess *fP, const char *sn, const char *id, unsigned int rnum)
void Activate(XrdOucBuffer *oP, XrdSfsXioHandle bR, int rSz)
void Done(int &Result, XrdOucErrInfo *cbInfo, const char *path=0)
static void SetMax(int mVal)
bool Finished(bool cancel=false)