1 #ifndef __XRDOFSEVS_H__
2 #define __XRDOFSEVS_H__
56 inline void Set(
evArg aNum,
const char *aVal) {
Arg[aNum] = aVal;}
61 const char *lfn1,
const char *cgi1=
"",
XrdOucEnv *env1=0,
62 mode_t mode=0,
long long fsize=0,
63 const char *lfn2=
"$LFN2",
const char *cgi2=
"",
XrdOucEnv *env2=0)
109 memcpy(
Args, fullArgs,
sizeof(
Args));
159 int Feed(
const char *data,
int dlen);
Definition: XrdOfsEvs.hh:47
long long FSize()
Definition: XrdOfsEvs.hh:52
mode_t theFMode
Definition: XrdOfsEvs.hh:80
const char * Arg[evARGS]
Definition: XrdOfsEvs.hh:76
~XrdOfsEvsInfo()
Definition: XrdOfsEvs.hh:72
mode_t FMode()
Definition: XrdOfsEvs.hh:54
XrdOfsEvsInfo(const char *tid, const char *lfn1, const char *cgi1="", XrdOucEnv *env1=0, mode_t mode=0, long long fsize=0, const char *lfn2="$LFN2", const char *cgi2="", XrdOucEnv *env2=0)
Definition: XrdOfsEvs.hh:60
void Set(evArg aNum, const char *aVal)
Definition: XrdOfsEvs.hh:56
const char * Val(evArg aNum)
Definition: XrdOfsEvs.hh:58
evArg
Definition: XrdOfsEvs.hh:50
@ evARGS
Definition: XrdOfsEvs.hh:50
@ evLFN2
Definition: XrdOfsEvs.hh:50
@ evLFN1
Definition: XrdOfsEvs.hh:50
@ evTID
Definition: XrdOfsEvs.hh:50
@ evFSIZE
Definition: XrdOfsEvs.hh:50
@ evCGI1
Definition: XrdOfsEvs.hh:50
@ evCGI2
Definition: XrdOfsEvs.hh:50
@ evFMODE
Definition: XrdOfsEvs.hh:50
long long theFSize
Definition: XrdOfsEvs.hh:79
XrdOucEnv * Env2
Definition: XrdOfsEvs.hh:78
XrdOucEnv * Env1
Definition: XrdOfsEvs.hh:77
Definition: XrdOfsEvs.hh:121
int maxSmsg()
Definition: XrdOfsEvs.hh:141
XrdOfsEvs(Event theEvents, const char *Target, int minq=90, int maxq=10)
const char * eName(int eNum)
static const int maxMsgSize
Definition: XrdOfsEvs.hh:137
XrdOfsEvsMsg * msgFreeMax
Definition: XrdOfsEvs.hh:175
Event enEvents
Definition: XrdOfsEvs.hh:167
XrdSysSemaphore qSem
Definition: XrdOfsEvs.hh:171
static XrdOfsEvsFormat MsgFmt[XrdOfsEvs::nCount]
Definition: XrdOfsEvs.hh:163
int Feed(const char *data, int dlen)
int maxMin
Definition: XrdOfsEvs.hh:182
Event
Definition: XrdOfsEvs.hh:124
@ All
Definition: XrdOfsEvs.hh:124
@ Mask
Definition: XrdOfsEvs.hh:133
@ Closer
Definition: XrdOfsEvs.hh:125
@ Open
Definition: XrdOfsEvs.hh:130
@ Mv
Definition: XrdOfsEvs.hh:128
@ Mkdir
Definition: XrdOfsEvs.hh:128
@ Rmdir
Definition: XrdOfsEvs.hh:131
@ Closew
Definition: XrdOfsEvs.hh:126
@ Rm
Definition: XrdOfsEvs.hh:130
@ None
Definition: XrdOfsEvs.hh:124
@ Close
Definition: XrdOfsEvs.hh:126
@ Fwrite
Definition: XrdOfsEvs.hh:127
@ nCount
Definition: XrdOfsEvs.hh:132
@ Trunc
Definition: XrdOfsEvs.hh:131
@ Openr
Definition: XrdOfsEvs.hh:129
@ enMask
Definition: XrdOfsEvs.hh:133
@ Openw
Definition: XrdOfsEvs.hh:129
@ Create
Definition: XrdOfsEvs.hh:127
@ Chmod
Definition: XrdOfsEvs.hh:125
XrdSysMutex qMut
Definition: XrdOfsEvs.hh:170
XrdOfsEvsMsg * getMsg(int bigmsg)
XrdOfsEvsMsg * msgFirst
Definition: XrdOfsEvs.hh:172
char * theTarget
Definition: XrdOfsEvs.hh:166
int numMin
Definition: XrdOfsEvs.hh:181
XrdSysMutex fMut
Definition: XrdOfsEvs.hh:174
int maxMax
Definition: XrdOfsEvs.hh:180
int msgFD
Definition: XrdOfsEvs.hh:178
pthread_t tid
Definition: XrdOfsEvs.hh:165
XrdOfsEvsMsg * msgFreeMin
Definition: XrdOfsEvs.hh:176
static int Parse(XrdSysError &Eroute, Event eNum, char *mText)
int maxLmsg()
Definition: XrdOfsEvs.hh:142
int numMax
Definition: XrdOfsEvs.hh:179
XrdOfsEvsMsg * msgLast
Definition: XrdOfsEvs.hh:173
int Start(XrdSysError *eobj)
XrdSysError * eDest
Definition: XrdOfsEvs.hh:168
int endIT
Definition: XrdOfsEvs.hh:177
static const int minMsgSize
Definition: XrdOfsEvs.hh:136
void Notify(Event eNum, XrdOfsEvsInfo &Info)
void retMsg(XrdOfsEvsMsg *tp)
XrdOucProg * theProg
Definition: XrdOfsEvs.hh:169
const char * Prog()
Definition: XrdOfsEvs.hh:148
int Enabled(Event theEvents)
Definition: XrdOfsEvs.hh:139
Definition: XrdOucEnv.hh:42
Definition: XrdOucProg.hh:38
Definition: XrdSysError.hh:90
Definition: XrdSysPthread.hh:165
Definition: XrdSysPthread.hh:494
@ Info
Definition: XrdMacaroonsHandler.hh:18
Fmt
Definition: XrdSysTrace.hh:42