ROOT  6.06/09
Reference Guide
Classes | Macros | Typedefs | Functions
XrdProofdAux.h File Reference
#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"
+ Include dependency graph for XrdProofdAux.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Macro Definition Documentation

#define DIGIT (   x)    (x >= 48 && x <= 57)
#define IDXTOLET (   ilet,
  x 
)
Value:
if ((ilet) >= 1 && (ilet) <= 26) x = (ilet) + 96; \
if ((ilet) >= 27 && (ilet) <= 52) x = (ilet) + 38;
Double_t x[n]
Definition: legend1.C:17
if(pyself &&pyself!=Py_None)

Definition at line 358 of file XrdProofdAux.h.

Referenced by XrdProofdMultiStrToken::Export().

#define INRANGE (   x,
  y 
)    ((x >= 0) && (x < (int)y->size()))

Definition at line 345 of file XrdProofdAux.h.

#define LETTOIDX (   x,
  ilet 
)
Value:
if (x >= 97 && x <= 122) ilet = x - 96; \
if (x >= 65 && x <= 90) ilet = x - 38;
Double_t x[n]
Definition: legend1.C:17
if(pyself &&pyself!=Py_None)

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.

#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 TRACELINK   fLink

Definition at line 375 of file XrdProofdAux.h.

#define XpdBadPGuard (   g,
 
)    (!(g.Valid()) && (geteuid() != (uid_t)u))
#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().

#define XPDSWAP (   a,
  b,
 
)    { t = a ; a = b; b = t; }

Definition at line 364 of file XrdProofdAux.h.

Referenced by XrdProofWorker::Sort().

Typedef Documentation

typedef int(* XrdFunDirective_t) (XrdProofdDirective *, char *, XrdOucStream *cfg, bool reconfig)

Definition at line 106 of file XrdProofdAux.h.

Function Documentation

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 
)

Set host field for directive 'd' to (const char *h)

Definition at line 1705 of file XrdProofdAux.cxx.

Referenced by XrdProofdConfig::ParseFile().