xrootd
Loading...
Searching...
No Matches
Macros | Variables
XrdSecpwdTrace.hh File Reference
#include "XrdOuc/XrdOucTrace.hh"
#include "XrdSys/XrdSysHeaders.hh"
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 QTRACE(act)   (pwdTrace && (pwdTrace->What & TRACE_ ## act))
 
#define PRINT(y)
 
#define TRACE(act, x)   if (QTRACE(act)) PRINT(x)
 
#define NOTIFY(y)   TRACE(Debug,y)
 
#define DEBUG(y)   TRACE(Authen,y)
 
#define EPNAME(x)   static const char *epname = x;
 
#define TRACE_ALL   0x000f
 
#define TRACE_Dump   0x0004
 
#define TRACE_Authen   0x0002
 
#define TRACE_Debug   0x0001
 

Variables

XrdOucTracepwdTrace
 

Macro Definition Documentation

◆ DEBUG

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

◆ EPNAME

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

◆ NOTIFY

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

◆ 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

◆ QTRACE

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

◆ TRACE

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

◆ TRACE_ALL

#define TRACE_ALL   0x000f

◆ TRACE_Authen

#define TRACE_Authen   0x0002

◆ TRACE_Debug

#define TRACE_Debug   0x0001

◆ TRACE_Dump

#define TRACE_Dump   0x0004

Variable Documentation

◆ pwdTrace

XrdOucTrace* pwdTrace
extern