ROOT
6.07/01
Reference Guide
|
#include <list>
#include <map>
#include <stdarg.h>
#include "XpdSysSemWait.h"
#include "Xrd/XrdProtocol.hh"
#include "XProofProtocol.h"
#include "XrdOuc/XrdOucHash.hh"
#include "XrdOuc/XrdOucString.hh"
Go to the source code of this file.
Classes | |
class | XrdProofUI |
class | XrdProofGI |
class | XrdProofdFile |
class | XrdProofdPriority |
class | XrdProofdPInfo |
class | XrdProofdDirective |
class | XrdProofdMultiStrToken |
class | XrdProofdMultiStr |
class | XpdMsg |
class | XrdProofdPipe |
class | XrdProofdDSInfo |
class | XrdProofdAux |
Macros | |
#define | SafeDel(x) { if (x) { delete x; x = 0; } } |
#define | SafeDelArray(x) { if (x) { delete[] x; x = 0; } } |
#define | SafeFree(x) { if (x) free(x); x = 0; } |
#define | INRANGE(x, y) ((x >= 0) && (x < (int)y->size())) |
#define | DIGIT(x) (x >= 48 && x <= 57) |
#define | LETTOIDX(x, ilet) |
#define | IDXTOLET(ilet, x) |
#define | XPDSWAP(a, b, t) { t = a ; a = b; b = t; } |
#define | XpdBadPGuard(g, u) (!(g.Valid()) && (geteuid() != (uid_t)u)) |
#define | MHEAD "--- Proofd: " |
#define | TRACELINK fLink |
#define | RESPONSE fResponse |
#define | XPDFORM XrdProofdAux::Form |
Typedefs | |
typedef int(* | XrdFunDirective_t )(XrdProofdDirective *, char *, XrdOucStream *cfg, bool reconfig) |
Functions | |
int | DoDirectiveClass (XrdProofdDirective *, char *val, XrdOucStream *cfg, bool rcf) |
Generic class directive processor. More... | |
int | DoDirectiveInt (XrdProofdDirective *, char *val, XrdOucStream *cfg, bool rcf) |
Process directive for an integer. More... | |
int | DoDirectiveString (XrdProofdDirective *, char *val, XrdOucStream *cfg, bool rcf) |
Process directive for a string. More... | |
int | SetHostInDirectives (const char *, XrdProofdDirective *d, void *h) |
Set host field for directive 'd' to (const char *h) More... | |
Definition at line 349 of file XrdProofdAux.h.
Referenced by XrdProofdProofServMgr::CleanupProofServ(), XrdProofdAux::GetProcesses(), XrdProofdMultiStrToken::Init(), and XrdProofdMultiStrToken::Matches().
#define IDXTOLET | ( | ilet, | |
x | |||
) |
Definition at line 358 of file XrdProofdAux.h.
Referenced by XrdProofdMultiStrToken::Export().
Definition at line 345 of file XrdProofdAux.h.
#define LETTOIDX | ( | x, | |
ilet | |||
) |
Definition at line 353 of file XrdProofdAux.h.
Referenced by XrdProofdMultiStrToken::Init(), and XrdProofdMultiStrToken::Matches().
#define MHEAD "--- Proofd: " |
Definition at line 372 of file XrdProofdAux.h.
#define RESPONSE fResponse |
Definition at line 378 of file XrdProofdAux.h.
Definition at line 335 of file XrdProofdAux.h.
Referenced by XrdProofConn::Authenticate(), XrdProofdProofServ::DeleteUNIXSock(), XrdROOTMgr::DoDirectiveRootSys(), XrdProofdAdmin::Exec(), XrdProofSched::GetWorkers(), XrdProofConn::Login(), XrdProofdProofServ::Reset(), XrdProofConn::SendRecv(), XrdProofConn::SendReq(), XrdProofConn::~XrdProofConn(), XrdProofdClientMgr::~XrdProofdClientMgr(), XrdProofdProofServ::~XrdProofdProofServ(), and XrdProofWorker::~XrdProofWorker().
Definition at line 338 of file XrdProofdAux.h.
Referenced by XrdProofdProofServ::BroadcastPriority(), XrdProofdAdmin::CleanupSessions(), XrdProofdManager::DoDirectiveRootd(), XrdProofdNetMgr::ReadBuffer(), XrdProofdProofServ::SendClusterInfo(), XrdProofdAdmin::SetGroupProperties(), and XrdProofdManager::~XrdProofdManager().
Definition at line 341 of file XrdProofdAux.h.
Referenced by XrdProofdClientMgr::Auth(), XrdProofdManager::Config(), XrdProofdAux::Expand(), XrdProofdNetMgr::IsLocal(), XrdProofdConfig::ParseFile(), XrdProofdNetMgr::ReadBuffer(), XrdProofdNetMgr::ReadBufferRemote(), XrdProofdNetMgr::ReadLogPaths(), and XrdProofWorker::Reset().
#define TRACELINK fLink |
Definition at line 375 of file XrdProofdAux.h.
#define XpdBadPGuard | ( | g, | |
u | |||
) | (!(g.Valid()) && (geteuid() != (uid_t)u)) |
Definition at line 368 of file XrdProofdAux.h.
Referenced by XrdProofdSandbox::AddSession(), XrdProofdAux::AssertDir(), XrdProofdAux::ChangeMod(), XrdProofdAux::ChangeOwn(), XrdProofdAux::ChangeToDir(), XrdProofdManager::Config(), XrdProofdAux::KillProcess(), XrdProofdSandbox::RemoveSession(), XrdProofdSessionEntry::SetPriority(), XrdProofdPriorityMgr::SetProcessPriority(), XrdProofdProofServMgr::SetUserEnvironment(), and XrdProofdSandbox::TrimSessionDirs().
#define XPDFORM XrdProofdAux::Form |
Definition at line 381 of file XrdProofdAux.h.
Referenced by XrdProofdProofServMgr::AcceptPeer(), XrdProofdProofServMgr::AddSession(), XrdProofdProofServ::Broadcast(), XrdProofdClientMgr::CheckAdminPath(), XrdProofdClientMgr::CheckClient(), XrdProofdClientMgr::CheckClients(), XrdProofdProofServ::CheckSession(), XrdProofdProofServMgr::CheckTerminatedSessions(), XrdProofdProofServMgr::CleanClientSessions(), XrdProofdProofServMgr::CleanupLostProofServ(), XrdProofdAdmin::CleanupSessions(), XrdProofdManager::Config(), XrdProofdNetMgr::Config(), XrdProofdPriorityMgr::Config(), XrdProofSched::Config(), XrdROOTMgr::Config(), XrdProofdProofServMgr::Config(), XrdProofdProofServMgr::Create(), XrdProofdClientMgr::CreateAdminPath(), XrdProofdProofServMgr::CreateAdminPath(), XrdProofdProofServMgr::CreateProofServEnvFile(), XrdProofdProofServMgr::CreateProofServRootRc(), XrdProofdProofServMgr::CreateSockPath(), XrdProofdProofServMgr::DeleteFromSessions(), XrdProofdProofServMgr::Destroy(), XrdProofdClientMgr::DoDirectiveClientMgr(), XrdProofdProofServMgr::DoDirectiveProofServMgr(), XrdROOTMgr::DoDirectiveRootSys(), XrdProofdNetMgr::DoDirectiveWorker(), DumpPriorityChanges(), XrdProofdProofServ::ExportBuf(), XrdProofdProofServMgr::FormFileNameInSessionDir(), XrdProofdClientMgr::GetClient(), XrdProofdProofServ::GetClientID(), XrdProofdClient::GetFreeServObj(), XrdProofdAux::GetIDFromPath(), XrdProofdProtocol::GetNewResponse(), XrdProofdAux::GetNumCPUs(), XrdProofdProofServMgr::GetTagDirs(), XrdProofdManager::GetWorkers(), XrdProofdProtocol::Interrupt(), XrdProofdProofServMgr::IsSessionSocket(), XrdProofdAux::KillProcess(), XrdProofdResponse::LinkSend(), XrdProofdManager::LoadScheduler(), XrdProofdNetMgr::LocateLocalFile(), XrdProofdClientMgr::MapClient(), XrdProofdProtocol::Match(), XrdProofdAux::MvDir(), XrdProofdProofServMgr::MvSession(), XrdProofdClientMgr::ParsePreviousClients(), XrdProofdPipe::Post(), XrdProofdProtocol::PostSession(), XrdProofdProofServMgr::PrepareProofServ(), XpdEnv::Print(), XrdProofdAdmin::QueryLogPaths(), XrdProofdNetMgr::ReadBuffer(), XrdProofdProtocol::Recycle(), XrdProofdProofServ::Reset(), XrdProofdProofServMgr::ResolveSession(), XrdProofdAux::RmDir(), XrdProofdProofServMgr::RmSession(), XrdProofdResponse::Send(), XrdProofdProtocol::SendData(), XrdProofdProofServ::SendData(), XrdProofdProofServMgr::SendErrLog(), XrdProofdResponse::SendI(), XrdProofdProtocol::SendMsg(), XrdProofdProofServ::SetAdminPath(), XrdProofdAdmin::SetGroupProperties(), XrdROOTMgr::SetLogDir(), XrdProofdResponse::SetTraceID(), XrdProofdProtocol::SetTraceID(), XrdProofdProofServMgr::SetUserOwnerships(), XrdProofdProtocol::StartRootd(), XrdProofdClientMgr::TerminateSessions(), XrdProofdProofServMgr::TouchSession(), XrdROOTMgr::Validate(), XrdProofdAux::VerifyProcessByID(), XrdProofdClient::VerifySession(), XrdProofdProofServMgr::VerifySession(), and XrdProofdClient::XrdProofdClient().
Definition at line 364 of file XrdProofdAux.h.
Referenced by XrdProofWorker::Sort().
typedef int(* XrdFunDirective_t)(XrdProofdDirective *, char *, XrdOucStream *cfg, bool reconfig) |
Definition at line 106 of file XrdProofdAux.h.
int DoDirectiveClass | ( | XrdProofdDirective * | , |
char * | val, | ||
XrdOucStream * | cfg, | ||
bool | rcf | ||
) |
Generic class directive processor.
Definition at line 1639 of file XrdProofdAux.cxx.
Referenced by XrdProofdAdmin::RegisterDirectives(), XrdProofdManager::RegisterDirectives(), XrdProofdPriorityMgr::RegisterDirectives(), XrdProofdClientMgr::RegisterDirectives(), XrdProofdNetMgr::RegisterDirectives(), XrdROOTMgr::RegisterDirectives(), XrdProofSched::RegisterDirectives(), and XrdProofdProofServMgr::RegisterDirectives().
int DoDirectiveInt | ( | XrdProofdDirective * | , |
char * | val, | ||
XrdOucStream * | cfg, | ||
bool | rcf | ||
) |
Process directive for an integer.
Definition at line 1651 of file XrdProofdAux.cxx.
Referenced by XrdProofdManager::RegisterDirectives(), XrdProofdClientMgr::RegisterDirectives(), XrdProofdNetMgr::RegisterDirectives(), and XrdProofdProofServMgr::RegisterDirectives().
int DoDirectiveString | ( | XrdProofdDirective * | , |
char * | val, | ||
XrdOucStream * | cfg, | ||
bool | rcf | ||
) |
Process directive for a string.
Definition at line 1679 of file XrdProofdAux.cxx.
Referenced by XrdProofdManager::RegisterDirectives(), XrdProofdClientMgr::RegisterDirectives(), and XrdProofdProofServMgr::RegisterDirectives().
int SetHostInDirectives | ( | const char * | , |
XrdProofdDirective * | d, | ||
void * | h | ||
) |
Set host field for directive 'd' to (const char *h)
Definition at line 1705 of file XrdProofdAux.cxx.
Referenced by XrdProofdConfig::ParseFile().