xrootd
Loading...
Searching...
No Matches
Macros | Variables
XrdCryptoTrace.hh File Reference
#include "XrdOuc/XrdOucTrace.hh"
#include "XrdCrypto/XrdCryptoAux.hh"
#include "XrdSys/XrdSysHeaders.hh"
Include dependency graph for XrdCryptoTrace.hh:

Go to the source code of this file.

Macros

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

Variables

XrdOucTracecryptoTrace
 

Macro Definition Documentation

◆ DEBUG

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

◆ EPNAME

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

◆ PRINT

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

◆ QTRACE

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

◆ TRACE

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

Variable Documentation

◆ cryptoTrace

XrdOucTrace* cryptoTrace
extern