![]() |
XRootD
|
#include <XrdOucEnv.hh>
Public Member Functions | |
XrdOucEnv (const char *vardata=0, int vardlen=0, const XrdSecEntity *secent=0) | |
~XrdOucEnv () | |
char * | Delimit (char *value) |
char * | Env (int &envlen) |
char * | EnvTidy (int &envlen) |
char * | Get (const char *varname) |
long | GetInt (const char *varname) |
void * | GetPtr (const char *varname) |
void | Put (const char *varname, const char *value) |
void | PutInt (const char *varname, long value) |
void | PutPtr (const char *varname, void *value) |
const XrdSecEntity * | secEnv () const |
Static Public Member Functions | |
static int | Export (const char *Var, const char *Val) |
static int | Export (const char *Var, int Val) |
static bool | Import (const char *var, char *&val) |
static bool | Import (const char *var, long &val) |
Definition at line 41 of file XrdOucEnv.hh.
XrdOucEnv::XrdOucEnv | ( | const char * | vardata = 0 , |
int | vardlen = 0 , |
||
const XrdSecEntity * | secent = 0 |
||
) |
Definition at line 42 of file XrdOucEnv.cc.
References Hash_dofree, and XrdOucHash< T >::Rep().
|
inline |
Definition at line 115 of file XrdOucEnv.hh.
char * XrdOucEnv::Delimit | ( | char * | value | ) |
Definition at line 90 of file XrdOucEnv.cc.
|
inline |
Definition at line 48 of file XrdOucEnv.hh.
Referenced by XrdHttpExtReq::XrdHttpExtReq(), XrdPssUrlInfo::XrdPssUrlInfo(), XrdHttpReq::appendOpaque(), EnvTidy(), XrdSsiFileResource::Init(), XrdCmsRedirLocal::Locate(), XrdPssFile::Open(), XrdOssSys::Stage_QT(), and XrdOssCsi::tagOpenEnv().
char * XrdOucEnv::EnvTidy | ( | int & | envlen | ) |
Definition at line 160 of file XrdOucEnv.cc.
References Env(), Get(), and TIDY_ENVVAR.
Referenced by XrdCmsFinderRMT::Forward(), and XrdCmsFinderRMT::Locate().
|
static |
Definition at line 188 of file XrdOucEnv.cc.
Referenced by XrdOucPsx::ClientConfig(), XrdPfc::Cache::Config(), XrdOfs::Config_Display(), XrdOucLogging::configLog(), XrdXrootdProtocol::Configure(), XrdSecServer::Configure(), XrdCmsClientConfig::Configure(), XrdConfig::Configure(), XrdFrmConfig::Configure(), XrdOfs::Configure(), XrdThrottle::FileSystem::Configure(), XrdCmsConfig::Configure1(), XrdXrootdMonitor::Defaults(), Export(), XrdOfsTPC::Init(), XrdOssSpace::Init(), XrdOfsEvr::Init(), XrdOucN2NLoader::Load(), main(), XrdOucSiteName::Set(), XrdCmsSecurity::setSystemID(), XrdOfsTPC::Start(), and XrdXrootdloadFileSystem().
|
static |
Definition at line 211 of file XrdOucEnv.cc.
References Export().
|
inline |
Definition at line 69 of file XrdOucEnv.hh.
References XrdOucHash< T >::Find().
Referenced by Macaroons::Authz::Access(), XrdOssSys::Alloc_Cache(), XrdOfsTPC::Authorize(), XrdXrootdProtocol::Configure(), XrdOssSys::Configure(), XrdOucUtils::doIf(), EnvTidy(), fillCephNbStripes(), fillCephObjectSize(), fillCephPool(), fillCephStripeUnit(), fillCephUserId(), XrdSecPManager::Get(), XrdSecProtocolgsi::getCredentials(), XrdSecProtocolkrb5::getCredentials(), XrdSecProtocolsss::getCredentials(), XrdOfsTPC::getTTL(), XrdSsiFileResource::Init(), XrdOfsConfigPI::Load(), XrdSecProtocolsss::Load_Client(), XrdCmsFinderRMT::Locate(), XrdOssFile::Open(), XrdPssFile::Open(), XrdBwmFile::open(), XrdOfsFile::open(), XrdHttpReq::parseLine(), XrdThrottleManager::PrepLoadShed(), XrdHttpProtocol::Process(), XrdPosixConfig::SetConfig(), XrdCmsFinderRMT::Space(), XrdOssSys::Stage_RT(), XrdOssSys::Stat(), XrdOssSys::StatLS(), XrdOssCsi::tagOpenEnv(), XrdOfsTPC::Validate(), XrdOssStatInfoInit(), and XrdSecgsiAuthzInit().
long XrdOucEnv::GetInt | ( | const char * | varname | ) |
Definition at line 253 of file XrdOucEnv.cc.
References XrdOucHash< T >::Find().
Referenced by XrdXrootdProtocol::Configure(), and XrdSsiSfsConfig::Configure().
void * XrdOucEnv::GetPtr | ( | const char * | varname | ) |
Definition at line 281 of file XrdOucEnv.cc.
References XrdOucHash< T >::Find().
Referenced by StatsFileSystem::StatsFileSystem(), TPC::TPCHandler::TPCHandler(), XrdPfc::Cache::Config(), XrdPfcFSctl::Configure(), XrdCmsFinderRMT::Configure(), XrdConfig::Configure(), XrdSsiSfsConfig::Configure(), XrdThrottle::FileSystem::Configure(), XrdPosixConfig::EnvInfo(), XrdPssSys::EnvInfo(), XrdOucStream::Exec(), XrdOssCsi::Init(), XrdPssSys::Init(), XrdHttpGetExtHandler(), XrdOfsgetPrepare(), and XrdOucGetCache().
|
static |
Definition at line 222 of file XrdOucEnv.cc.
Referenced by XrdVomsMapfile::Configure(), and Import().
|
static |
Definition at line 235 of file XrdOucEnv.cc.
References Import().
|
inline |
Definition at line 85 of file XrdOucEnv.hh.
References Hash_dofree, and XrdOucHash< T >::Rep().
Referenced by XrdPosixXrootd::XrdPosixXrootd(), XrdSecPinInfo::XrdSecPinInfo(), XrdTcpMonInfo::XrdTcpMonInfo(), XrdPfc::Cache::Config(), XrdPfc::Cache::ExecuteCommandUrl(), XrdOfs::fsctl(), XrdFrcCID::Get(), XrdPssFile::Open(), XrdHttpReq::ProcessHTTPReq(), XrdOfsTPC::Validate(), XrdPfc::DataFsSnapshot::write_json_file(), and XrdOssGetSS().
void XrdOucEnv::PutInt | ( | const char * | varname, |
long | value | ||
) |
Definition at line 268 of file XrdOucEnv.cc.
References Hash_dofree, and XrdOucHash< T >::Rep().
Referenced by XrdConfig::Configure(), and XrdOfs::FAttr().
void XrdOucEnv::PutPtr | ( | const char * | varname, |
void * | value | ||
) |
Definition at line 316 of file XrdOucEnv.cc.
References Hash_dofree, and XrdOucHash< T >::Rep().
Referenced by XrdOssSys::ConfigStatLib(), XrdXrootdProtocol::Configure(), XrdOssSys::Configure(), XrdCmsFinderTRG::Configure(), XrdConfig::Configure(), XrdOfs::Configure(), XrdCmsConfig::Configure0(), XrdOucN2NLoader::Load(), XrdOucProg::Run(), and XrdOucGetCache().
|
inline |
Definition at line 107 of file XrdOucEnv.hh.
Referenced by XrdPssUrlInfo::XrdPssUrlInfo(), XrdPssSys::Connect(), XrdPssSys::Disc(), XrdSsiFileResource::Init(), XrdCmsRedirLocal::Locate(), XrdPssFile::Open(), and XrdOssCsi::tagOpenEnv().