Logo ROOT   6.08/07
Reference Guide
Macros
XrdProofdResponse.cxx File Reference
#include <sys/types.h>
#include <netinet/in.h>
#include <inttypes.h>
#include <string.h>
#include "XrdProofdAux.h"
#include "XrdProofdProtocol.h"
#include "XrdProofdResponse.h"
#include "XrdProofdTrace.h"
Include dependency graph for XrdProofdResponse.cxx:

Macros

#define CHECKLINK
 
#define CHECKLINKNOMTX
 
#define XPRNOTIFY(m, e)
 
#define XPRTRACING(a)   ((a != 0) || (TRACING(RSP)))
 

Macro Definition Documentation

◆ CHECKLINK

#define CHECKLINK
Value:
{ XrdSysMutexHelper mh(fMutex); \
if (!fLink) { \
TRACE(XERR, "link is undefined! "); \
return 0; \
} else if (fLink->FDnum() < 0) { \
TRACE(XERR, "link descriptor invalid for link "<<fLink<<"! ("<< fLink->FDnum()<<")"); \
return 0; \
} \
}
#define XrdSysMutexHelper
Definition: XrdSysToOuc.h:17

Definition at line 52 of file XrdProofdResponse.cxx.

◆ CHECKLINKNOMTX

#define CHECKLINKNOMTX
Value:
if (!fLink) { \
TRACE(XERR, "link is undefined! "); \
return 0; \
} else if (fLink->FDnum() < 0) { \
TRACE(XERR, "link descriptor invalid for link "<<fLink<<"! ("<< fLink->FDnum()<<")"); \
return 0; \
}

Definition at line 62 of file XrdProofdResponse.cxx.

◆ XPRNOTIFY

#define XPRNOTIFY (   m,
  e 
)
Value:
if (rc != 0) { \
TRACET(TraceID(), XERR, m << ": " << e); \
} else { \
if (TRACING(RSP)) { \
if (e.length() > 0) { \
TRACET(TraceID(), RSP, m << " (" << e <<")"); \
} else { \
TRACET(TraceID(), RSP, m); \
} \
} \
}
#define TRACING(x)
TMarker * m
Definition: textangle.C:8
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Definition: TRolke.cxx:630

Definition at line 37 of file XrdProofdResponse.cxx.

◆ XPRTRACING

#define XPRTRACING (   a)    ((a != 0) || (TRACING(RSP)))

Definition at line 50 of file XrdProofdResponse.cxx.