ROOT
6.06/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) | |
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) |
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... | |
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 | fName |
XrdOucString | fEnv |
XrdOucString | fUsers |
XrdOucString | fGroups |
int | fSvnMin |
int | fSvnMax |
int | fVerMin |
int | fVerMax |
#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 5016 of file XrdProofdProofServMgr.cxx.
Referenced by XrdProofdProofServMgr::CreateProofServEnvFile(), XrdProofdProofServMgr::CreateProofServRootRc(), and XrdProofdProofServMgr::SetProofServEnvOld().
void XpdEnv::Print | ( | const char * | what | ) |
Print the content of this env.
Definition at line 5076 of file XrdProofdProofServMgr.cxx.
|
inline |
Definition at line 121 of file XrdProofdProofServMgr.h.
Referenced by XrdProofdProofServMgr::FillEnvList().
|
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 5054 of file XrdProofdProofServMgr.cxx.
Referenced by XrdProofdProofServMgr::FillEnvList().
XrdOucString XpdEnv::fEnv |
Definition at line 110 of file XrdProofdProofServMgr.h.
Referenced by WriteSessEnvs(), and WriteSessRCs().
XrdOucString XpdEnv::fGroups |
Definition at line 112 of file XrdProofdProofServMgr.h.
XrdOucString XpdEnv::fName |
Definition at line 109 of file XrdProofdProofServMgr.h.
Referenced by XrdProofdProofServMgr::CreateProofServEnvFile(), XrdProofdProofServMgr::CreateProofServRootRc(), and XrdProofdProofServMgr::SetProofServEnvOld().
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.