XRootD
XrdSecpwdTrace.hh File Reference
+ Include dependency graph for XrdSecpwdTrace.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(Authen,y)
 
#define EPNAME(x)   static const char *epname = x;
 
#define NOTIFY(y)   TRACE(Debug,y)
 
#define PRINT(y)
 
#define QTRACE(act)   (pwdTrace && (pwdTrace->What & TRACE_ ## act))
 
#define TRACE(act, x)   if (QTRACE(act)) PRINT(x)
 
#define TRACE_ALL   0x000f
 
#define TRACE_Authen   0x0002
 
#define TRACE_Debug   0x0001
 
#define TRACE_Dump   0x0004
 

Variables

XrdOucTracepwdTrace
 

Macro Definition Documentation

◆ DEBUG

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

Definition at line 42 of file XrdSecpwdTrace.hh.

◆ EPNAME

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

Definition at line 43 of file XrdSecpwdTrace.hh.

◆ NOTIFY

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

Definition at line 41 of file XrdSecpwdTrace.hh.

◆ PRINT

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

◆ QTRACE

#define QTRACE (   act)    (pwdTrace && (pwdTrace->What & TRACE_ ## act))

Definition at line 37 of file XrdSecpwdTrace.hh.

◆ TRACE

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

Definition at line 40 of file XrdSecpwdTrace.hh.

◆ TRACE_ALL

#define TRACE_ALL   0x000f

Definition at line 56 of file XrdSecpwdTrace.hh.

◆ TRACE_Authen

#define TRACE_Authen   0x0002

Definition at line 58 of file XrdSecpwdTrace.hh.

◆ TRACE_Debug

#define TRACE_Debug   0x0001

Definition at line 59 of file XrdSecpwdTrace.hh.

◆ TRACE_Dump

#define TRACE_Dump   0x0004

Definition at line 57 of file XrdSecpwdTrace.hh.

Variable Documentation

◆ pwdTrace

XrdOucTrace* pwdTrace
extern

Definition at line 209 of file XrdSecProtocolpwd.cc.

Referenced by XrdSecProtocolpwd::Init(), and XrdSecProtocolpwdInit().