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 XrdSysPlugin::getPlugin(), XrdCns::MLog, XrdOucgetName2Name(), and XrdOucgetName2NameArgs.
int XrdCnsConfig::Configure | ( | ) |
References XrdOucTokenizer::Attach(), chdir(), XrdCns::CnsEvents(), XrdCns::CnsInt(), XrdNetSocket::Create(), DEBUG, XrdNetSocket::Detach(), XrdSysError::Emsg(), EnvPutInt, XrdOucTokenizer::GetLine(), XrdOucTokenizer::GetToken(), index(), XrdOucUtils::InstName(), XrdOucUtils::makePath(), XrdCns::MLog, NAME_DATASERVERCONN_TTL, XrdMpx::Opts, 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(), XrdOucArgs::argval, DEBUG, XrdSysError::Emsg(), EnvPutInt, XrdOucArgs::getarg(), XrdNetDNS::getHostName(), XrdOucArgs::getopt(), index(), XrdCns::MLog, XrdOucTList::next, XrdMpx::Opts, XrdOucArgs::Set(), XrdSysThread::setDebug(), TRACE, TRACE_ALL, XrdOucTrace::What, and XrdCns::XrdTrace.
Referenced by main().
int XrdCnsConfig::LocalPath | ( | const char * | oldp, |
char * | newp, | ||
int | newpsz | ||
) |
References XrdSysError::Emsg(), and XrdCns::MLog.
Referenced by XrdCnsLogServer::Massage(), and MountPath().
int XrdCnsConfig::LogicPath | ( | const char * | oldp, |
char * | newp, | ||
int | newpsz | ||
) |
References XrdSysError::Emsg(), and XrdCns::MLog.
int XrdCnsConfig::MountPath | ( | const char * | oldp, |
char * | newp, | ||
int | newpsz | ||
) |
References XrdCns::Config, LocalPath(), XrdOucTList::next, XrdOucTList::text, and XrdOucTList::val.
Referenced by XrdCnsLogServer::Massage().
int XrdCnsConfig::NAPath | ( | const char * | What, |
const char * | Path | ||
) | [private] |
References XrdSysError::Emsg(), and XrdCns::MLog.
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] |
Referenced by XrdCnsLogClient::XrdCnsLogClient().
const int XrdCnsConfig::optRecr = 0x0001 [static] |
Referenced by XrdCnsLogServer::Init(), and XrdCnsLogClient::Init().
Referenced by XrdCnsLogServer::Init().
Referenced by XrdCnsLogServer::Init(), and XrdCnsLogServer::Run().