Logo ROOT   6.12/07
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:

Classes

class  XpdMsg
 
class  XrdProofdAux
 
class  XrdProofdDirective
 
class  XrdProofdDSInfo
 
class  XrdProofdFile
 
class  XrdProofdMultiStr
 
class  XrdProofdMultiStrToken
 
class  XrdProofdPInfo
 
class  XrdProofdPipe
 
class  XrdProofdPriority
 
class  XrdProofGI
 
class  XrdProofUI
 

Macros

#define DIGIT(x)   (x >= 48 && x <= 57)
 
#define IDXTOLET(ilet, x)
 
#define INRANGE(x, y)   ((x >= 0) && (x < (int)y->size()))
 
#define LETTOIDX(x, ilet)
 
#define MHEAD   "--- Proofd: "
 
#define RESPONSE   fResponse
 
#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
 
#define XpdBadPGuard(g, u)   (!(g.Valid()) && (geteuid() != (uid_t)u))
 
#define XPDFORM   XrdProofdAux::Form
 
#define XPDSWAP(a, b, t)   { t = a ; a = b; b = t; }
 

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

◆ DIGIT

#define DIGIT (   x)    (x >= 48 && x <= 57)

Definition at line 349 of file XrdProofdAux.h.

◆ IDXTOLET

#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

Definition at line 358 of file XrdProofdAux.h.

◆ INRANGE

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

Definition at line 345 of file XrdProofdAux.h.

◆ LETTOIDX

#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

Definition at line 353 of file XrdProofdAux.h.

◆ MHEAD

#define MHEAD   "--- Proofd: "

Definition at line 372 of file XrdProofdAux.h.

◆ RESPONSE

#define RESPONSE   fResponse

Definition at line 378 of file XrdProofdAux.h.

◆ SafeDel

#define SafeDel (   x)    { if (x) { delete x; x = 0; } }

Definition at line 335 of file XrdProofdAux.h.

◆ SafeDelArray

#define SafeDelArray (   x)    { if (x) { delete[] x; x = 0; } }

Definition at line 338 of file XrdProofdAux.h.

◆ SafeFree

#define SafeFree (   x)    { if (x) free(x); x = 0; }

Definition at line 341 of file XrdProofdAux.h.

◆ TRACELINK

#define TRACELINK   fLink

Definition at line 375 of file XrdProofdAux.h.

◆ XpdBadPGuard

#define XpdBadPGuard (   g,
 
)    (!(g.Valid()) && (geteuid() != (uid_t)u))

Definition at line 368 of file XrdProofdAux.h.

◆ XPDFORM

#define XPDFORM   XrdProofdAux::Form

Definition at line 381 of file XrdProofdAux.h.

◆ XPDSWAP

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

Definition at line 364 of file XrdProofdAux.h.

Typedef Documentation

◆ XrdFunDirective_t

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

Definition at line 106 of file XrdProofdAux.h.

Function Documentation

◆ DoDirectiveClass()

int DoDirectiveClass ( XrdProofdDirective ,
char *  val,
XrdOucStream *  cfg,
bool  rcf 
)

Generic class directive processor.

Definition at line 1641 of file XrdProofdAux.cxx.

◆ DoDirectiveInt()

int DoDirectiveInt ( XrdProofdDirective ,
char *  val,
XrdOucStream *  cfg,
bool  rcf 
)

Process directive for an integer.

Definition at line 1653 of file XrdProofdAux.cxx.

◆ DoDirectiveString()

int DoDirectiveString ( XrdProofdDirective ,
char *  val,
XrdOucStream *  cfg,
bool  rcf 
)

Process directive for a string.

Definition at line 1681 of file XrdProofdAux.cxx.

◆ SetHostInDirectives()

int SetHostInDirectives ( const char *  ,
XrdProofdDirective d,
void h 
)

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

Definition at line 1707 of file XrdProofdAux.cxx.