|
xrootd
|
#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 XrdOucgetName2NameArgs, XrdOucgetName2Name(), XrdCns::MLog, and XrdSysPlugin::getPlugin().
| int XrdCnsConfig::Configure | ( | int | argc, |
| char ** | argv, | ||
| char * | argt = 0 |
||
| ) |
References XrdCns::MLog, XrdOucArgs::Set(), XrdOucArgs::getopt(), XrdOucArgs::argval, XrdMpx::Opts, XrdOuca2x::a2i(), EnvPutInt, XrdCns::XrdTrace, XrdOucTrace::What, TRACE_ALL, XrdSysThread::setDebug(), XrdOuca2x::a2sz(), XrdOuca2x::a2ll(), XrdOuca2x::a2tm(), XrdSysError::Emsg(), index(), XrdSysDNS::getHostName(), TRACE, DEBUG, XrdOucArgs::getarg(), and XrdOucTList::next.
Referenced by main().
| int XrdCnsConfig::Configure | ( | ) |
References XrdMpx::Opts, XrdCns::MLog, XrdSysError::Emsg(), XrdOucUtils::InstName(), XrdOucUtils::makePath(), chdir(), EnvPutInt, NAME_DATASERVERCONN_TTL, TRACE, DEBUG, XrdOucTokenizer::Attach(), XrdOucTokenizer::GetLine(), XrdOucTokenizer::GetToken(), index(), XrdSysThread::Run(), XrdCns::CnsInt(), XRDSYSTHREAD_BIND, XrdNetSocket::Create(), XRDNET_FIFO, XrdNetSocket::Detach(), and XrdCns::CnsEvents().
| int XrdCnsConfig::LocalPath | ( | const char * | oldp, |
| char * | newp, | ||
| int | newpsz | ||
| ) |
References XrdCns::MLog, and XrdSysError::Emsg().
Referenced by MountPath(), and XrdCnsLogServer::Massage().
| int XrdCnsConfig::LogicPath | ( | const char * | oldp, |
| char * | newp, | ||
| int | newpsz | ||
| ) |
References XrdCns::MLog, and XrdSysError::Emsg().
| int XrdCnsConfig::MountPath | ( | const char * | oldp, |
| char * | newp, | ||
| int | newpsz | ||
| ) |
References XrdOucTList::val, XrdOucTList::text, XrdOucTList::next, XrdCns::Config, and LocalPath().
Referenced by XrdCnsLogServer::Massage().
| int XrdCnsConfig::NAPath | ( | const char * | What, |
| const char * | Path | ||
| ) | [private] |
References XrdCns::MLog, and XrdSysError::Emsg().
| char* XrdCnsConfig::aPath |
| char* XrdCnsConfig::bPath |
Referenced by XrdCns::CnsInt().
| char* XrdCnsConfig::cPath |
| char* XrdCnsConfig::ePath |
Referenced by XrdCnsLogServer::XrdCnsLogServer().
| char* XrdCnsConfig::LCLRoot |
| char* XrdCnsConfig::logfn |
Referenced by main().
Referenced by main().
const int XrdCnsConfig::optNoCns = 0x0002 [static] |
const int XrdCnsConfig::optRecr = 0x0001 [static] |
Referenced by XrdCnsLogClient::Init(), and XrdCnsLogServer::Init().
Referenced by XrdCnsLogServer::Init().
Referenced by XrdCnsLogServer::Init(), and XrdCnsLogServer::Run().
1.7.5