12 #ifndef ROOT_XrdProofdAdmin 13 #define ROOT_XrdProofdAdmin 25 #include <sys/types.h> 30 #include "XrdOuc/XrdOucHash.hh" 31 #include "XrdOuc/XrdOucString.hh" 35 class XrdProtocol_Config;
46 fCmd(cmd), fFmt(fmt), fCanPut(put) { }
56 void RegisterDirectives();
57 int DoDirectiveExportPath(
char *, XrdOucStream *,
bool);
58 int DoDirectiveCpCmd(
char *, XrdOucStream *,
bool);
60 int CheckForbiddenChars(
const char *s);
61 int CheckPath(
bool superuser,
const char *sbdir, XrdOucString &fullpath,
62 int check,
bool &sandbox,
struct stat *st, XrdOucString &emsg);
64 int action,
const char *cmd, XrdOucString &emsg);
71 int Config(
bool rcf = 0);
73 char *val, XrdOucStream *cfg,
bool rcf);
XpdAdminCpCmd(const char *cmd, const char *fmt, bool put)
virtual ~XrdProofdAdmin()
std::list< XrdOucString > fExportPaths
XrdOucHash< XpdAdminCpCmd > fAllowedCpCmds
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e