XRootD
XrdCryptoTrace.hh File Reference
+ Include dependency graph for XrdCryptoTrace.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUG(y)   TRACE(Debug,y)
 
#define EPNAME(x)   static const char *epname = x;
 
#define PRINT(y)
 
#define QTRACE(act)   (cryptoTrace && (cryptoTrace->What & cryptoTRACE_ ## act))
 
#define TRACE(act, x)   if (QTRACE(act)) PRINT(x)
 

Variables

XrdOucTracecryptoTrace
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG (   y)    TRACE(Debug,y)

Definition at line 43 of file XrdCryptoTrace.hh.

◆ EPNAME

#define EPNAME (   x)    static const char *epname = x;

Definition at line 44 of file XrdCryptoTrace.hh.

◆ PRINT

#define PRINT (   y)
Value:
{if (cryptoTrace) {cryptoTrace->Beg(epname); \
std::cerr <<y; cryptoTrace->End();}}
XrdOucTrace * cryptoTrace
Definition: XrdCryptoAux.cc:39
void End()
Definition: XrdOucTrace.hh:42
void Beg(const char *tid=0, const char *usr=0, const char *sid=0)
Definition: XrdOucTrace.hh:39

Definition at line 40 of file XrdCryptoTrace.hh.

◆ QTRACE

#define QTRACE (   act)    (cryptoTrace && (cryptoTrace->What & cryptoTRACE_ ## act))

Definition at line 39 of file XrdCryptoTrace.hh.

◆ TRACE

#define TRACE (   act,
 
)    if (QTRACE(act)) PRINT(x)

Definition at line 42 of file XrdCryptoTrace.hh.

Variable Documentation

◆ cryptoTrace

XrdOucTrace* cryptoTrace
extern

Definition at line 39 of file XrdCryptoAux.cc.

Referenced by XrdCryptoSetTrace().