#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cerrno>
#include "XrdVoms.hh"
#include "XrdVomsFun.hh"
#include "XrdVomsTrace.hh"
#include "XrdVomsMapfile.hh"
#include "XrdSec/XrdSecEntity.hh"
#include "XrdSys/XrdSysLogger.hh"
Go to the source code of this file.
◆ FATAL
#define FATAL |
( |
|
x | ) |
{std::cerr <<"VomsFun: "<<x<<std::endl; aOK = false;} |
◆ NTAG
◆ SafeFree
#define SafeFree |
( |
|
x | ) |
{ if (x) free(x) ; x = 0; } |
◆ VOMSDBG
Value: if (gDebug) { \
PRINT(m); \
}
Definition at line 61 of file XrdVomsFun.cc.
◆ VOMSDBGSUBJ
#define VOMSDBGSUBJ |
( |
|
m, |
|
|
|
c |
|
) |
| |
Value: if (gDebug) { \
XrdOucString subject; \
NameOneLine(X509_get_subject_name(c), subject); \
PRINT(m << subject); \
}
Definition at line 66 of file XrdVomsFun.cc.
◆ VOMSREPLACE
#define VOMSREPLACE |
( |
|
a, |
|
|
|
f, |
|
|
|
e |
|
) |
| |
Value: if (a.length() > 0) { \
f.replace("<g>", e.grps); \
f.replace("<r>", e.role); \
f.replace("<vo>", e.vorg); \
f.replace("<an>", e.endorsements); \
}
Definition at line 73 of file XrdVomsFun.cc.
◆ VOMSSPTTAB
Value: if (a.length() > 0) { \
int sp = -1; \
while ((sp = a.find(
' ', sp+1)) !=
STR_NPOS) { a[sp] =
'\t'; } \
}
Definition at line 81 of file XrdVomsFun.cc.