Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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; \
} \
}

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 e(i)
Definition RSha256.hxx:103
#define TRACING(x)
auto * m
Definition textangle.C:8

Definition at line 37 of file XrdProofdResponse.cxx.

◆ XPRTRACING

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

Definition at line 50 of file XrdProofdResponse.cxx.