Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
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.
 
int DoDirectiveInt (XrdProofdDirective *, char *val, XrdOucStream *cfg, bool rcf)
 Process directive for an integer.
 
int DoDirectiveString (XrdProofdDirective *, char *val, XrdOucStream *cfg, bool rcf)
 Process directive for a string.
 
int SetHostInDirectives (const char *, XrdProofdDirective *d, void *h)
 Set host field for directive 'd' to (const char *h)
 

Macro Definition Documentation

◆ DIGIT

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

Definition at line 346 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;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Double_t x[n]
Definition legend1.C:17

Definition at line 355 of file XrdProofdAux.h.

◆ INRANGE

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

Definition at line 342 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;

Definition at line 350 of file XrdProofdAux.h.

◆ MHEAD

#define MHEAD   "--- Proofd: "

Definition at line 369 of file XrdProofdAux.h.

◆ RESPONSE

#define RESPONSE   fResponse

Definition at line 375 of file XrdProofdAux.h.

◆ SafeDel

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

Definition at line 332 of file XrdProofdAux.h.

◆ SafeDelArray

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

Definition at line 335 of file XrdProofdAux.h.

◆ SafeFree

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

Definition at line 338 of file XrdProofdAux.h.

◆ TRACELINK

#define TRACELINK   fLink

Definition at line 372 of file XrdProofdAux.h.

◆ XpdBadPGuard

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

Definition at line 365 of file XrdProofdAux.h.

◆ XPDFORM

#define XPDFORM   XrdProofdAux::Form

Definition at line 378 of file XrdProofdAux.h.

◆ XPDSWAP

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

Definition at line 361 of file XrdProofdAux.h.

Typedef Documentation

◆ XrdFunDirective_t

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

Definition at line 103 of file XrdProofdAux.h.

Function Documentation

◆ DoDirectiveClass()

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

Generic class directive processor.

Definition at line 1641 of file XrdProofdAux.cxx.

◆ DoDirectiveInt()

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

Process directive for an integer.

Definition at line 1653 of file XrdProofdAux.cxx.

◆ DoDirectiveString()

int DoDirectiveString ( XrdProofdDirective * d,
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.