![]() |
ROOT 6.07/09 Reference Guide |
Definition at line 107 of file XrdProofdProofServMgr.h.
Public Member Functions | |
XpdEnv (const char *n, const char *env, const char *usr=0, const char *grp=0, int smi=-1, int smx=-1, int vmi=-1, int vmx=-1) | |
int | Matches (const char *usr, const char *grp, int ver=-1) |
Check if this env applies to 'usr', 'grp, 'ver'. More... | |
void | Print (const char *what) |
Print the content of this env. More... | |
void | Reset (const char *n, const char *env, const char *usr=0, const char *grp=0, int smi=-1, int smx=-1, int vmi=-1, int vmx=-1) |
Static Public Member Functions | |
static int | ToVersCode (int ver, bool hex=0) |
Transform version number ver (format patch + 100*minor + 10000*maj, e.g. More... | |
Public Attributes | |
XrdOucString | fEnv |
XrdOucString | fGroups |
XrdOucString | fName |
int | fSvnMax |
int | fSvnMin |
XrdOucString | fUsers |
int | fVerMax |
int | fVerMin |
#include <XrdProofdProofServMgr.h>
|
inline |
Definition at line 117 of file XrdProofdProofServMgr.h.
int XpdEnv::Matches | ( | const char * | usr, |
const char * | grp, | ||
int | ver = -1 |
||
) |
Check if this env applies to 'usr', 'grp, 'ver'.
Returns -1 if it does not match, >=0 if it matches. The value is a linear combination of matching lengths for user and group, with a weight of 1000 for the users one, so that an exact user match will always win.
Definition at line 5025 of file XrdProofdProofServMgr.cxx.
void XpdEnv::Print | ( | const char * | what | ) |
Print the content of this env.
Definition at line 5085 of file XrdProofdProofServMgr.cxx.
|
inline |
Definition at line 121 of file XrdProofdProofServMgr.h.
|
static |
Transform version number ver (format patch + 100*minor + 10000*maj, e.g.
52706) If 'hex' is true, the components are decoded as hex numbers
Definition at line 5063 of file XrdProofdProofServMgr.cxx.
XrdOucString XpdEnv::fEnv |
Definition at line 110 of file XrdProofdProofServMgr.h.
XrdOucString XpdEnv::fGroups |
Definition at line 112 of file XrdProofdProofServMgr.h.
XrdOucString XpdEnv::fName |
Definition at line 109 of file XrdProofdProofServMgr.h.
int XpdEnv::fSvnMax |
Definition at line 114 of file XrdProofdProofServMgr.h.
int XpdEnv::fSvnMin |
Definition at line 113 of file XrdProofdProofServMgr.h.
XrdOucString XpdEnv::fUsers |
Definition at line 111 of file XrdProofdProofServMgr.h.
int XpdEnv::fVerMax |
Definition at line 116 of file XrdProofdProofServMgr.h.
int XpdEnv::fVerMin |
Definition at line 115 of file XrdProofdProofServMgr.h.