|
xrootd
|
#include <XrdOucEnv.hh>

Public Member Functions | |
| char * | Env (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) |
| char * | Delimit (char *value) |
| const XrdSecEntity * | secEnv () |
| XrdOucEnv (const char *vardata=0, int vardlen=0, const XrdSecEntity *secent=0) | |
| ~XrdOucEnv () | |
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) |
Private Attributes | |
| XrdOucHash< char > | env_Hash |
| const XrdSecEntity * | secEntity |
| char * | global_env |
| int | global_len |
| XrdOucEnv::XrdOucEnv | ( | const char * | vardata = 0, |
| int | vardlen = 0, |
||
| const XrdSecEntity * | secent = 0 |
||
| ) |
References global_env, global_len, env_Hash, XrdOucHash::Rep(), and Hash_dofree.
| XrdOucEnv::~XrdOucEnv | ( | ) | [inline] |
References global_env.
| char * XrdOucEnv::Delimit | ( | char * | value | ) |
| char* XrdOucEnv::Env | ( | int & | envlen | ) | [inline] |
References global_len, and global_env.
Referenced by XrdCmsFinderRMT::Locate(), XrdOssSys::Stage_QT(), XrdOucMsubs::getVal(), and XrdPssFile::Open().
| int XrdOucEnv::Export | ( | const char * | Var, |
| const char * | Val | ||
| ) | [static] |
Referenced by XrdCmsClientConfig::Configure(), XrdCmsConfig::ConfigOSS(), XrdCmsConfig::PidFile(), XrdCmsSecurity::setSystemID(), XrdConfig::Configure(), XrdConfig::Setup(), XrdFrmConfig::Configure(), XrdOfs::Configure(), XrdOfs::Config_Display(), XrdOfsEvr::Init(), XrdOssSys::ConfigN2N(), XrdOssSpace::Init(), Export(), XrdOucStream::isSet(), XrdPssSys::Configure(), XrdPssSys::ConfigN2N(), XrdPssSys::xcach(), XrdXrootdProtocol::Configure(), and XrdXrootdloadFileSystem().
| int XrdOucEnv::Export | ( | const char * | Var, |
| int | Val | ||
| ) | [static] |
References Export().
| char* XrdOucEnv::Get | ( | const char * | varname | ) | [inline] |
References env_Hash, and XrdOucHash::Find().
Referenced by XrdBwmFile::open(), XrdClientEnv::ShellGet(), XrdClientEnv::ShellGetInt(), XrdCmsFinderRMT::Locate(), XrdOfs::remove(), XrdOssFile::Open(), XrdOssSys::Alloc_Cache(), XrdOssSys::Stage_RT(), XrdOssSys::Stat(), XrdOssSys::StatLS(), XrdOucMsubs::Subs(), XrdOucMsubs::getVal(), XrdOucStream::isSet(), XrdOucStream::vSubs(), XrdPosixXrootd::initEnv(), and XrdSecProtocolsss::Encode().
| long XrdOucEnv::GetInt | ( | const char * | varname | ) |
References env_Hash, and XrdOucHash::Find().
Referenced by XrdClientEnv::ShellGetInt().
| void * XrdOucEnv::GetPtr | ( | const char * | varname | ) |
References env_Hash, and XrdOucHash::Find().
Referenced by XrdCmsFinderRMT::Configure().
| bool XrdOucEnv::Import | ( | const char * | var, |
| char *& | val | ||
| ) | [static] |
Referenced by XrdClientEnv::ImportStr(), XrdClientEnv::ImportInt(), and Import().
| bool XrdOucEnv::Import | ( | const char * | var, |
| long & | val | ||
| ) | [static] |
References Import().
| void XrdOucEnv::Put | ( | const char * | varname, |
| const char * | value | ||
| ) | [inline] |
References env_Hash, XrdOucHash::Rep(), and Hash_dofree.
Referenced by XrdClientConn::DoAuthentication(), XrdClientEnv::ImportStr(), XrdFrcCID::Get(), XrdFrmAdmin::Reloc(), XrdFrmTransfer::SetupCmd(), and XrdOucStream::isSet().
| void XrdOucEnv::PutInt | ( | const char * | varname, |
| long | value | ||
| ) |
References env_Hash, XrdOucHash::Rep(), and Hash_dofree.
Referenced by XrdClientEnv::ImportInt().
| void XrdOucEnv::PutPtr | ( | const char * | varname, |
| void * | value | ||
| ) |
References env_Hash, XrdOucHash::Rep(), and Hash_dofree.
Referenced by XrdXrootdProtocol::Configure().
| const XrdSecEntity* XrdOucEnv::secEnv | ( | ) | [inline] |
References secEntity.
XrdOucHash<char> XrdOucEnv::env_Hash [private] |
char* XrdOucEnv::global_env [private] |
Referenced by XrdOucEnv(), Env(), and ~XrdOucEnv().
int XrdOucEnv::global_len [private] |
Referenced by XrdOucEnv(), and Env().
const XrdSecEntity* XrdOucEnv::secEntity [private] |
Referenced by secEnv().
1.7.5