![]() |
XRootD
|
#include <XrdOucPsx.hh>
Public Member Functions | |
XrdOucPsx (XrdVersionInfo *vInfo, const char *cfn, XrdSysLogger *lp=0, XrdOucEnv *vp=0) | |
~XrdOucPsx () | |
const char * | CCMInfo (const char *&path) |
bool | ClientConfig (const char *pfx, bool hush=false) |
bool | ConfigSetup (XrdSysError &eDest, bool hush=false) |
bool | hasCache () |
bool | ParseCache (XrdSysError *Eroute, XrdOucStream &Config) |
bool | ParseCio (XrdSysError *Eroute, XrdOucStream &Config) |
bool | ParseCLib (XrdSysError *Eroute, XrdOucStream &Config) |
bool | ParseINet (XrdSysError *Eroute, XrdOucStream &Config) |
bool | ParseMLib (XrdSysError *Eroute, XrdOucStream &Config) |
bool | ParseNLib (XrdSysError *Eroute, XrdOucStream &Config) |
bool | ParseSet (XrdSysError *Eroute, XrdOucStream &Config) |
bool | ParseTrace (XrdSysError *Eroute, XrdOucStream &Config) |
void | SetRoot (const char *lroot, const char *oroot=0) |
Public Attributes | |
int | cioTries |
int | cioWait |
char * | configFN |
int | debugLvl |
XrdOucCacheCMInit_t | initCCM |
int | maxRHCB |
char * | mCache |
XrdOucTList * | setFirst |
XrdOucTList * | setLast |
XrdOucCache * | theCache |
XrdOucEnv * | theEnv |
XrdSysLogger * | theLogger |
XrdOucName2Name * | theN2N |
int | traceLvl |
bool | useV4 |
bool | xLfn2Pfn |
bool | xNameLib |
char | xPfn2Lfn |
Static Public Attributes | |
static const int | xP2Loff = 0 |
static const int | xP2Lon = 1 |
static const int | xP2Lsgi = 3 |
static const int | xP2Lsrc = 2 |
Definition at line 47 of file XrdOucPsx.hh.
|
inline |
Definition at line 102 of file XrdOucPsx.hh.
XrdOucPsx::~XrdOucPsx | ( | ) |
Definition at line 78 of file XrdOucPsx.cc.
References configFN, mCache, XrdOucTList::next, and setFirst.
|
inline |
Definition at line 52 of file XrdOucPsx.hh.
bool XrdOucPsx::ClientConfig | ( | const char * | pfx, |
bool | hush = false |
||
) |
Definition at line 100 of file XrdOucPsx.cc.
References XrdOucTListFIFO::Clear(), XrdCms::Config, configFN, ConfigSetup(), eDest, XrdSysError::Emsg(), XrdOucEnv::Export(), XrdOucTListFIFO::first, and open().
Referenced by XrdPosixXrootd::XrdPosixXrootd().
bool XrdOucPsx::ConfigSetup | ( | XrdSysError & | eDest, |
bool | hush = false |
||
) |
Definition at line 217 of file XrdOucPsx.cc.
References XrdSysLogger::Capture(), XrdOucTListFIFO::Clear(), eDest, XrdOucTListFIFO::first, XrdSysError::logger(), and theCache.
Referenced by ClientConfig().
|
inline |
bool XrdOucPsx::ParseCache | ( | XrdSysError * | Eroute, |
XrdOucStream & | Config | ||
) |
Definition at line 330 of file XrdOucPsx.cc.
References XrdOuca2x::a2sz(), XrdCms::Config, XrdSysError::Emsg(), and mCache.
bool XrdOucPsx::ParseCio | ( | XrdSysError * | Eroute, |
XrdOucStream & | Config | ||
) |
Definition at line 481 of file XrdOucPsx.cc.
References XrdOuca2x::a2i(), cioTries, cioWait, XrdCms::Config, and XrdSysError::Emsg().
bool XrdOucPsx::ParseCLib | ( | XrdSysError * | Eroute, |
XrdOucStream & | Config | ||
) |
Definition at line 525 of file XrdOucPsx.cc.
References XrdCms::Config, XrdSysError::Emsg(), and XrdSysError::Say().
bool XrdOucPsx::ParseINet | ( | XrdSysError * | Eroute, |
XrdOucStream & | Config | ||
) |
Definition at line 611 of file XrdOucPsx.cc.
References XrdCms::Config, XrdSysError::Emsg(), and useV4.
bool XrdOucPsx::ParseMLib | ( | XrdSysError * | Eroute, |
XrdOucStream & | Config | ||
) |
Definition at line 571 of file XrdOucPsx.cc.
References XrdCms::Config, and XrdSysError::Emsg().
bool XrdOucPsx::ParseNLib | ( | XrdSysError * | Eroute, |
XrdOucStream & | Config | ||
) |
Definition at line 646 of file XrdOucPsx.cc.
References XrdCms::Config, XrdSysError::Emsg(), xLfn2Pfn, xNameLib, xP2Loff, xP2Lon, xP2Lsgi, xP2Lsrc, and xPfn2Lfn.
bool XrdOucPsx::ParseSet | ( | XrdSysError * | Eroute, |
XrdOucStream & | Config | ||
) |
Definition at line 702 of file XrdOucPsx.cc.
References XrdOuca2x::a2i(), XrdOuca2x::a2tm(), XrdCms::Config, debugLvl, XrdSysError::Emsg(), XrdSysError::Say(), and strlcpy().
bool XrdOucPsx::ParseTrace | ( | XrdSysError * | Eroute, |
XrdOucStream & | Config | ||
) |
Definition at line 791 of file XrdOucPsx.cc.
References XrdCms::Config, XrdSysError::Emsg(), XrdSysError::Say(), and traceLvl.
void XrdOucPsx::SetRoot | ( | const char * | lroot, |
const char * | oroot = 0 |
||
) |
int XrdOucPsx::cioTries |
Definition at line 91 of file XrdOucPsx.hh.
Referenced by ParseCio(), and XrdPosixConfig::SetConfig().
int XrdOucPsx::cioWait |
Definition at line 90 of file XrdOucPsx.hh.
Referenced by ParseCio(), and XrdPosixConfig::SetConfig().
char* XrdOucPsx::configFN |
Definition at line 78 of file XrdOucPsx.hh.
Referenced by ~XrdOucPsx(), and ClientConfig().
int XrdOucPsx::debugLvl |
Definition at line 89 of file XrdOucPsx.hh.
Referenced by ParseSet(), and XrdPosixConfig::SetConfig().
XrdOucCacheCMInit_t XrdOucPsx::initCCM |
Definition at line 83 of file XrdOucPsx.hh.
Referenced by XrdPosixConfig::SetConfig().
int XrdOucPsx::maxRHCB |
Definition at line 87 of file XrdOucPsx.hh.
Referenced by XrdPosixConfig::SetConfig().
char* XrdOucPsx::mCache |
Definition at line 84 of file XrdOucPsx.hh.
Referenced by ~XrdOucPsx(), hasCache(), ParseCache(), and XrdPosixConfig::SetConfig().
XrdOucTList* XrdOucPsx::setFirst |
Definition at line 85 of file XrdOucPsx.hh.
Referenced by ~XrdOucPsx(), and XrdPosixConfig::SetConfig().
XrdOucTList* XrdOucPsx::setLast |
Definition at line 86 of file XrdOucPsx.hh.
XrdOucCache* XrdOucPsx::theCache |
Definition at line 82 of file XrdOucPsx.hh.
Referenced by ConfigSetup(), and XrdPosixConfig::SetConfig().
XrdOucEnv* XrdOucPsx::theEnv |
Definition at line 80 of file XrdOucPsx.hh.
Referenced by XrdPosixConfig::SetConfig().
XrdSysLogger* XrdOucPsx::theLogger |
Definition at line 79 of file XrdOucPsx.hh.
Referenced by XrdPosixConfig::SetConfig().
XrdOucName2Name* XrdOucPsx::theN2N |
Definition at line 81 of file XrdOucPsx.hh.
Referenced by XrdPosixConfig::SetConfig().
int XrdOucPsx::traceLvl |
Definition at line 88 of file XrdOucPsx.hh.
Referenced by ParseTrace(), and XrdPosixConfig::SetConfig().
bool XrdOucPsx::useV4 |
Definition at line 92 of file XrdOucPsx.hh.
Referenced by ParseINet(), and XrdPosixConfig::SetConfig().
bool XrdOucPsx::xLfn2Pfn |
Definition at line 93 of file XrdOucPsx.hh.
Referenced by ParseNLib(), and SetRoot().
bool XrdOucPsx::xNameLib |
Definition at line 95 of file XrdOucPsx.hh.
Referenced by ParseNLib().
|
static |
Definition at line 97 of file XrdOucPsx.hh.
Referenced by ParseNLib().
|
static |
Definition at line 98 of file XrdOucPsx.hh.
Referenced by ParseNLib().
|
static |
Definition at line 100 of file XrdOucPsx.hh.
Referenced by ParseNLib(), and XrdPosixConfig::SetConfig().
|
static |
Definition at line 99 of file XrdOucPsx.hh.
Referenced by ParseNLib(), and XrdPosixConfig::SetConfig().
char XrdOucPsx::xPfn2Lfn |
Definition at line 94 of file XrdOucPsx.hh.
Referenced by ParseNLib(), and XrdPosixConfig::SetConfig().