12 #ifndef ROOT_XrdProofdConfig
13 #define ROOT_XrdProofdConfig
25 #include "XrdOuc/XrdOucHash.hh"
45 { fDirectives.Add(dname, d); }
55 XrdOucStream *,
bool) {
return 0; }
XrdProofdConfig(const char *cfg=0, XrdSysError *edest=0)
Main constructor.
virtual ~XrdProofdConfig()
virtual void RegisterDirectives()
virtual int DoDirective(XrdProofdDirective *, char *, XrdOucStream *, bool)
XrdOucHash< XrdProofdDirective > fDirectives
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
void SetCfgEDest(const char *cfg, XrdSysError *edest)
Set config file and error handler.
const char * CfgFile() const
int ParseFile(bool rcf=false)
Parse config file for the registered directives.
virtual int Config(bool rcf=0)
bool ReadFile(bool update=true)
Return true if the file has never been read or did change since last reading, false otherwise...
static XrdOucString fgHost
void Register(const char *dname, XrdProofdDirective *d)