XRootD
XrdCryptosslTrace.hh File Reference
+ Include dependency graph for XrdCryptosslTrace.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)   (sslTrace && (sslTrace->What & cryptoTRACE_ ## act))
 
#define TRACE(act, x)   if (QTRACE(act)) PRINT(x)
 

Variables

XrdOucTracesslTrace
 

Macro Definition Documentation

◆ DEBUG

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

Definition at line 42 of file XrdCryptosslTrace.hh.

◆ EPNAME

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

Definition at line 43 of file XrdCryptosslTrace.hh.

◆ PRINT

#define PRINT (   y)
Value:
{if (sslTrace) {sslTrace->Beg(epname); \
std::cerr <<y; sslTrace->End();}}
XrdOucTrace * sslTrace
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 39 of file XrdCryptosslTrace.hh.

◆ QTRACE

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

Definition at line 38 of file XrdCryptosslTrace.hh.

◆ TRACE

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

Definition at line 41 of file XrdCryptosslTrace.hh.

Variable Documentation

◆ sslTrace

XrdOucTrace* sslTrace
extern

Definition at line 50 of file XrdCryptosslAux.cc.

Referenced by XrdCryptosslFactory::SetTrace().