XRootD
XrdOssWrapper Class Reference

#include <XrdOssWrapper.hh>

+ Inheritance diagram for XrdOssWrapper:
+ Collaboration diagram for XrdOssWrapper:

Public Member Functions

 XrdOssWrapper (XrdOss &ossRef)
 
virtual ~XrdOssWrapper ()
 
virtual int Chmod (const char *path, mode_t mode, XrdOucEnv *envP=0)
 
virtual void Connect (XrdOucEnv &env)
 
virtual int Create (const char *tid, const char *path, mode_t mode, XrdOucEnv &env, int opts=0)
 
virtual void Disc (XrdOucEnv &env)
 
virtual void EnvInfo (XrdOucEnv *envP)
 
virtual uint64_t Features ()
 
virtual int FSctl (int cmd, int alen, const char *args, char **resp=0)
 
virtual int Init (XrdSysLogger *lp, const char *cfn)
 
virtual int Init (XrdSysLogger *lp, const char *cfn, XrdOucEnv *envP)
 
virtual int Lfn2Pfn (const char *Path, char *buff, int blen)
 
virtual const char * Lfn2Pfn (const char *Path, char *buff, int blen, int &rc)
 
virtual int Mkdir (const char *path, mode_t mode, int mkpath=0, XrdOucEnv *envP=0)
 
virtual XrdOssDFnewDir (const char *tident)
 
virtual XrdOssDFnewFile (const char *tident)
 
virtual int Reloc (const char *tident, const char *path, const char *cgName, const char *anchor=0)
 
virtual int Remdir (const char *path, int Opts=0, XrdOucEnv *envP=0)
 
virtual int Rename (const char *oPath, const char *nPath, XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)
 
virtual int Stat (const char *path, struct stat *buff, int opts=0, XrdOucEnv *envP=0)
 
virtual int StatFS (const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
 
virtual int StatLS (XrdOucEnv &env, const char *path, char *buff, int &blen)
 
virtual int StatPF (const char *path, struct stat *buff)
 
virtual int StatPF (const char *path, struct stat *buff, int opts)
 
virtual int Stats (char *buff, int blen)
 
virtual int StatVS (XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
 
virtual int StatXA (const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
 
virtual int StatXP (const char *path, unsigned long long &attr, XrdOucEnv *envP=0)
 
virtual int Truncate (const char *path, unsigned long long fsize, XrdOucEnv *envP=0)
 
virtual int Unlink (const char *path, int Opts=0, XrdOucEnv *envP=0)
 
- Public Member Functions inherited from XrdOss
 XrdOss ()
 Constructor and Destructor. More...
 
virtual ~XrdOss ()
 

Protected Attributes

XrdOsswrapPI
 

Additional Inherited Members

- Static Public Attributes inherited from XrdOss
static const int PF_csVer = 0x00000001
 verified file checksums present More...
 
static const int PF_csVun = 0x00000002
 unverified file checksums present More...
 
static const int PF_dInfo = 0x00000001
 
static const int PF_dNums = 0x00000002
 
static const int PF_dStat = 0x00000008
 
static const int PF_isLFN = 0x00000004
 

Detailed Description

Definition at line 446 of file XrdOssWrapper.hh.

Constructor & Destructor Documentation

◆ XrdOssWrapper()

XrdOssWrapper::XrdOssWrapper ( XrdOss ossRef)
inline

Constructor and Destructor.

Parameters
ossRef- Reference to the Oss object being wrapped.
Note
: The object creator is responsible for deleting the ossRef object. The ref to this object is stored here and is accessible.

Definition at line 856 of file XrdOssWrapper.hh.

856 : wrapPI(ossRef) {}

◆ ~XrdOssWrapper()

virtual XrdOssWrapper::~XrdOssWrapper ( )
inlinevirtual

Definition at line 857 of file XrdOssWrapper.hh.

857 {}

Member Function Documentation

◆ Chmod()

virtual int XrdOssWrapper::Chmod ( const char *  path,
mode_t  mode,
XrdOucEnv envP = 0 
)
inlinevirtual

Change file mode settings.

Parameters
path- Pointer to the path of the file in question.
mode- The new file mode setting.
envP- Pointer to environmental information.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 484 of file XrdOssWrapper.hh.

485  {return wrapPI.Chmod(path, mode, envP);}
virtual int Chmod(const char *path, mode_t mode, XrdOucEnv *envP=0)=0
XrdOucEnv * envP
Definition: XrdPss.cc:109

References XrdOss::Chmod(), XrdProxy::envP, and wrapPI.

+ Here is the call graph for this function:

◆ Connect()

virtual void XrdOssWrapper::Connect ( XrdOucEnv env)
inlinevirtual

Notify storage system that a client has connected.

Parameters
env- Reference to environmental information.

Reimplemented from XrdOss.

Definition at line 493 of file XrdOssWrapper.hh.

493 {wrapPI.Connect(env);}
virtual void Connect(XrdOucEnv &env)
Definition: XrdOss.cc:42

References XrdOss::Connect(), and wrapPI.

+ Here is the call graph for this function:

◆ Create()

virtual int XrdOssWrapper::Create ( const char *  tid,
const char *  path,
mode_t  mode,
XrdOucEnv env,
int  opts = 0 
)
inlinevirtual

Create file.

Parameters
tid- Pointer to the trace identifier.
path- Pointer to the path of the file to create.
mode- The new file mode setting.
env- Reference to environmental information.
opts- Create options: XRDOSS_mkpath - create dir path if it does not exist. XRDOSS_new - the file must not already exist. oflags<<8 - open flags shifted 8 bits to the left/
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Definition at line 510 of file XrdOssWrapper.hh.

512  {return wrapPI.Create(tid, path, mode, env, opts);}
struct myOpts opts
virtual int Create(const char *tid, const char *path, mode_t mode, XrdOucEnv &env, int opts=0)=0

References XrdOss::Create(), opts, and wrapPI.

+ Here is the call graph for this function:

◆ Disc()

virtual void XrdOssWrapper::Disc ( XrdOucEnv env)
inlinevirtual

Notify storage system that a client has disconnected.

Parameters
env- Reference to environmental information.

Reimplemented from XrdOss.

Definition at line 520 of file XrdOssWrapper.hh.

520 {wrapPI.Disc(env);}
virtual void Disc(XrdOucEnv &env)
Definition: XrdOss.cc:48

References XrdOss::Disc(), and wrapPI.

+ Here is the call graph for this function:

◆ EnvInfo()

virtual void XrdOssWrapper::EnvInfo ( XrdOucEnv envP)
inlinevirtual

Notify storage system of initialization information (deprecated).

Parameters
envP- Pointer to environmental information.

Reimplemented from XrdOss.

Definition at line 528 of file XrdOssWrapper.hh.

528 {wrapPI.EnvInfo(envP);}
virtual void EnvInfo(XrdOucEnv *envP)
Definition: XrdOss.cc:54

References XrdOss::EnvInfo(), XrdProxy::envP, and wrapPI.

+ Here is the call graph for this function:

◆ Features()

virtual uint64_t XrdOssWrapper::Features ( )
inlinevirtual

Return storage system features.

Returns
Storage system features (see XRDOSS_HASxxx flags).

Reimplemented from XrdOss.

Definition at line 536 of file XrdOssWrapper.hh.

536 {return wrapPI.Features();}
virtual uint64_t Features()
Definition: XrdOss.cc:60

References XrdOss::Features(), and wrapPI.

+ Here is the call graph for this function:

◆ FSctl()

virtual int XrdOssWrapper::FSctl ( int  cmd,
int  alen,
const char *  args,
char **  resp = 0 
)
inlinevirtual

Execute a special storage system operation.

Parameters
cmd- The operation to be performed: XRDOSS_FSCTLFA - Perform proxy file attribute operation
alen- Length of data pointed to by args.
args- Data sent with request, zero if alen is zero.
resp- Where the response is to be set, if any.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Reimplemented from XrdOss.

Definition at line 550 of file XrdOssWrapper.hh.

551  {return wrapPI.FSctl(cmd, alen, args, resp);}
virtual int FSctl(int cmd, int alen, const char *args, char **resp=0)
Definition: XrdOss.cc:66

References XrdOss::FSctl(), and wrapPI.

+ Here is the call graph for this function:

◆ Init() [1/2]

virtual int XrdOssWrapper::Init ( XrdSysLogger lp,
const char *  cfn 
)
inlinevirtual

Initialize the storage system V1 (deprecated).

Parameters
lp- Pointer to the message logging object.
cfn- Pointer to the configuration file.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Definition at line 562 of file XrdOssWrapper.hh.

563  {return wrapPI.Init(lp, cfn);}
virtual int Init(XrdSysLogger *lp, const char *cfn)=0

References XrdOss::Init(), and wrapPI.

+ Here is the call graph for this function:

◆ Init() [2/2]

virtual int XrdOssWrapper::Init ( XrdSysLogger lp,
const char *  cfn,
XrdOucEnv envP 
)
inlinevirtual

Initialize the storage system V2.

Parameters
lp- Pointer to the message logging object.
cfn- Pointer to the configuration file.
envP- Pointer to environmental information.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Reimplemented from XrdOss.

Definition at line 575 of file XrdOssWrapper.hh.

576  {return wrapPI.Init(lp, cfn, envP);}

References XrdProxy::envP, XrdOss::Init(), and wrapPI.

+ Here is the call graph for this function:

◆ Lfn2Pfn() [1/2]

virtual int XrdOssWrapper::Lfn2Pfn ( const char *  Path,
char *  buff,
int  blen 
)
inlinevirtual

Translate logical name to physical name V1 (deprecated).

Parameters
Path- Path in whose information is wanted.
buff- Pointer to the buffer to hold the new path.
blen- Length of the buffer.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Reimplemented from XrdOss.

Definition at line 829 of file XrdOssWrapper.hh.

830  {return wrapPI.Lfn2Pfn(Path, buff, blen);}
XrdOucString Path
virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
Definition: XrdOss.hh:873

References XrdOss::Lfn2Pfn(), Path, and wrapPI.

+ Here is the call graph for this function:

◆ Lfn2Pfn() [2/2]

virtual const char* XrdOssWrapper::Lfn2Pfn ( const char *  Path,
char *  buff,
int  blen,
int &  rc 
)
inlinevirtual

Translate logical name to physical name V2.

Parameters
Path- Path in whose information is wanted.
buff- Pointer to the buffer to hold the new path.
blen- Length of the buffer.
rc- Place where failure return code is to be returned: -errno or -osserr (see XrdOssError.hh).
Returns
Pointer to the translated path upon success or nil on failure.

Reimplemented from XrdOss.

Definition at line 844 of file XrdOssWrapper.hh.

845  {return wrapPI.Lfn2Pfn(Path, buff, blen, rc);}

References XrdOss::Lfn2Pfn(), Path, and wrapPI.

+ Here is the call graph for this function:

◆ Mkdir()

virtual int XrdOssWrapper::Mkdir ( const char *  path,
mode_t  mode,
int  mkpath = 0,
XrdOucEnv envP = 0 
)
inlinevirtual

Create a directory.

Parameters
path- Pointer to the path of the directory to be created.
mode- The directory mode setting.
mkpath- When true the path is created if it does not exist.
envP- Pointer to environmental information.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Definition at line 589 of file XrdOssWrapper.hh.

591  {return wrapPI.Mkdir(path, mode, mkpath, envP);}
virtual int Mkdir(const char *path, mode_t mode, int mkpath=0, XrdOucEnv *envP=0)=0

References XrdProxy::envP, XrdOss::Mkdir(), and wrapPI.

+ Here is the call graph for this function:

◆ newDir()

virtual XrdOssDF* XrdOssWrapper::newDir ( const char *  tident)
inlinevirtual

Obtain a new director object to be used for future directory requests.

Parameters
tident- The trace identifier.
Returns
pointer- Pointer to a possibly wrapped XrdOssDF object.
nil - Insufficient memory to allocate an object.

Implements XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 459 of file XrdOssWrapper.hh.

460  {return wrapPI.newDir(tident);}
#define tident
virtual XrdOssDF * newDir(const char *tident)=0

References XrdOss::newDir(), tident, and wrapPI.

+ Here is the call graph for this function:

◆ newFile()

virtual XrdOssDF* XrdOssWrapper::newFile ( const char *  tident)
inlinevirtual

Obtain a new file object to be used for a future file requests.

Parameters
tident- The trace identifier.
Returns
pointer- Pointer to a possibly wrapped XrdOssDF object.
nil - Insufficient memory to allocate an object.

Implements XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 471 of file XrdOssWrapper.hh.

472  {return wrapPI.newFile(tident);}
virtual XrdOssDF * newFile(const char *tident)=0

References XrdOss::newFile(), tident, and wrapPI.

+ Here is the call graph for this function:

◆ Reloc()

virtual int XrdOssWrapper::Reloc ( const char *  tident,
const char *  path,
const char *  cgName,
const char *  anchor = 0 
)
inlinevirtual

Relocate/Copy the file at ‘path’ to a new location.

Parameters
tident- -> trace identifier for this operation.
path- -> fully qualified name of the file to relocate.
cgName- -> target space name[:path]
anchor- Processing directions (see XrdOssReloc.cc example).
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Reimplemented from XrdOss.

Definition at line 604 of file XrdOssWrapper.hh.

606  {return wrapPI.Reloc(tident,path,cgName,anchor);}
virtual int Reloc(const char *tident, const char *path, const char *cgName, const char *anchor=0)
Definition: XrdOss.cc:76

References XrdOss::Reloc(), tident, and wrapPI.

+ Here is the call graph for this function:

◆ Remdir()

virtual int XrdOssWrapper::Remdir ( const char *  path,
int  Opts = 0,
XrdOucEnv envP = 0 
)
inlinevirtual

Remove a directory.

Parameters
path- Pointer to the path of the directory to be removed.
Opts- The processing options: XRDOSS_Online - only remove online copy XRDOSS_isPFN - path is already translated.
envP- Pointer to environmental information.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Definition at line 620 of file XrdOssWrapper.hh.

621  {return wrapPI.Remdir(path, Opts, envP);}
virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)=0
int Opts
Definition: XrdMpxStats.cc:58

References XrdProxy::envP, XrdMpx::Opts, XrdOss::Remdir(), and wrapPI.

+ Here is the call graph for this function:

◆ Rename()

virtual int XrdOssWrapper::Rename ( const char *  oPath,
const char *  nPath,
XrdOucEnv oEnvP = 0,
XrdOucEnv nEnvP = 0 
)
inlinevirtual

Rename a file or directory.

Parameters
oPath- Pointer to the path to be renamed.
nPath- Pointer to the path oPath is to have.
oEnvP- Environmental information for oPath.
nEnvP- Environmental information for nPath.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 634 of file XrdOssWrapper.hh.

636  {return wrapPI.Rename(oPath, nPath, oEnvP, nEnvP);}
virtual int Rename(const char *oPath, const char *nPath, XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)=0

References XrdOss::Rename(), and wrapPI.

+ Here is the call graph for this function:

◆ Stat()

virtual int XrdOssWrapper::Stat ( const char *  path,
struct stat buff,
int  opts = 0,
XrdOucEnv envP = 0 
)
inlinevirtual

Return state information on a file or directory.

Parameters
path- Pointer to the path in question.
buff- Pointer to the structure where info it to be returned.
opts- Options: XRDOSS_preop - this is a stat prior to open. XRDOSS_resonly - only look for resident files. XRDOSS_updtatm - update file access time.
envP- Pointer to environmental information.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 652 of file XrdOssWrapper.hh.

654  {return wrapPI.Stat(path, buff, opts, envP);}
virtual int Stat(const char *path, struct stat *buff, int opts=0, XrdOucEnv *envP=0)=0

References XrdProxy::envP, opts, XrdOss::Stat(), and wrapPI.

+ Here is the call graph for this function:

◆ StatFS()

virtual int XrdOssWrapper::StatFS ( const char *  path,
char *  buff,
int &  blen,
XrdOucEnv envP = 0 
)
inlinevirtual

Return filesystem physical space information associated with a path.

Parameters
path- Path in the partition in question.
buff- Pointer to the buffer to hold the information.
blen- Length of the buffer. This is updated with the actual number of bytes placed in the buffer as in snprintf().
envP- Pointer to environmental information.
Returns
"<wval> <fsp> <utl> <sval> <fsp> <utl>" where: <wval> is "0" if XRDEXP_NOTRW specified, otherwise "1" <fsp> is free space in megabytes. <utl> is percentage utilization (i.e. allocated space) <sval> is "1' if XRDEXP_STAGE specified, otherwise "0" Upon failure -errno or -osserr (see XrdOssError.hh) returned.

Reimplemented from XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 685 of file XrdOssWrapper.hh.

687  {return wrapPI.StatFS(path, buff, blen, envP);}
virtual int StatFS(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
Definition: XrdOss.cc:87

References XrdProxy::envP, XrdOss::StatFS(), and wrapPI.

+ Here is the call graph for this function:

◆ StatLS()

virtual int XrdOssWrapper::StatLS ( XrdOucEnv env,
const char *  path,
char *  buff,
int &  blen 
)
inlinevirtual

Return filesystem physical space information associated with a space name.

Parameters
env- Ref to environmental information. If the environment has the key oss.cgroup defined, the associated value is used as the space name and the path is ignored.
path- Path in the name space in question. The space name associated with gthe path is used unless overridden.
buff- Pointer to the buffer to hold the information.
blen- Length of the buffer. This is updated with the actual number of bytes placed in the buffer as in snprintf().
Returns
"oss.cgroup=<name>&oss.space=<totbytes>&oss.free=<freebytes> &oss.maxf=<maxcontigbytes>&oss.used=<bytesused> &oss.quota=<quotabytes>" in buff upon success. Upon failure -errno or -osserr (see XrdOssError.hh) returned.

Reimplemented from XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 707 of file XrdOssWrapper.hh.

709  {return wrapPI.StatLS(env, path, buff, blen);}
virtual int StatLS(XrdOucEnv &env, const char *path, char *buff, int &blen)
Definition: XrdOss.cc:97

References XrdOss::StatLS(), and wrapPI.

+ Here is the call graph for this function:

◆ StatPF() [1/2]

virtual int XrdOssWrapper::StatPF ( const char *  path,
struct stat buff 
)
inlinevirtual

Reimplemented from XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 734 of file XrdOssWrapper.hh.

735  {return wrapPI.StatPF(path, buff);}
virtual int StatPF(const char *path, struct stat *buff, int opts)
Definition: XrdOss.cc:107

References XrdOss::StatPF(), and wrapPI.

+ Here is the call graph for this function:

◆ StatPF() [2/2]

virtual int XrdOssWrapper::StatPF ( const char *  path,
struct stat buff,
int  opts 
)
inlinevirtual

Return state information on a resident physical file or directory.

Parameters
path- Pointer to the path in question.
buff- Pointer to the structure where info it to be returned.
opts- Options: PF_dInfo - provide bdevID in st_rdev and partID in st_dev based on path. If path is nil then the contents of the of buff is used as the input source. PF_dNums - provide number of bdev's in st_rdev and the number of partitions in st_dev. The path argument is ignored. This superceeds PF_dInfo. PF_dStat - provide file state flags in st_rdev as shown below. Path may not be nil. This supercedes PF_dInfo and PF_dNums. PF_isLFN - Do N2N translation on path (default is none).
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Reimplemented from XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 731 of file XrdOssWrapper.hh.

732  {return wrapPI.StatPF(path, buff, opts);}

References opts, XrdOss::StatPF(), and wrapPI.

+ Here is the call graph for this function:

◆ Stats()

virtual int XrdOssWrapper::Stats ( char *  buff,
int  blen 
)
inlinevirtual

Return statistics.

Parameters
buff- Pointer to the buffer to hold statistics.
blen- Length of the buffer.
Returns
The number of bytes placed in the buffer excluding null byte.

Reimplemented from XrdOss.

Definition at line 665 of file XrdOssWrapper.hh.

666  {return wrapPI.Stats(buff, blen);}
virtual int Stats(char *buff, int blen)
Definition: XrdOss.hh:707

References XrdOss::Stats(), and wrapPI.

+ Here is the call graph for this function:

◆ StatVS()

virtual int XrdOssWrapper::StatVS ( XrdOssVSInfo vsP,
const char *  sname = 0,
int  updt = 0 
)
inlinevirtual

Return space information for a space name.

Parameters
vsP- Pointer to the XrdOssVSInfo object to hold results. It should be fully initialized (i.e. a new copy).
sname- Pointer to the space name. If the name starts with a plus (e.g. "+public"), partition information is returned, should it exist. If nil, space information for all spaces is returned. See, XrdOssVS.hh for more info.
updt- When true, a space update occurrs prior to a query.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Reimplemented from XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 751 of file XrdOssWrapper.hh.

752  {return wrapPI.StatVS(vsP, sname, updt);}
virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
Definition: XrdOss.cc:117

References XrdOss::StatVS(), and wrapPI.

+ Here is the call graph for this function:

◆ StatXA()

virtual int XrdOssWrapper::StatXA ( const char *  path,
char *  buff,
int &  blen,
XrdOucEnv envP = 0 
)
inlinevirtual

Return logical extended attributes associated with a path.

Parameters
path- Path in whose information is wanted.
buff- Pointer to the buffer to hold the information.
blen- Length of the buffer. This is updated with the actual number of bytes placed in the buffer as in snprintf().
envP- Pointer to environmental information.
Returns
"oss.cgroup=<name>&oss.type={'f'|'d'|'o'}&oss.used=<totbytes> &oss.mt=<mtime>&oss.ct=<ctime>&oss.at=<atime>&oss.u=*&oss.g=* &oss.fs={'w'|'r'}" Upon failure -errno or -osserr (see XrdOssError.hh) returned.

Reimplemented from XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 769 of file XrdOssWrapper.hh.

771  {return wrapPI.StatXA(path, buff, blen, envP);}
virtual int StatXA(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
Definition: XrdOss.cc:127

References XrdProxy::envP, XrdOss::StatXA(), and wrapPI.

+ Here is the call graph for this function:

◆ StatXP()

virtual int XrdOssWrapper::StatXP ( const char *  path,
unsigned long long &  attr,
XrdOucEnv envP = 0 
)
inlinevirtual

Return export attributes associated with a path.

Parameters
path- Path in whose information is wanted.
attr- Reference to where the inforamation is to be stored.
envP- Pointer to environmental information.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Reimplemented from XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 783 of file XrdOssWrapper.hh.

785  {return wrapPI.StatXP(path, attr, envP);}
virtual int StatXP(const char *path, unsigned long long &attr, XrdOucEnv *envP=0)
Definition: XrdOss.cc:137

References XrdProxy::envP, XrdOss::StatXP(), and wrapPI.

+ Here is the call graph for this function:

◆ Truncate()

virtual int XrdOssWrapper::Truncate ( const char *  path,
unsigned long long  fsize,
XrdOucEnv envP = 0 
)
inlinevirtual

Truncate a file.

Parameters
path- Pointer to the path of the file to be truncated.
fsize- The size that the file is to have.
envP- Pointer to environmental information.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 797 of file XrdOssWrapper.hh.

799  {return wrapPI.Truncate(path, fsize, envP);}
virtual int Truncate(const char *path, unsigned long long fsize, XrdOucEnv *envP=0)=0

References XrdProxy::envP, XrdOss::Truncate(), and wrapPI.

+ Here is the call graph for this function:

◆ Unlink()

virtual int XrdOssWrapper::Unlink ( const char *  path,
int  Opts = 0,
XrdOucEnv envP = 0 
)
inlinevirtual

Remove a file.

Parameters
path- Pointer to the path of the file to be removed.
Opts- Options: XRDOSS_isMIG - this is a migratable path. XRDOSS_isPFN - do not apply name2name to path. XRDOSS_Online - remove only the online copy.
envP- Pointer to environmental information.
Returns
0 upon success or -errno or -osserr (see XrdOssError.hh).

Implements XrdOss.

Reimplemented in StatsFileSystem.

Definition at line 814 of file XrdOssWrapper.hh.

815  {return wrapPI.Unlink(path, Opts, envP);}
virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)=0

References XrdProxy::envP, XrdMpx::Opts, XrdOss::Unlink(), and wrapPI.

+ Here is the call graph for this function:

Member Data Documentation

◆ wrapPI


The documentation for this class was generated from the following file: