xrootd
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 
52 class XrdOssWrapDF : public XrdOssDF
53 {
54 public:
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 
69 virtual int Opendir(const char *path, XrdOucEnv &env)
70  {return wrapDF.Opendir(path, env);}
71 
72 //-----------------------------------------------------------------------------
81 //-----------------------------------------------------------------------------
82 
83 virtual int Readdir(char *buff, int blen)
84  {return wrapDF.Readdir(buff, blen);}
85 
86 //-----------------------------------------------------------------------------
95 //-----------------------------------------------------------------------------
96 
97 virtual 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 
110 virtual int Fchmod(mode_t mode) {return wrapDF.Fchmod(mode);}
111 
112 //-----------------------------------------------------------------------------
114 //-----------------------------------------------------------------------------
115 
116 virtual void Flush() {wrapDF.Flush();}
117 
118 //-----------------------------------------------------------------------------
124 //-----------------------------------------------------------------------------
125 
126 virtual int Fstat(struct stat *buf) {return wrapDF.Fstat(buf);}
127 
128 //-----------------------------------------------------------------------------
132 //-----------------------------------------------------------------------------
133 
134 virtual int Fsync() {return wrapDF.Fsync();}
135 
136 //-----------------------------------------------------------------------------
142 //-----------------------------------------------------------------------------
143 
144 virtual int Fsync(XrdSfsAio *aiop) {return wrapDF.Fsync(aiop);}
145 
146 //-----------------------------------------------------------------------------
152 //-----------------------------------------------------------------------------
153 
154 virtual int Ftruncate(unsigned long long offs)
155  {return wrapDF.Ftruncate(offs);}
156 
157 //-----------------------------------------------------------------------------
165 //-----------------------------------------------------------------------------
166 
167 virtual off_t getMmap(void **addr) {return wrapDF.getMmap(addr);}
168 
169 //-----------------------------------------------------------------------------
176 //-----------------------------------------------------------------------------
177 
178 virtual int isCompressed(char *cxidp=0) {return wrapDF.isCompressed(cxidp);}
179 
180 //-----------------------------------------------------------------------------
189 //-----------------------------------------------------------------------------
190 
191 virtual int Open(const char *path, int Oflag, mode_t Mode, XrdOucEnv &env)
192  {return wrapDF.Open(path, Oflag, Mode, env);}
193 
194 //-----------------------------------------------------------------------------
209 //-----------------------------------------------------------------------------
210 
211 virtual 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 
225 virtual int pgRead (XrdSfsAio* aioparm, uint64_t opts)
226  {return wrapDF.pgRead(aioparm, opts);}
227 
228 //-----------------------------------------------------------------------------
245 //-----------------------------------------------------------------------------
246 
247 virtual 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 
261 virtual int pgWrite(XrdSfsAio* aioparm, uint64_t opts)
262  {return wrapDF.pgWrite(aioparm, opts);}
263 
264 //-----------------------------------------------------------------------------
271 //-----------------------------------------------------------------------------
272 
273 virtual ssize_t Read(off_t offset, size_t size)
274  {return wrapDF.Read(offset, size);}
275 
276 //-----------------------------------------------------------------------------
285 //-----------------------------------------------------------------------------
286 
287 virtual ssize_t Read(void *buffer, off_t offset, size_t size)
288  {return wrapDF.Read(buffer, offset, size);}
289 
290 //-----------------------------------------------------------------------------
297 //-----------------------------------------------------------------------------
298 
299 virtual int Read(XrdSfsAio *aiop) {return wrapDF.Read(aiop);}
300 
301 //-----------------------------------------------------------------------------
310 //-----------------------------------------------------------------------------
311 
312 virtual ssize_t ReadRaw(void *buffer, off_t offset, size_t size)
313  {return wrapDF.ReadRaw(buffer, offset, size);}
314 
315 //-----------------------------------------------------------------------------
323 //-----------------------------------------------------------------------------
324 
325 virtual ssize_t ReadV(XrdOucIOVec *readV, int rdvcnt)
326  {return wrapDF.ReadV(readV, rdvcnt);}
327 
328 //-----------------------------------------------------------------------------
337 //-----------------------------------------------------------------------------
338 
339 virtual ssize_t Write(const void *buffer, off_t offset, size_t size)
340  {return wrapDF.Write(buffer, offset, size);}
341 
342 //-----------------------------------------------------------------------------
349 //-----------------------------------------------------------------------------
350 
351 virtual int Write(XrdSfsAio *aiop) {return wrapDF.Write(aiop);}
352 
353 //-----------------------------------------------------------------------------
361 //-----------------------------------------------------------------------------
362 
363 virtual 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 
377 virtual int Close(long long *retsz=0) {return wrapDF.Close(retsz);}
378 
379 //-----------------------------------------------------------------------------
383 //-----------------------------------------------------------------------------
384 
385 uint16_t DFType() {return wrapDF.DFType();}
386 
387 //-----------------------------------------------------------------------------
402 //-----------------------------------------------------------------------------
403 
404 virtual int Fctl(int cmd, int alen, const char *args, char **resp=0)
405  {return wrapDF.Fctl(cmd, alen, args, resp);}
406 
407 //-----------------------------------------------------------------------------
411 //-----------------------------------------------------------------------------
412 
413 virtual int getFD() {return wrapDF.getFD();}
414 
415 //-----------------------------------------------------------------------------
419 //-----------------------------------------------------------------------------
420 virtual
421 const char *getTID() {return wrapDF.getTID();}
422 
423 //-----------------------------------------------------------------------------
430 //-----------------------------------------------------------------------------
431 
432  XrdOssWrapDF(XrdOssDF &df2Wrap) : wrapDF(df2Wrap) {}
433 
434 virtual ~XrdOssWrapDF() {}
435 
436 
437 protected:
438 
439 XrdOssDF &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 
446 class XrdOssWrapper : public XrdOss
447 {
448 public:
449 
450 //-----------------------------------------------------------------------------
457 //-----------------------------------------------------------------------------
458 
459 virtual XrdOssDF *newDir(const char *tident)
460  {return wrapPI.newDir(tident);}
461 
462 //-----------------------------------------------------------------------------
469 //-----------------------------------------------------------------------------
470 
471 virtual XrdOssDF *newFile(const char *tident)
472  {return wrapPI.newFile(tident);}
473 
474 //-----------------------------------------------------------------------------
482 //-----------------------------------------------------------------------------
483 
484 virtual int Chmod(const char * path, mode_t mode, XrdOucEnv *envP=0)
485  {return wrapPI.Chmod(path, mode, envP);}
486 
487 //-----------------------------------------------------------------------------
491 //-----------------------------------------------------------------------------
492 
493 virtual void Connect(XrdOucEnv &env) {wrapPI.Connect(env);}
494 
495 //-----------------------------------------------------------------------------
508 //-----------------------------------------------------------------------------
509 
510 virtual 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 
520 virtual void Disc(XrdOucEnv &env) {wrapPI.Disc(env);}
521 
522 //-----------------------------------------------------------------------------
526 //-----------------------------------------------------------------------------
527 
528 virtual void EnvInfo(XrdOucEnv *envP) {wrapPI.EnvInfo(envP);}
529 
530 //-----------------------------------------------------------------------------
534 //-----------------------------------------------------------------------------
535 
536 virtual uint64_t Features() {return wrapPI.Features();}
537 
538 //-----------------------------------------------------------------------------
548 //-----------------------------------------------------------------------------
549 
550 virtual int FSctl(int cmd, int alen, const char *args, char **resp=0)
551  {return wrapPI.FSctl(cmd, alen, args, resp);}
552 
553 //-----------------------------------------------------------------------------
560 //-----------------------------------------------------------------------------
561 
562 virtual int Init(XrdSysLogger *lp, const char *cfn)
563  {return wrapPI.Init(lp, cfn);}
564 
565 //-----------------------------------------------------------------------------
573 //-----------------------------------------------------------------------------
574 
575 virtual int Init(XrdSysLogger *lp, const char *cfn, XrdOucEnv *envP)
576  {return wrapPI.Init(lp, cfn, envP);}
577 
578 //-----------------------------------------------------------------------------
587 //-----------------------------------------------------------------------------
588 
589 virtual 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 
604 virtual 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 
620 virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)
621  {return wrapPI.Remdir(path, Opts, envP);}
622 
623 //-----------------------------------------------------------------------------
632 //-----------------------------------------------------------------------------
633 
634 virtual 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 
652 virtual 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 
665 virtual int Stats(char *buff, int blen)
666  {return wrapPI.Stats(buff, blen);}
667 
668 //-----------------------------------------------------------------------------
686 //-----------------------------------------------------------------------------
687 
688 virtual int StatFS(const char *path, char *buff, int &blen,
689  XrdOucEnv *envP=0)
690  {return wrapPI.StatFS(path, buff, blen, envP);}
691 
692 //-----------------------------------------------------------------------------
710 //-----------------------------------------------------------------------------
711 
712 virtual int StatLS(XrdOucEnv &env, const char *path,
713  char *buff, int &blen)
714  {return wrapPI.StatLS(env, path, buff, blen);}
715 
716 //-----------------------------------------------------------------------------
734 //-----------------------------------------------------------------------------
735 
736 virtual int StatPF(const char *path, struct stat *buff, int opts)
737  {return wrapPI.StatPF(path, buff, opts);}
738 
739 virtual int StatPF(const char *path, struct stat *buff)
740  {return wrapPI.StatPF(path, buff);}
741 
742 //-----------------------------------------------------------------------------
754 //-----------------------------------------------------------------------------
755 
756 virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
757  {return wrapPI.StatVS(vsP, sname, updt);}
758 
759 //-----------------------------------------------------------------------------
772 //-----------------------------------------------------------------------------
773 
774 virtual int StatXA(const char *path, char *buff, int &blen,
775  XrdOucEnv *envP=0)
776  {return wrapPI.StatXA(path, buff, blen, envP);}
777 
778 //-----------------------------------------------------------------------------
786 //-----------------------------------------------------------------------------
787 
788 virtual int StatXP(const char *path, unsigned long long &attr,
789  XrdOucEnv *envP=0)
790  {return wrapPI.StatXP(path, attr, envP);}
791 
792 //-----------------------------------------------------------------------------
800 //-----------------------------------------------------------------------------
801 
802 virtual int Truncate(const char *path, unsigned long long fsize,
803  XrdOucEnv *envP=0)
804  {return wrapPI.Truncate(path, fsize, envP);}
805 
806 //-----------------------------------------------------------------------------
817 //-----------------------------------------------------------------------------
818 
819 virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)
820  {return wrapPI.Unlink(path, Opts, envP);}
821 
822  // Default Name-to-Name Methods
823 
824 //-----------------------------------------------------------------------------
832 //-----------------------------------------------------------------------------
833 
834 virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
835  {return wrapPI.Lfn2Pfn(Path, buff, blen);}
836 
837 //-----------------------------------------------------------------------------
847 //-----------------------------------------------------------------------------
848 virtual
849 const char *Lfn2Pfn(const char *Path, char *buff, int blen, int &rc)
850  {return wrapPI.Lfn2Pfn(Path, buff, blen, rc);}
851 
852 //-----------------------------------------------------------------------------
859 //-----------------------------------------------------------------------------
860 
861  XrdOssWrapper(XrdOss &ossRef) : wrapPI(ossRef) {}
862 virtual ~XrdOssWrapper() {}
863 
864 protected:
865 
867 };
868 #endif
virtual const char * Lfn2Pfn(const char *Path, char *buff, int blen, int &rc)
Definition: XrdOssWrapper.hh:849
virtual int StatPF(const char *path, struct stat *buff)
Definition: XrdOssWrapper.hh:739
virtual void Connect(XrdOucEnv &env)
virtual void Disc(XrdOucEnv &env)
Definition: XrdOssWrapper.hh:520
virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:620
virtual ssize_t pgWrite(void *buffer, off_t offset, size_t wrlen, uint32_t *csvec, uint64_t opts)
virtual int Fctl(int cmd, int alen, const char *args, char **resp=0)
virtual int Readdir(char *buff, int blen)
Definition: XrdOss.hh:92
virtual off_t getMmap(void **addr)
Definition: XrdOssWrapper.hh:167
virtual XrdOssDF * newFile(const char *tident)=0
uint16_t DFType()
Definition: XrdOssWrapper.hh:385
virtual ~XrdOssWrapper()
Definition: XrdOssWrapper.hh:862
virtual int Init(XrdSysLogger *lp, const char *cfn)=0
virtual int StatRet(struct stat *Stat)
Definition: XrdOssWrapper.hh:97
virtual int Fsync(XrdSfsAio *aiop)
Definition: XrdOssWrapper.hh:144
virtual int StatFS(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:688
virtual int Opendir(const char *path, XrdOucEnv &env)
Definition: XrdOss.hh:79
virtual uint64_t Features()
Definition: XrdOssWrapper.hh:536
virtual int Chmod(const char *path, mode_t mode, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:484
virtual void Flush()
Flush filesystem cached pages for this file (used for checksums).
Definition: XrdOssWrapper.hh:116
virtual void Disc(XrdOucEnv &env)
virtual int Close(long long *retsz=0)
Definition: XrdOssWrapper.hh:377
Definition: XrdOssWrapper.hh:52
virtual int Write(XrdSfsAio *aiop)
Definition: XrdOssWrapper.hh:351
virtual int Stat(const char *path, struct stat *buff, int opts=0, XrdOucEnv *envP=0)=0
virtual int Reloc(const char *tident, const char *path, const char *cgName, const char *anchor=0)
Definition: XrdOssWrapper.hh:604
virtual ssize_t ReadRaw(void *buffer, off_t offset, size_t size)
Definition: XrdOssWrapper.hh:312
virtual int Mkdir(const char *path, mode_t mode, int mkpath=0, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:589
virtual int Fsync()
Definition: XrdOssWrapper.hh:134
virtual int StatPF(const char *path, struct stat *buff, int opts)
virtual int FSctl(int cmd, int alen, const char *args, char **resp=0)
Definition: XrdOssWrapper.hh:550
virtual ssize_t ReadV(XrdOucIOVec *readV, int rdvcnt)
Definition: XrdOssWrapper.hh:325
virtual int Create(const char *, const char *, mode_t, XrdOucEnv &, int opts=0)=0
virtual void Connect(XrdOucEnv &env)
Definition: XrdOssWrapper.hh:493
virtual int Open(const char *path, int Oflag, mode_t Mode, XrdOucEnv &env)
Definition: XrdOssWrapper.hh:191
virtual ssize_t pgRead(void *buffer, off_t offset, size_t rdlen, uint32_t *csvec, uint64_t opts)
Definition: XrdOssWrapper.hh:211
virtual int Fchmod(mode_t mode)
Definition: XrdOssWrapper.hh:110
virtual XrdOssDF * newDir(const char *tident)=0
virtual int isCompressed(char *cxidp=0)
Definition: XrdOss.hh:187
virtual XrdOssDF * newFile(const char *tident)
Definition: XrdOssWrapper.hh:471
virtual ssize_t pgRead(void *buffer, off_t offset, size_t rdlen, uint32_t *csvec, uint64_t opts)
virtual int Readdir(char *buff, int blen)
Definition: XrdOssWrapper.hh:83
Definition: XrdOssVS.hh:87
virtual void EnvInfo(XrdOucEnv *envP)
Definition: XrdOssWrapper.hh:528
virtual ssize_t WriteV(XrdOucIOVec *writeV, int wrvcnt)
Definition: XrdOssWrapper.hh:363
virtual int Fchmod(mode_t mode)
Definition: XrdOss.hh:120
virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)=0
virtual int StatFS(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
virtual int getFD()
Definition: XrdOssWrapper.hh:413
virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
virtual int Init(XrdSysLogger *lp, const char *cfn, XrdOucEnv *envP)
Definition: XrdOssWrapper.hh:575
virtual int StatLS(XrdOucEnv &env, const char *path, char *buff, int &blen)
Definition: XrdOssWrapper.hh:712
XrdOssWrapper(XrdOss &ossRef)
Definition: XrdOssWrapper.hh:861
virtual int Fctl(int cmd, int alen, const char *args, char **resp=0)
Definition: XrdOssWrapper.hh:404
virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)=0
virtual int Opendir(const char *path, XrdOucEnv &env)
Definition: XrdOssWrapper.hh:69
Definition: XrdOucEnv.hh:41
Definition: XrdOucIOVec.hh:40
virtual int StatXP(const char *path, unsigned long long &attr, XrdOucEnv *envP=0)
virtual const char * getTID()
Definition: XrdOss.hh:438
virtual ssize_t Write(const void *buffer, off_t offset, size_t size)
Definition: XrdOssWrapper.hh:339
StatImpl< false > Stat(Ctx< File > file, Arg< bool > force, uint16_t timeout=0)
Definition: XrdClFileOperations.hh:358
virtual ~XrdOssWrapDF()
Definition: XrdOssWrapper.hh:434
virtual int Stats(char *buff, int blen)
Definition: XrdOssWrapper.hh:665
virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:819
virtual int Fsync()
Definition: XrdOss.hh:144
Definition: XrdOssWrapper.hh:446
virtual int Create(const char *tid, const char *path, mode_t mode, XrdOucEnv &env, int opts=0)
Definition: XrdOssWrapper.hh:510
virtual int Close(long long *retsz=0)=0
virtual ssize_t ReadV(XrdOucIOVec *readV, int rdvcnt)
uint16_t DFType()
Definition: XrdOss.hh:400
virtual int Truncate(const char *path, unsigned long long fsize, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:802
XrdOss & wrapPI
Definition: XrdOssWrapper.hh:866
virtual int Stat(const char *path, struct stat *buff, int opts=0, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:652
virtual int FSctl(int cmd, int alen, const char *args, char **resp=0)
Definition: XrdSysLogger.hh:52
virtual int Rename(const char *oPath, const char *nPath, XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)
Definition: XrdOssWrapper.hh:634
virtual ssize_t Read(off_t offset, size_t size)
Definition: XrdOss.hh:285
virtual void Flush()
Flush filesystem cached pages for this file (used for checksums).
Definition: XrdOss.hh:126
virtual int StatXP(const char *path, unsigned long long &attr, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:788
#define stat(a, b)
Definition: XrdPosix.hh:96
virtual int Init(XrdSysLogger *lp, const char *cfn)
Definition: XrdOssWrapper.hh:562
virtual int Fstat(struct stat *buf)
Definition: XrdOssWrapper.hh:126
virtual ssize_t Read(off_t offset, size_t size)
Definition: XrdOssWrapper.hh:273
virtual int pgWrite(XrdSfsAio *aioparm, uint64_t opts)
Definition: XrdOssWrapper.hh:261
virtual int Chmod(const char *path, mode_t mode, XrdOucEnv *envP=0)=0
Definition: XrdOss.hh:498
virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
Definition: XrdOssWrapper.hh:834
virtual void EnvInfo(XrdOucEnv *envP)
virtual int StatXA(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
virtual const char * getTID()
Definition: XrdOssWrapper.hh:421
Definition: XrdOss.hh:62
virtual int isCompressed(char *cxidp=0)
Definition: XrdOssWrapper.hh:178
virtual ssize_t Read(void *buffer, off_t offset, size_t size)
Definition: XrdOssWrapper.hh:287
virtual int Truncate(const char *path, unsigned long long fsize, XrdOucEnv *envP=0)=0
virtual int StatXA(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
Definition: XrdOssWrapper.hh:774
virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
Definition: XrdOss.hh:877
XrdOssWrapDF(XrdOssDF &df2Wrap)
Definition: XrdOssWrapper.hh:432
virtual int Ftruncate(unsigned long long offs)
Definition: XrdOssWrapper.hh:154
virtual int Stats(char *buff, int blen)
Definition: XrdOss.hh:706
virtual int Reloc(const char *tident, const char *path, const char *cgName, const char *anchor=0)
Definition: XrdSfsAio.hh:58
virtual int StatPF(const char *path, struct stat *buff, int opts)
Definition: XrdOssWrapper.hh:736
virtual int Rename(const char *oPath, const char *nPath, XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)=0
virtual int Open(const char *path, int Oflag, mode_t Mode, XrdOucEnv &env)
Definition: XrdOss.hh:200
virtual int StatRet(struct stat *)
Definition: XrdOss.hh:107
virtual int StatLS(XrdOucEnv &env, const char *path, char *buff, int &blen)
virtual off_t getMmap(void **addr)
Definition: XrdOss.hh:176
virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
Definition: XrdOssWrapper.hh:756
virtual ssize_t Write(const void *buffer, off_t offset, size_t size)
Definition: XrdOss.hh:349
virtual XrdOssDF * newDir(const char *tident)
Definition: XrdOssWrapper.hh:459
virtual int Mkdir(const char *path, mode_t mode, int mkpath=0, XrdOucEnv *envP=0)=0
virtual int getFD()
Definition: XrdOss.hh:430
virtual uint64_t Features()
virtual int pgRead(XrdSfsAio *aioparm, uint64_t opts)
Definition: XrdOssWrapper.hh:225
virtual ssize_t ReadRaw(void *buffer, off_t offset, size_t size)
Definition: XrdOss.hh:323
virtual int Read(XrdSfsAio *aiop)
Definition: XrdOssWrapper.hh:299
XrdOssDF & wrapDF
Definition: XrdOssWrapper.hh:439
virtual int Fstat(struct stat *buf)
Definition: XrdOss.hh:136
virtual ssize_t WriteV(XrdOucIOVec *writeV, int wrvcnt)
virtual int Ftruncate(unsigned long long)
Definition: XrdOss.hh:164
virtual ssize_t pgWrite(void *buffer, off_t offset, size_t wrlen, uint32_t *csvec, uint64_t opts)
Definition: XrdOssWrapper.hh:247