#include <list>#include <map>#include <stdarg.h>#include "XrdSys/XrdSysSemWait.hh"#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 |
Defines | |
| #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) |
| int | DoDirectiveInt (XrdProofdDirective *, char *val, XrdOucStream *cfg, bool rcf) |
| int | DoDirectiveString (XrdProofdDirective *, char *val, XrdOucStream *cfg, bool rcf) |
| int | SetHostInDirectives (const char *, XrdProofdDirective *d, void *h) |
Definition at line 336 of file XrdProofdAux.h.
Referenced by XrdProofdProofServMgr::CleanupProofServ(), XrdProofdAux::GetProcesses(), XrdProofdMultiStrToken::Init(), and XrdProofdMultiStrToken::Matches().
| #define IDXTOLET | ( | ilet, | |||
| x | ) |
Value:
if ((ilet) >= 1 && (ilet) <= 26) x = (ilet) + 96; \ if ((ilet) >= 27 && (ilet) <= 52) x = (ilet) + 38;
Definition at line 345 of file XrdProofdAux.h.
Referenced by XrdProofdMultiStrToken::Export().
Definition at line 332 of file XrdProofdAux.h.
| #define LETTOIDX | ( | x, | |||
| ilet | ) |
Value:
Definition at line 340 of file XrdProofdAux.h.
Referenced by XrdProofdMultiStrToken::Init(), and XrdProofdMultiStrToken::Matches().
| #define MHEAD "--- Proofd: " |
Definition at line 359 of file XrdProofdAux.h.
| #define RESPONSE fResponse |
Definition at line 365 of file XrdProofdAux.h.
Definition at line 322 of file XrdProofdAux.h.
Referenced by XrdProofdClientMgr::~XrdProofdClientMgr().
Definition at line 325 of file XrdProofdAux.h.
| #define TRACELINK fLink |
Definition at line 362 of file XrdProofdAux.h.
Definition at line 355 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 368 of file XrdProofdAux.h.
Referenced by XrdProofdProofServMgr::AddSession(), XrdProofdProofServ::Broadcast(), XrdProofdClientMgr::CheckAdminPath(), XrdProofdClientMgr::CheckClients(), XrdProofdProofServ::CheckSession(), XrdProofdProofServMgr::CheckTerminatedSessions(), XrdProofdProofServMgr::CleanClientSessions(), XrdProofdProofServMgr::CleanupLostProofServ(), XrdProofdAdmin::CleanupSessions(), XrdProofdManager::Config(), XrdProofdPriorityMgr::Config(), XrdProofdProofServMgr::Config(), XrdROOTMgr::Config(), XrdProofdNetMgr::Config(), XrdProofSched::Config(), XrdProofdProofServMgr::Create(), XrdProofdClientMgr::CreateAdminPath(), XrdProofdProofServMgr::DeleteFromSessions(), XrdProofdProofServMgr::Destroy(), XrdProofdClientMgr::DoDirectiveClientMgr(), XrdProofdProofServMgr::DoDirectiveProofServMgr(), XrdROOTMgr::DoDirectiveRootSys(), XrdProofdNetMgr::DoDirectiveWorker(), DumpPriorityChanges(), XrdProofdProofServ::ExportBuf(), 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::Login(), XrdProofdClientMgr::MapClient(), XrdProofdAux::MvDir(), XrdProofdProofServMgr::MvSession(), XrdProofdClientMgr::ParsePreviousClients(), XrdProofdPipe::Post(), XrdProofdProtocol::PostSession(), XpdEnv::Print(), XrdProofdNetMgr::ReadBuffer(), XrdProofdProtocol::Recycle(), XrdProofdProofServ::Reset(), XrdProofdProofServMgr::ResolveSession(), XrdProofdAux::RmDir(), XrdProofdProofServMgr::RmSession(), XrdProofdResponse::Send(), XrdProofdProtocol::SendData(), XrdProofdProofServ::SendData(), XrdProofdResponse::SendI(), XrdProofdProtocol::SendMsg(), XrdProofdProofServ::SetAdminPath(), XrdProofdAdmin::SetGroupProperties(), XrdROOTMgr::SetLogDir(), XrdProofdProofServMgr::SetProofServEnv(), XrdProofdResponse::SetTraceID(), XrdProofdProtocol::SetTraceID(), XrdProofdProofServMgr::SetUserOwnerships(), XrdProofdClientMgr::TerminateSessions(), XrdProofdProofServMgr::TouchSession(), XrdROOTMgr::Validate(), XrdProofdAux::VerifyProcessByID(), XrdProofdProofServMgr::VerifySession(), XrdProofdClient::VerifySession(), XrdProofdClient::XrdProofdClient(), and XrdProofdClientCron().
| typedef int(*) XrdFunDirective_t(XrdProofdDirective *, char *, XrdOucStream *cfg, bool reconfig) |
Definition at line 111 of file XrdProofdAux.h.
| int DoDirectiveClass | ( | XrdProofdDirective * | , | |
| char * | val, | |||
| XrdOucStream * | cfg, | |||
| bool | rcf | |||
| ) |
Definition at line 1588 of file XrdProofdAux.cxx.
References d.
Referenced by XrdProofSched::RegisterDirectives(), XrdProofdNetMgr::RegisterDirectives(), XrdProofdProofServMgr::RegisterDirectives(), XrdROOTMgr::RegisterDirectives(), XrdProofdAdmin::RegisterDirectives(), XrdProofdManager::RegisterDirectives(), XrdProofdClientMgr::RegisterDirectives(), XrdProofdProtCfg::RegisterDirectives(), and XrdProofdPriorityMgr::RegisterDirectives().
| int DoDirectiveInt | ( | XrdProofdDirective * | , | |
| char * | val, | |||
| XrdOucStream * | cfg, | |||
| bool | rcf | |||
| ) |
Definition at line 1600 of file XrdProofdAux.cxx.
References XrdProofdAux::CheckIf(), d, strtol(), TRACE, and XPDLOC.
Referenced by XrdProofdNetMgr::RegisterDirectives(), XrdProofdProofServMgr::RegisterDirectives(), and XrdProofdClientMgr::RegisterDirectives().
| int DoDirectiveString | ( | XrdProofdDirective * | , | |
| char * | val, | |||
| XrdOucStream * | cfg, | |||
| bool | rcf | |||
| ) |
Definition at line 1627 of file XrdProofdAux.cxx.
References XrdProofdAux::CheckIf(), d, TRACE, and XPDLOC.
Referenced by XrdProofdProofServMgr::RegisterDirectives(), XrdProofdManager::RegisterDirectives(), and XrdProofdClientMgr::RegisterDirectives().
| int SetHostInDirectives | ( | const char * | , | |
| XrdProofdDirective * | d, | |||
| void * | h | |||
| ) |
Definition at line 1652 of file XrdProofdAux.cxx.
References d.
Referenced by XrdProofdConfig::ParseFile().
1.5.1