![]() |
XRootD
|
#include <XrdPfcFSctl.hh>
Public Member Functions | |
XrdPfcFSctl (XrdPfc::Cache &cInst, XrdSysLogger *logP) | |
Constructor. More... | |
virtual | ~XrdPfcFSctl () |
Destructor. More... | |
virtual bool | Configure (const char *CfgFN, const char *Parms, XrdOucEnv *envP, const Plugins &plugs) override |
virtual int | FSctl (const int cmd, int alen, const char *args, XrdSfsFile &file, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) override |
virtual int | FSctl (const int cmd, XrdSfsFSctl &args, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) override |
![]() | |
XrdOfsFSctl_PI () | |
Constructor. More... | |
virtual | ~XrdOfsFSctl_PI () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
XrdSysError * | eDest |
XrdOfsFSctl_PI * | prvPI |
Definition at line 46 of file XrdPfcFSctl.hh.
XrdPfcFSctl::XrdPfcFSctl | ( | XrdPfc::Cache & | cInst, |
XrdSysLogger * | logP | ||
) |
|
inlinevirtual |
|
overridevirtual |
Configure plugin.
CfgFN | - Path of the configuration file. |
Parms | - Any parameters specified on the directive (may be null). |
envP | - Pointer to environmental information |
plugs | - Reference to the struct containing plugin pointers. Unloaded plugins have a nil pointer. |
Reimplemented from XrdOfsFSctl_PI.
Definition at line 57 of file XrdPfcFSctl.cc.
References XrdProxy::envP, and XrdOucEnv::GetPtr().
|
overridevirtual |
Perform a file control operation
cmd | - The operation to be performed: SFS_FCTL_SPEC1 Return Implementation Dependent Data |
alen | - The length of args. |
args | - Arguments specific to cmd. SFS_FCTL_SPEC1 Unscreened args string. |
file | - Reference to the target file object. |
eInfo | - The object where error info or results are to be returned. |
client | - Client's identify (see common description). |
Implements XrdOfsFSctl_PI.
Definition at line 72 of file XrdPfcFSctl.cc.
References XrdOucErrInfo::setErrInfo(), and SFS_ERROR.
|
overridevirtual |
Perform a filesystem control operation (version 2)
cmd | - The operation to be performed: SFS_FSCTL_PLUGIN Return Implementation Dependent Data v1 SFS_FSCTL_PLUGIO Return Implementation Dependent Data v2 |
args | - Arguments specific to cmd. SFS_FSCTL_PLUGIN path and opaque information, fileP == 0 SFS_FSCTL_PLUGIO Unscreened argument string, fileP == 0 |
eInfo | - The object where error info or results are to be returned. |
client | - Client's identify (see common description). |
Implements XrdOfsFSctl_PI.
Definition at line 87 of file XrdPfcFSctl.cc.
References XrdSfsFSctl::Arg1, XrdSfsFSctl::Arg1Len, XrdSfsFSctl::Arg2Len, XrdPfc::Cache::ConsiderCached(), ec, ETIME, XrdOfsHandle::Hide(), Info, XrdOucErrInfo::setErrInfo(), SFS_ERROR, SFS_FSCTL_PLUGXC, SFS_OK, TRACE, and XrdPfc::Cache::UnlinkFile().