#include <XrdCnsConfig.hh>

Public Member Functions | |
| int | Configure (int argc, char **argv, char *argt=0) |
| int | Configure () |
| int | LocalPath (const char *oldp, char *newp, int newpsz) |
| int | LogicPath (const char *oldp, char *newp, int newpsz) |
| int | MountPath (const char *oldp, char *newp, int newpsz) |
| XrdCnsConfig () | |
| ~XrdCnsConfig () | |
Public Attributes | |
| char * | aPath |
| char * | bPath |
| char * | cPath |
| char * | ePath |
| XrdOucTList * | Dest |
| XrdOucTList * | bDest |
| XrdOucTList * | Exports |
| char * | LCLRoot |
| XrdOucName2Name * | N2N |
| XrdCnsLogServer * | XrdCnsLog |
| XrdCnsXref * | Space |
| char * | logfn |
| int | logKeep |
| int | Port |
| int | mInt |
| int | cInt |
| int | qLim |
| int | Opts |
Static Public Attributes | |
| static const int | optRecr = 0x0001 |
| static const int | optNoCns = 0x0002 |
Private Member Functions | |
| int | ConfigN2N () |
| int | NAPath (const char *What, const char *Path) |
| XrdCnsConfig::XrdCnsConfig | ( | ) | [inline] |
| XrdCnsConfig::~XrdCnsConfig | ( | ) | [inline] |
| int XrdCnsConfig::ConfigN2N | ( | void | ) | [private] |
References cPath, XrdSysPlugin::getPlugin(), LCLRoot, XrdCns::MLog, N2N, and XrdOucgetName2Name().
Referenced by Configure().
| int XrdCnsConfig::Configure | ( | ) |
References aPath, XrdOucTokenizer::Attach(), bPath, chdir(), XrdCns::CnsEvents(), XrdCns::CnsInt(), ConfigN2N(), XrdNetSocket::Create(), DEBUG, Dest, XrdNetSocket::Detach(), XrdSysError::Emsg(), EnvPutInt, ePath, Exports, XrdOucTokenizer::GetLine(), XrdOucTokenizer::GetToken(), index(), LocalPath(), XrdOucUtils::makePath(), XrdCns::MLog, NAME_DATASERVERCONN_TTL, optRecr, Opts, Port, XrdSysThread::Run(), TRACE, XRDNET_FIFO, and XRDSYSTHREAD_BIND.
| int XrdCnsConfig::Configure | ( | int | argc, | |
| char ** | argv, | |||
| char * | argt = 0 | |||
| ) |
References XrdOuca2x::a2i(), XrdOuca2x::a2ll(), XrdOuca2x::a2sz(), XrdOuca2x::a2tm(), aPath, XrdOucArgs::argval, bDest, bPath, cInt, cPath, DEBUG, Dest, XrdSysError::Emsg(), EnvPutInt, ePath, XrdOucArgs::getarg(), XrdNetDNS::getHostName(), XrdOucArgs::getopt(), index(), logfn, logKeep, mInt, XrdCns::MLog, NAPath(), XrdOucTList::next, optNoCns, optRecr, Opts, Port, qLim, XrdOucArgs::Set(), XrdSysThread::setDebug(), Space, XrdOucTList::text, TRACE, XrdOucTList::val, XrdOucTrace::What, and XrdTrace.
Referenced by main().
| int XrdCnsConfig::LocalPath | ( | const char * | oldp, | |
| char * | newp, | |||
| int | newpsz | |||
| ) |
References XrdSysError::Emsg(), XrdOucName2Name::lfn2pfn(), XrdCns::MLog, and N2N.
Referenced by Configure().
| int XrdCnsConfig::LogicPath | ( | const char * | oldp, | |
| char * | newp, | |||
| int | newpsz | |||
| ) |
References XrdSysError::Emsg(), XrdCns::MLog, N2N, and XrdOucName2Name::pfn2lfn().
| int XrdCnsConfig::MountPath | ( | const char * | oldp, | |
| char * | newp, | |||
| int | newpsz | |||
| ) |
References XrdCms::Config, Exports, LCLRoot, XrdOucTList::next, XrdOucTList::text, and XrdOucTList::val.
| int XrdCnsConfig::NAPath | ( | const char * | What, | |
| const char * | Path | |||
| ) | [private] |
References XrdSysError::Emsg(), and XrdCns::MLog.
Referenced by Configure().
| char* XrdCnsConfig::aPath |
Referenced by Configure().
Referenced by Configure().
| char* XrdCnsConfig::bPath |
Referenced by Configure().
Referenced by XrdCns::CnsInt(), and Configure().
| char* XrdCnsConfig::cPath |
Referenced by ConfigN2N(), and Configure().
Referenced by Configure().
| char* XrdCnsConfig::ePath |
Referenced by Configure().
Referenced by Configure(), and MountPath().
| char* XrdCnsConfig::LCLRoot |
Referenced by ConfigN2N(), and MountPath().
| char* XrdCnsConfig::logfn |
Referenced by Configure(), and main().
Referenced by Configure(), and main().
Referenced by Configure().
Referenced by ConfigN2N(), LocalPath(), and LogicPath().
const int XrdCnsConfig::optNoCns = 0x0002 [static] |
Referenced by Configure(), and XrdCnsLogClient::XrdCnsLogClient().
const int XrdCnsConfig::optRecr = 0x0001 [static] |
Referenced by Configure(), XrdCnsLogServer::Init(), and XrdCnsLogClient::Init().
Referenced by Configure().
Referenced by Configure().
Referenced by Configure().
Referenced by Configure().
1.7.1