|
xrootd
|
#include <XrdOfs.hh>


Classes | |
| struct | fwdOpt |
Public Types | |
| enum | { Authorize = 0x0001, XAttrPlug = 0x0002, isPeer = 0x0050, isProxy = 0x0020, isManager = 0x0040, isServer = 0x0080, isSuper = 0x00C0, isMeta = 0x0100, haveRole = 0x01F0, Forwarding = 0x1000, ThirdPC = 0x2000, SubCluster = 0x4000, RdrTPC = 0x8000 } |
Public Member Functions | |
| XrdSfsDirectory * | newDir (char *user=0, int MonID=0) |
| XrdSfsDirectory * | newDir (XrdOucErrInfo &eInfo) |
| XrdSfsFile * | newFile (char *user=0, int MonID=0) |
| XrdSfsFile * | newFile (XrdOucErrInfo &eInfo) |
| int | chksum (csFunc Func, const char *csName, const char *Path, XrdOucErrInfo &out_error, const XrdSecEntity *client=0, const char *opaque=0) |
| int | chmod (const char *Name, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| void | Connect (const XrdSecEntity *client=0) |
| void | Disc (const XrdSecEntity *client=0) |
| int | exists (const char *fileName, XrdSfsFileExistence &exists_flag, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| int | FAttr (XrdSfsFACtl *faReq, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) |
| int | FSctl (const int cmd, XrdSfsFSctl &args, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) |
| int | fsctl (const int cmd, const char *args, XrdOucErrInfo &out_error, const XrdSecEntity *client=0) |
| int | getStats (char *buff, int blen) |
| const char * | getVersion () |
| int | mkdir (const char *dirName, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| int | prepare (XrdSfsPrep &pargs, XrdOucErrInfo &out_error, const XrdSecEntity *client=0) |
| int | rem (const char *path, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *info=0) |
| int | remdir (const char *dirName, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *info=0) |
| int | rename (const char *oldFileName, const char *newFileName, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *infoO=0, const char *infoN=0) |
| int | stat (const char *Name, struct stat *buf, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| int | stat (const char *Name, mode_t &mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| int | truncate (const char *Name, XrdSfsFileOffset fileOffset, XrdOucErrInfo &out_error, const XrdSecEntity *client=0, const char *opaque=0) |
| virtual int | Configure (XrdSysError &) |
| virtual int | Configure (XrdSysError &, XrdOucEnv *) |
| void | Config_Cluster (XrdOss *) |
| void | Config_Display (XrdSysError &) |
| XrdOfs () | |
| virtual | ~XrdOfs () |
Public Attributes | |
| int | Options |
| int | myPort |
| mode_t | dMask [2] |
| mode_t | fMask [2] |
| char * | tpcRdrHost [2] |
| int | tpcRdrPort [2] |
| XrdNetIF * | myIF |
| struct fwdOpt | fwdCHMOD |
| struct fwdOpt | fwdMKDIR |
| struct fwdOpt | fwdMKPATH |
| struct fwdOpt | fwdMV |
| struct fwdOpt | fwdRM |
| struct fwdOpt | fwdRMDIR |
| struct fwdOpt | fwdTRUNC |
| char * | ConfigFN |
Static Public Attributes | |
| static int | MaxDelay |
| static int | OSSDelay |
Protected Member Functions | |
| virtual int | ConfigXeq (char *var, XrdOucStream &, XrdSysError &) |
| const char * | Split (const char *Args, const char **Opq, char *Path, int Plen) |
| int | Stall (XrdOucErrInfo &, int, const char *) |
| void | Unpersist (XrdOfsHandle *hP, int xcev=1) |
| char * | WaitTime (int, char *, int) |
Static Protected Member Functions | |
| static int | Emsg (const char *, XrdOucErrInfo &, int, const char *x, XrdOfsHandle *hP) |
| static int | Emsg (const char *, XrdOucErrInfo &, int, const char *x, const char *y="") |
| static int | fsError (XrdOucErrInfo &myError, int rc) |
Protected Attributes | |
| XrdOfsEvr | evrObject |
| XrdCmsClient * | Finder |
Private Member Functions | |
| int | ctlFADel (XrdSfsFACtl &faCtl, XrdOucEnv &faEnv, XrdOucErrInfo &einfo) |
| int | ctlFAGet (XrdSfsFACtl &faCtl, XrdOucEnv &faEnv, XrdOucErrInfo &einfo) |
| int | ctlFALst (XrdSfsFACtl &faCtl, XrdOucEnv &faEnv, XrdOucErrInfo &einfo) |
| int | ctlFASet (XrdSfsFACtl &faCtl, XrdOucEnv &faEnv, XrdOucErrInfo &einfo) |
| int | remove (const char type, const char *path, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque) |
| int | ConfigDispFwd (char *buff, struct fwdOpt &Fwd) |
| int | ConfigPosc (XrdSysError &Eroute) |
| int | ConfigRedir (XrdSysError &Eroute, XrdOucEnv *EnvInfo) |
| int | ConfigTPC (XrdSysError &Eroute, XrdOucEnv *EnvInfo) |
| int | ConfigTPC (XrdSysError &Eroute) |
| char * | ConfigTPCDir (XrdSysError &Eroute, const char *sfx, const char *xPath=0) |
| const char * | Fname (const char *) |
| int | Forward (int &Result, XrdOucErrInfo &Resp, struct fwdOpt &Fwd, const char *arg1=0, const char *arg2=0, XrdOucEnv *Env1=0, XrdOucEnv *Env2=0) |
| int | FSctl (XrdOfsFile &file, int cmd, int alen, const char *args, const XrdSecEntity *client) |
| int | Reformat (XrdOucErrInfo &) |
| const char * | theRole (int opts) |
| int | xcrds (XrdOucStream &, XrdSysError &) |
| int | xcrm (XrdOucStream &, XrdSysError &) |
| int | xdirl (XrdOucStream &, XrdSysError &) |
| int | xexp (XrdOucStream &, XrdSysError &, bool) |
| int | xforward (XrdOucStream &, XrdSysError &) |
| int | xmaxd (XrdOucStream &, XrdSysError &) |
| int | xnmsg (XrdOucStream &, XrdSysError &) |
| int | xnot (XrdOucStream &, XrdSysError &) |
| int | xpers (XrdOucStream &, XrdSysError &) |
| int | xrole (XrdOucStream &, XrdSysError &) |
| int | xtpc (XrdOucStream &, XrdSysError &) |
| int | xtpcal (XrdOucStream &, XrdSysError &) |
| int | xtpcr (XrdOucStream &, XrdSysError &) |
| int | xtrace (XrdOucStream &, XrdSysError &) |
| int | xatr (XrdOucStream &, XrdSysError &) |
Private Attributes | |
| char * | myRole |
| XrdOfsFSctl_PI * | FSctl_PC |
| XrdOfsFSctl_PI * | FSctl_PI |
| XrdAccAuthorize * | Authorization |
| XrdCmsClient * | Balancer |
| XrdOfsEvs * | evsObject |
| XrdOucPListAnchor * | ossRPList |
| XrdOfsPoscq * | poscQ |
| char * | poscLog |
| int | poscHold |
| short | poscSync |
| signed char | poscAuto |
| char | ossRW |
| XrdOfsConfigPI * | ofsConfig |
| XrdOfsPrepare * | prepHandler |
| XrdCks * | Cks |
| bool | CksPfn |
| bool | CksRdr |
| bool | prepAuth |
| char | OssIsProxy |
| char | myRType [4] |
| uint64_t | ossFeatures |
| int | usxMaxNsz |
| int | usxMaxVsz |
| XrdSysMutex | ocMutex |
| bool | DirRdr |
| bool | reProxy |
| bool | OssHasPGrw |
Static Private Attributes | |
| static XrdOfsHandle * | dummyHandle |
Friends | |
| class | XrdOfsDirectory |
| class | XrdOfsFile |
| anonymous enum |
| XrdOfs::XrdOfs | ( | ) |
|
inlinevirtual |
| int XrdOfs::chksum | ( | csFunc | Func, |
| const char * | csName, | ||
| const char * | Path, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client = 0, |
||
| const char * | opaque = 0 |
||
| ) |
| int XrdOfs::chmod | ( | const char * | Name, |
| XrdSfsMode | Mode, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client, | ||
| const char * | opaque = 0 |
||
| ) |
| void XrdOfs::Config_Cluster | ( | XrdOss * | ) |
| void XrdOfs::Config_Display | ( | XrdSysError & | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
|
virtual |
|
protectedvirtual |
| void XrdOfs::Connect | ( | const XrdSecEntity * | client = 0 | ) |
|
private |
|
private |
|
private |
|
private |
| void XrdOfs::Disc | ( | const XrdSecEntity * | client = 0 | ) |
|
staticprotected |
|
staticprotected |
| int XrdOfs::exists | ( | const char * | fileName, |
| XrdSfsFileExistence & | exists_flag, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client, | ||
| const char * | opaque = 0 |
||
| ) |
| int XrdOfs::FAttr | ( | XrdSfsFACtl * | faReq, |
| XrdOucErrInfo & | eInfo, | ||
| const XrdSecEntity * | client = 0 |
||
| ) |
|
private |
|
private |
| int XrdOfs::FSctl | ( | const int | cmd, |
| XrdSfsFSctl & | args, | ||
| XrdOucErrInfo & | eInfo, | ||
| const XrdSecEntity * | client = 0 |
||
| ) |
| int XrdOfs::fsctl | ( | const int | cmd, |
| const char * | args, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client = 0 |
||
| ) |
|
private |
|
staticprotected |
| int XrdOfs::getStats | ( | char * | buff, |
| int | blen | ||
| ) |
| const char* XrdOfs::getVersion | ( | ) |
| int XrdOfs::mkdir | ( | const char * | dirName, |
| XrdSfsMode | Mode, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client, | ||
| const char * | opaque = 0 |
||
| ) |
|
inline |
|
inline |
References XrdOucErrInfo::getErrUser(), and XrdOfsDirectory.
|
inline |
|
inline |
References XrdOucErrInfo::getErrUser(), and XrdOfsFile.
| int XrdOfs::prepare | ( | XrdSfsPrep & | pargs, |
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client = 0 |
||
| ) |
|
private |
|
inline |
|
inline |
|
private |
| int XrdOfs::rename | ( | const char * | oldFileName, |
| const char * | newFileName, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client, | ||
| const char * | infoO = 0, |
||
| const char * | infoN = 0 |
||
| ) |
|
protected |
|
protected |
| int XrdOfs::stat | ( | const char * | Name, |
| struct stat * | buf, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client, | ||
| const char * | opaque = 0 |
||
| ) |
| int XrdOfs::stat | ( | const char * | Name, |
| mode_t & | mode, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client, | ||
| const char * | opaque = 0 |
||
| ) |
|
private |
| int XrdOfs::truncate | ( | const char * | Name, |
| XrdSfsFileOffset | fileOffset, | ||
| XrdOucErrInfo & | out_error, | ||
| const XrdSecEntity * | client = 0, |
||
| const char * | opaque = 0 |
||
| ) |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
friend |
Referenced by newDir().
|
friend |
Referenced by newFile().
|
private |
|
private |
|
private |
|
private |
|
private |
| char* XrdOfs::ConfigFN |
|
private |
| mode_t XrdOfs::dMask[2] |
|
staticprivate |
|
protected |
|
private |
|
protected |
| mode_t XrdOfs::fMask[2] |
|
private |
|
private |
| struct fwdOpt XrdOfs::fwdCHMOD |
| struct fwdOpt XrdOfs::fwdMKDIR |
| struct fwdOpt XrdOfs::fwdMKPATH |
| struct fwdOpt XrdOfs::fwdMV |
| struct fwdOpt XrdOfs::fwdRM |
| struct fwdOpt XrdOfs::fwdRMDIR |
| struct fwdOpt XrdOfs::fwdTRUNC |
|
static |
| XrdNetIF* XrdOfs::myIF |
| int XrdOfs::myPort |
|
private |
|
private |
|
private |
|
private |
| int XrdOfs::Options |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| char* XrdOfs::tpcRdrHost[2] |
| int XrdOfs::tpcRdrPort[2] |
|
private |
|
private |
1.8.5