xrootd
Loading...
Searching...
No Matches
XrdOssWrapper.hh
Go to the documentation of this file.
1#ifndef _XRDOSSWRAPPER_H
2#define _XRDOSSWRAPPER_H
3/******************************************************************************/
4/* */
5/* X r d O s s W r a p p e r . h h */
6/* */
7/* (c) 2020 by the Board of Trustees of the Leland Stanford, Jr., University */
8/* All Rights Reserved */
9/* Produced by Andrew Hanushevsky for Stanford University under contract */
10/* DE-AC02-76-SFO0515 with the Department of Energy */
11/* */
12/* This file is part of the XRootD software suite. */
13/* */
14/* XRootD is free software: you can redistribute it and/or modify it under */
15/* the terms of the GNU Lesser General Public License as published by the */
16/* Free Software Foundation, either version 3 of the License, or (at your */
17/* option) any later version. */
18/* */
19/* XRootD is distributed in the hope that it will be useful, but WITHOUT */
20/* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
21/* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
22/* License for more details. */
23/* */
24/* You should have received a copy of the GNU Lesser General Public License */
25/* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */
26/* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */
27/* */
28/* The copyright holder's institutional names and contributor's names may not */
29/* be used to endorse or promote products derived from this software without */
30/* specific prior written permission of the institution or contributor. */
31/******************************************************************************/
32
33#include "XrdOss/XrdOss.hh"
34
35/******************************************************************************/
42/******************************************************************************/
43
44/******************************************************************************/
45/* C l a s s X r d O s s W r a p D F */
46/******************************************************************************/
47
51
52class XrdOssWrapDF : public XrdOssDF
53{
54public:
55
56/******************************************************************************/
57/* D i r e c t o r y O r i e n t e d M e t h o d s */
58/******************************************************************************/
59
60//-----------------------------------------------------------------------------
67//-----------------------------------------------------------------------------
68
69virtual int Opendir(const char *path, XrdOucEnv &env)
70 {return wrapDF.Opendir(path, env);}
71
72//-----------------------------------------------------------------------------
81//-----------------------------------------------------------------------------
82
83virtual int Readdir(char *buff, int blen)
84 {return wrapDF.Readdir(buff, blen);}
85
86//-----------------------------------------------------------------------------
95//-----------------------------------------------------------------------------
96
97virtual int StatRet(struct stat *Stat) {return wrapDF.StatRet(Stat);}
98
99/******************************************************************************/
100/* F i l e O r i e n t e d M e t h o d s */
101/******************************************************************************/
102//-----------------------------------------------------------------------------
108//-----------------------------------------------------------------------------
109
110virtual int Fchmod(mode_t mode) {return wrapDF.Fchmod(mode);}
111
112//-----------------------------------------------------------------------------
114//-----------------------------------------------------------------------------
115
116virtual void Flush() {wrapDF.Flush();}
117
118//-----------------------------------------------------------------------------
124//-----------------------------------------------------------------------------
125
126virtual int Fstat(struct stat *buf) {return wrapDF.Fstat(buf);}
127
128//-----------------------------------------------------------------------------
132//-----------------------------------------------------------------------------
133
134virtual int Fsync() {return wrapDF.Fsync();}
135
136//-----------------------------------------------------------------------------
142//-----------------------------------------------------------------------------
143
144virtual int Fsync(XrdSfsAio *aiop) {return wrapDF.Fsync(aiop);}
145
146//-----------------------------------------------------------------------------
152//-----------------------------------------------------------------------------
153
154virtual int Ftruncate(unsigned long long flen)
155 {return wrapDF.Ftruncate(flen);}
156
157//-----------------------------------------------------------------------------
165//-----------------------------------------------------------------------------
166
167virtual off_t getMmap(void **addr) {return wrapDF.getMmap(addr);}
168
169//-----------------------------------------------------------------------------
176//-----------------------------------------------------------------------------
177
178virtual int isCompressed(char *cxidp=0) {return wrapDF.isCompressed(cxidp);}
179
180//-----------------------------------------------------------------------------
189//-----------------------------------------------------------------------------
190
191virtual int Open(const char *path, int Oflag, mode_t Mode, XrdOucEnv &env)
192 {return wrapDF.Open(path, Oflag, Mode, env);}
193
194//-----------------------------------------------------------------------------
209//-----------------------------------------------------------------------------
210
211virtual ssize_t pgRead (void* buffer, off_t offset, size_t rdlen,
212 uint32_t* csvec, uint64_t opts)
213 {return wrapDF.pgRead(buffer,offset,rdlen,csvec,opts);}
214
215//-----------------------------------------------------------------------------
223//-----------------------------------------------------------------------------
224
225virtual int pgRead (XrdSfsAio* aioparm, uint64_t opts)
226 {return wrapDF.pgRead(aioparm, opts);}
227
228//-----------------------------------------------------------------------------
245//-----------------------------------------------------------------------------
246
247virtual ssize_t pgWrite(void* buffer, off_t offset, size_t wrlen,
248 uint32_t* csvec, uint64_t opts)
249 {return wrapDF.pgWrite(buffer,offset,wrlen,csvec,opts);}
250
251//-----------------------------------------------------------------------------
259//-----------------------------------------------------------------------------
260
261virtual int pgWrite(XrdSfsAio* aioparm, uint64_t opts)
262 {return wrapDF.pgWrite(aioparm, opts);}
263
264//-----------------------------------------------------------------------------
271//-----------------------------------------------------------------------------
272
273virtual ssize_t Read(off_t offset, size_t size)
274 {return wrapDF.Read(offset, size);}
275
276//-----------------------------------------------------------------------------
285//-----------------------------------------------------------------------------
286
287virtual ssize_t Read(void *buffer, off_t offset, size_t size)
288 {return wrapDF.Read(buffer, offset, size);}
289
290//-----------------------------------------------------------------------------
297//-----------------------------------------------------------------------------
298
299virtual int Read(XrdSfsAio *aiop) {return wrapDF.Read(aiop);}
300
301//-----------------------------------------------------------------------------
310//-----------------------------------------------------------------------------
311
312virtual ssize_t ReadRaw(void *buffer, off_t offset, size_t size)
313 {return wrapDF.ReadRaw(buffer, offset, size);}
314
315//-----------------------------------------------------------------------------
323//-----------------------------------------------------------------------------
324
325virtual ssize_t ReadV(XrdOucIOVec *readV, int rdvcnt)
326 {return wrapDF.ReadV(readV, rdvcnt);}
327
328//-----------------------------------------------------------------------------
337//-----------------------------------------------------------------------------
338
339virtual ssize_t Write(const void *buffer, off_t offset, size_t size)
340 {return wrapDF.Write(buffer, offset, size);}
341
342//-----------------------------------------------------------------------------
349//-----------------------------------------------------------------------------
350
351virtual int Write(XrdSfsAio *aiop) {return wrapDF.Write(aiop);}
352
353//-----------------------------------------------------------------------------
361//-----------------------------------------------------------------------------
362
363virtual ssize_t WriteV(XrdOucIOVec *writeV, int wrvcnt)
364 {return wrapDF.WriteV(writeV, wrvcnt);}
365
366/******************************************************************************/
367/* C o m m o n D i r e c t o r y a n d F i l e M e t h o d s */
368/******************************************************************************/
369//-----------------------------------------------------------------------------
375//-----------------------------------------------------------------------------
376
377virtual int Close(long long *retsz=0) {return wrapDF.Close(retsz);}
378
379//-----------------------------------------------------------------------------
383//-----------------------------------------------------------------------------
384
385uint16_t DFType() {return wrapDF.DFType();}
386
387//-----------------------------------------------------------------------------
402//-----------------------------------------------------------------------------
403
404virtual int Fctl(int cmd, int alen, const char *args, char **resp=0)
405 {return wrapDF.Fctl(cmd, alen, args, resp);}
406
407//-----------------------------------------------------------------------------
411//-----------------------------------------------------------------------------
412
413virtual int getFD() {return wrapDF.getFD();}
414
415//-----------------------------------------------------------------------------
419//-----------------------------------------------------------------------------
420virtual
421const char *getTID() {return wrapDF.getTID();}
422
423//-----------------------------------------------------------------------------
430//-----------------------------------------------------------------------------
431
432 XrdOssWrapDF(XrdOssDF &df2Wrap) : wrapDF(df2Wrap) {}
433
434virtual ~XrdOssWrapDF() {}
435
436
437protected:
438
439XrdOssDF &wrapDF; // Object being wrapped
440};
441
442/******************************************************************************/
443/* C l a s s X r d O s s W r a p p e r */
444/******************************************************************************/
445
446class XrdOssWrapper : public XrdOss
447{
448public:
449
450//-----------------------------------------------------------------------------
457//-----------------------------------------------------------------------------
458
459virtual XrdOssDF *newDir(const char *tident)
460 {return wrapPI.newDir(tident);}
461
462//-----------------------------------------------------------------------------
469//-----------------------------------------------------------------------------
470
471virtual XrdOssDF *newFile(const char *tident)
472 {return wrapPI.newFile(tident);}
473
474//-----------------------------------------------------------------------------
482//-----------------------------------------------------------------------------
483
484virtual int Chmod(const char * path, mode_t mode, XrdOucEnv *envP=0)
485 {return wrapPI.Chmod(path, mode, envP);}
486
487//-----------------------------------------------------------------------------
491//-----------------------------------------------------------------------------
492
493virtual void Connect(XrdOucEnv &env) {wrapPI.Connect(env);}
494
495//-----------------------------------------------------------------------------
508//-----------------------------------------------------------------------------
509
510virtual int Create(const char *tid, const char *path, mode_t mode,
511 XrdOucEnv &env, int opts=0)
512 {return wrapPI.Create(tid, path, mode, env);}
513
514//-----------------------------------------------------------------------------
518//-----------------------------------------------------------------------------
519
520virtual void Disc(XrdOucEnv &env) {wrapPI.Disc(env);}
521
522//-----------------------------------------------------------------------------
526//-----------------------------------------------------------------------------
527
528virtual void EnvInfo(XrdOucEnv *envP) {wrapPI.EnvInfo(envP);}
529
530//-----------------------------------------------------------------------------
534//-----------------------------------------------------------------------------
535
536virtual uint64_t Features() {return wrapPI.Features();}
537
538//-----------------------------------------------------------------------------
548//-----------------------------------------------------------------------------
549
550virtual int FSctl(int cmd, int alen, const char *args, char **resp=0)
551 {return wrapPI.FSctl(cmd, alen, args, resp);}
552
553//-----------------------------------------------------------------------------
560//-----------------------------------------------------------------------------
561
562virtual int Init(XrdSysLogger *lp, const char *cfn)
563 {return wrapPI.Init(lp, cfn);}
564
565//-----------------------------------------------------------------------------
573//-----------------------------------------------------------------------------
574
575virtual int Init(XrdSysLogger *lp, const char *cfn, XrdOucEnv *envP)
576 {return wrapPI.Init(lp, cfn, envP);}
577
578//-----------------------------------------------------------------------------
587//-----------------------------------------------------------------------------
588
589virtual int Mkdir(const char *path, mode_t mode, int mkpath=0,
590 XrdOucEnv *envP=0)
591 {return wrapPI.Mkdir(path, mode, mkpath, envP);}
592
593//-----------------------------------------------------------------------------
602//-----------------------------------------------------------------------------
603
604virtual int Reloc(const char *tident, const char *path,
605 const char *cgName, const char *anchor=0)
606 {return wrapPI.Reloc(tident,path,cgName,anchor);}
607
608//-----------------------------------------------------------------------------
618//-----------------------------------------------------------------------------
619
620virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)
621 {return wrapPI.Remdir(path, Opts, envP);}
622
623//-----------------------------------------------------------------------------
632//-----------------------------------------------------------------------------
633
634virtual int Rename(const char *oPath, const char *nPath,
635 XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)
636 {return wrapPI.Rename(oPath, nPath, oEnvP, nEnvP);}
637
638//-----------------------------------------------------------------------------
650//-----------------------------------------------------------------------------
651
652virtual int Stat(const char *path, struct stat *buff,
653 int opts=0, XrdOucEnv *envP=0)
654 {return wrapPI.Stat(path, buff, opts, envP);}
655
656//-----------------------------------------------------------------------------
663//-----------------------------------------------------------------------------
664
665virtual int Stats(char *buff, int blen)
666 {return wrapPI.Stats(buff, blen);}
667
668//-----------------------------------------------------------------------------
683//-----------------------------------------------------------------------------
684
685virtual int StatFS(const char *path, char *buff, int &blen,
686 XrdOucEnv *envP=0)
687 {return wrapPI.StatFS(path, buff, blen, envP);}
688
689//-----------------------------------------------------------------------------
705//-----------------------------------------------------------------------------
706
707virtual int StatLS(XrdOucEnv &env, const char *path,
708 char *buff, int &blen)
709 {return wrapPI.StatLS(env, path, buff, blen);}
710
711//-----------------------------------------------------------------------------
729//-----------------------------------------------------------------------------
730
731virtual int StatPF(const char *path, struct stat *buff, int opts)
732 {return wrapPI.StatPF(path, buff, opts);}
733
734virtual int StatPF(const char *path, struct stat *buff)
735 {return wrapPI.StatPF(path, buff);}
736
737//-----------------------------------------------------------------------------
749//-----------------------------------------------------------------------------
750
751virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
752 {return wrapPI.StatVS(vsP, sname, updt);}
753
754//-----------------------------------------------------------------------------
767//-----------------------------------------------------------------------------
768
769virtual int StatXA(const char *path, char *buff, int &blen,
770 XrdOucEnv *envP=0)
771 {return wrapPI.StatXA(path, buff, blen, envP);}
772
773//-----------------------------------------------------------------------------
781//-----------------------------------------------------------------------------
782
783virtual int StatXP(const char *path, unsigned long long &attr,
784 XrdOucEnv *envP=0)
785 {return wrapPI.StatXP(path, attr, envP);}
786
787//-----------------------------------------------------------------------------
795//-----------------------------------------------------------------------------
796
797virtual int Truncate(const char *path, unsigned long long fsize,
798 XrdOucEnv *envP=0)
799 {return wrapPI.Truncate(path, fsize, envP);}
800
801//-----------------------------------------------------------------------------
812//-----------------------------------------------------------------------------
813
814virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)
815 {return wrapPI.Unlink(path, Opts, envP);}
816
817 // Default Name-to-Name Methods
818
819//-----------------------------------------------------------------------------
827//-----------------------------------------------------------------------------
828
829virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
830 {return wrapPI.Lfn2Pfn(Path, buff, blen);}
831
832//-----------------------------------------------------------------------------
842//-----------------------------------------------------------------------------
843virtual
844const char *Lfn2Pfn(const char *Path, char *buff, int blen, int &rc)
845 {return wrapPI.Lfn2Pfn(Path, buff, blen, rc);}
846
847//-----------------------------------------------------------------------------
854//-----------------------------------------------------------------------------
855
856 XrdOssWrapper(XrdOss &ossRef) : wrapPI(ossRef) {}
857virtual ~XrdOssWrapper() {}
858
859protected:
860
862};
863#endif
#define stat(a, b)
Definition XrdPosix.hh:96
Definition XrdOss.hh:63
virtual int Fsync()
Definition XrdOss.hh:144
virtual int StatRet(struct stat *buff)
Definition XrdOss.hh:107
virtual int isCompressed(char *cxidp=0)
Definition XrdOss.hh:187
virtual int Opendir(const char *path, XrdOucEnv &env)
Definition XrdOss.hh:79
virtual const char * getTID()
Definition XrdOss.hh:434
virtual int Ftruncate(unsigned long long flen)
Definition XrdOss.hh:164
virtual int Readdir(char *buff, int blen)
Definition XrdOss.hh:92
virtual int Fstat(struct stat *buf)
Definition XrdOss.hh:136
virtual ssize_t ReadV(XrdOucIOVec *readV, int rdvcnt)
virtual ssize_t ReadRaw(void *buffer, off_t offset, size_t size)
Definition XrdOss.hh:319
virtual ssize_t WriteV(XrdOucIOVec *writeV, int wrvcnt)
virtual int Close(long long *retsz=0)=0
virtual int getFD()
Definition XrdOss.hh:426
virtual int Open(const char *path, int Oflag, mode_t Mode, XrdOucEnv &env)
Definition XrdOss.hh:200
virtual ssize_t Read(off_t offset, size_t size)
Definition XrdOss.hh:281
virtual ssize_t pgWrite(void *buffer, off_t offset, size_t wrlen, uint32_t *csvec, uint64_t opts)
virtual int Fchmod(mode_t mode)
Definition XrdOss.hh:120
virtual int Fctl(int cmd, int alen, const char *args, char **resp=0)
virtual ssize_t pgRead(void *buffer, off_t offset, size_t rdlen, uint32_t *csvec, uint64_t opts)
virtual void Flush()
Flush filesystem cached pages for this file (used for checksums).
Definition XrdOss.hh:126
virtual off_t getMmap(void **addr)
Definition XrdOss.hh:176
uint16_t DFType()
Definition XrdOss.hh:396
virtual ssize_t Write(const void *buffer, off_t offset, size_t size)
Definition XrdOss.hh:345
Definition XrdOssVS.hh:88
Definition XrdOssWrapper.hh:53
virtual int Readdir(char *buff, int blen)
Definition XrdOssWrapper.hh:83
virtual int Fsync(XrdSfsAio *aiop)
Definition XrdOssWrapper.hh:144
virtual int pgRead(XrdSfsAio *aioparm, uint64_t opts)
Definition XrdOssWrapper.hh:225
virtual int StatRet(struct stat *Stat)
Definition XrdOssWrapper.hh:97
virtual int Fchmod(mode_t mode)
Definition XrdOssWrapper.hh:110
virtual int getFD()
Definition XrdOssWrapper.hh:413
virtual int Fsync()
Definition XrdOssWrapper.hh:134
virtual int Read(XrdSfsAio *aiop)
Definition XrdOssWrapper.hh:299
uint16_t DFType()
Definition XrdOssWrapper.hh:385
virtual ~XrdOssWrapDF()
Definition XrdOssWrapper.hh:434
virtual int isCompressed(char *cxidp=0)
Definition XrdOssWrapper.hh:178
virtual ssize_t Read(off_t offset, size_t size)
Definition XrdOssWrapper.hh:273
virtual void Flush()
Flush filesystem cached pages for this file (used for checksums).
Definition XrdOssWrapper.hh:116
virtual int Write(XrdSfsAio *aiop)
Definition XrdOssWrapper.hh:351
virtual const char * getTID()
Definition XrdOssWrapper.hh:421
virtual ssize_t Write(const void *buffer, off_t offset, size_t size)
Definition XrdOssWrapper.hh:339
virtual int Open(const char *path, int Oflag, mode_t Mode, XrdOucEnv &env)
Definition XrdOssWrapper.hh:191
virtual int Close(long long *retsz=0)
Definition XrdOssWrapper.hh:377
virtual ssize_t pgRead(void *buffer, off_t offset, size_t rdlen, uint32_t *csvec, uint64_t opts)
Definition XrdOssWrapper.hh:211
virtual int Opendir(const char *path, XrdOucEnv &env)
Definition XrdOssWrapper.hh:69
virtual int pgWrite(XrdSfsAio *aioparm, uint64_t opts)
Definition XrdOssWrapper.hh:261
XrdOssDF & wrapDF
Definition XrdOssWrapper.hh:439
virtual ssize_t Read(void *buffer, off_t offset, size_t size)
Definition XrdOssWrapper.hh:287
virtual ssize_t WriteV(XrdOucIOVec *writeV, int wrvcnt)
Definition XrdOssWrapper.hh:363
virtual int Fstat(struct stat *buf)
Definition XrdOssWrapper.hh:126
XrdOssWrapDF(XrdOssDF &df2Wrap)
Definition XrdOssWrapper.hh:432
virtual int Ftruncate(unsigned long long flen)
Definition XrdOssWrapper.hh:154
virtual ssize_t ReadRaw(void *buffer, off_t offset, size_t size)
Definition XrdOssWrapper.hh:312
virtual ssize_t pgWrite(void *buffer, off_t offset, size_t wrlen, uint32_t *csvec, uint64_t opts)
Definition XrdOssWrapper.hh:247
virtual ssize_t ReadV(XrdOucIOVec *readV, int rdvcnt)
Definition XrdOssWrapper.hh:325
virtual off_t getMmap(void **addr)
Definition XrdOssWrapper.hh:167
virtual int Fctl(int cmd, int alen, const char *args, char **resp=0)
Definition XrdOssWrapper.hh:404
Definition XrdOssWrapper.hh:447
virtual int Mkdir(const char *path, mode_t mode, int mkpath=0, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:589
virtual const char * Lfn2Pfn(const char *Path, char *buff, int blen, int &rc)
Definition XrdOssWrapper.hh:844
virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
Definition XrdOssWrapper.hh:751
virtual int StatXA(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:769
virtual int Stats(char *buff, int blen)
Definition XrdOssWrapper.hh:665
virtual int Init(XrdSysLogger *lp, const char *cfn)
Definition XrdOssWrapper.hh:562
virtual void Disc(XrdOucEnv &env)
Definition XrdOssWrapper.hh:520
virtual int StatLS(XrdOucEnv &env, const char *path, char *buff, int &blen)
Definition XrdOssWrapper.hh:707
virtual void EnvInfo(XrdOucEnv *envP)
Definition XrdOssWrapper.hh:528
XrdOssWrapper(XrdOss &ossRef)
Definition XrdOssWrapper.hh:856
virtual void Connect(XrdOucEnv &env)
Definition XrdOssWrapper.hh:493
virtual int FSctl(int cmd, int alen, const char *args, char **resp=0)
Definition XrdOssWrapper.hh:550
virtual int Reloc(const char *tident, const char *path, const char *cgName, const char *anchor=0)
Definition XrdOssWrapper.hh:604
virtual int Chmod(const char *path, mode_t mode, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:484
virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
Definition XrdOssWrapper.hh:829
virtual int StatXP(const char *path, unsigned long long &attr, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:783
virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:814
virtual int Create(const char *tid, const char *path, mode_t mode, XrdOucEnv &env, int opts=0)
Definition XrdOssWrapper.hh:510
virtual XrdOssDF * newDir(const char *tident)
Definition XrdOssWrapper.hh:459
virtual int Stat(const char *path, struct stat *buff, int opts=0, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:652
virtual int StatPF(const char *path, struct stat *buff)
Definition XrdOssWrapper.hh:734
virtual int StatPF(const char *path, struct stat *buff, int opts)
Definition XrdOssWrapper.hh:731
virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:620
virtual uint64_t Features()
Definition XrdOssWrapper.hh:536
virtual int StatFS(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:685
XrdOss & wrapPI
Definition XrdOssWrapper.hh:861
virtual int Rename(const char *oPath, const char *nPath, XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)
Definition XrdOssWrapper.hh:634
virtual ~XrdOssWrapper()
Definition XrdOssWrapper.hh:857
virtual XrdOssDF * newFile(const char *tident)
Definition XrdOssWrapper.hh:471
virtual int Truncate(const char *path, unsigned long long fsize, XrdOucEnv *envP=0)
Definition XrdOssWrapper.hh:797
virtual int Init(XrdSysLogger *lp, const char *cfn, XrdOucEnv *envP)
Definition XrdOssWrapper.hh:575
Definition XrdOss.hh:498
virtual int Reloc(const char *tident, const char *path, const char *cgName, const char *anchor=0)
virtual int Mkdir(const char *path, mode_t mode, int mkpath=0, XrdOucEnv *envP=0)=0
virtual int StatPF(const char *path, struct stat *buff, int opts)
virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
virtual int Create(const char *tid, const char *path, mode_t mode, XrdOucEnv &env, int opts=0)=0
virtual void Connect(XrdOucEnv &env)
virtual int StatXP(const char *path, unsigned long long &attr, XrdOucEnv *envP=0)
virtual XrdOssDF * newFile(const char *tident)=0
virtual void Disc(XrdOucEnv &env)
virtual int StatFS(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
virtual int Chmod(const char *path, mode_t mode, XrdOucEnv *envP=0)=0
virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
Definition XrdOss.hh:872
virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)=0
virtual int Init(XrdSysLogger *lp, const char *cfn)=0
virtual int StatXA(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
virtual int Rename(const char *oPath, const char *nPath, XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)=0
virtual void EnvInfo(XrdOucEnv *envP)
virtual int StatLS(XrdOucEnv &env, const char *path, char *buff, int &blen)
virtual int Truncate(const char *path, unsigned long long fsize, XrdOucEnv *envP=0)=0
virtual int Stats(char *buff, int blen)
Definition XrdOss.hh:706
virtual int FSctl(int cmd, int alen, const char *args, char **resp=0)
virtual XrdOssDF * newDir(const char *tident)=0
virtual int Stat(const char *path, struct stat *buff, int opts=0, XrdOucEnv *envP=0)=0
virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)=0
virtual uint64_t Features()
Definition XrdOucEnv.hh:42
Definition XrdSfsAio.hh:59
Definition XrdSysLogger.hh:53
Definition XrdOucIOVec.hh:41