1 #ifndef __XRDOFSCONFIGPI_HH__
2 #define __XRDOFSCONFIGPI_HH__
49 struct XrdVersionInfo;
111 void Default(
TheLib what,
const char *lpath,
const char *lparm=0);
221 bool Push(
TheLib what,
const char *plugP,
const char *parmP=0);
264 bool RepLib(
TheLib what,
const char *newLib,
const char *newParms=0,
bool parseParms=
true);
278 XrdVersionInfo *urVer;
283 const char *ConfigFN;
289 xxxLP() : lib(0), parms(0),
opts(0) {}
290 ~xxxLP() {
if (lib) free(lib);
291 if (parms) free(parms);
294 xxxLP& operator=(
const xxxLP& rhs)
296 {lib = (rhs.lib ? strdup(rhs.lib) : 0);
297 parms = (rhs.parms ? strdup(rhs.parms) : 0);
298 opts = (rhs.opts ? strdup(rhs.opts) : 0);
302 xxxLP(
const xxxLP& rhs) {*
this = rhs;}
309 std::vector<ctlLP> ctlVec;
XrdCmsClient *(* XrdCmsClient_t)(XrdSysLogger *, int, int, XrdOss *)
bool ConfigCtl(XrdCmsClient *cmscP, XrdOucEnv *envP=0)
void Default(TheLib what, const char *lpath, const char *lparm=0)
void SetCksRdSz(int rdsz)
bool Plugin(XrdAccAuthorize *&piP)
Get Authorization plugin.
static XrdOfsConfigPI * New(const char *cfn, XrdOucStream *cfgP, XrdSysError *errP, XrdVersionInfo *verP=0, XrdSfsFileSystem *sfsP=0)
~XrdOfsConfigPI()
Destructor.
void DefaultCS(const char *alg)
bool Load(int what, XrdOucEnv *envP=0)
bool Push(TheLib what, const char *plugP, const char *parmP=0)
bool Configure(XrdCmsClient *cmscP, XrdOucEnv *envP)
@ allXXXLib
All plugins (Load() only)
@ maxXXXLib
Maximum different plugins.
@ theCksLib
Checksum manager plugin.
@ thePrpLib
Prp plugin (prepare)
@ theCmsLib
Cms client plugin.
@ theAtrLib
Extended attribute plugin.
@ theAutLib
Authorization plugin.
@ theCtlLib
Ctl plugin (FSCtl)
void Display()
Display configuration settings.