![]() |
XRootD
|
#include <XrdOssPath.hh>
Classes | |
struct | fnInfo |
Public Types | |
enum | theSfx { isBase =0 , isAnew =1 , sfxMigF =1 , isFail =2 , isLock =3 , isPin =4 , sfxMigL =4 , sfxMemF =4 , isMkeep =5 , isMlock =6 , isMmap =7 , sfxMemL =7 , isPfn =8 , sfxLast =8 , sfxNum =9 } |
Public Member Functions | |
XrdOssPath () | |
~XrdOssPath () | |
Static Public Member Functions | |
static int | Convert (char *dst, int dln, const char *oldP, const char *newP) |
static const char * | Extract (char *path, char *lbuf, int &lbsz) |
static char * | genPath (const char *inPath, const char *cgrp, char *sfx) |
static char * | genPFN (char *dst, int dln, const char *src) |
static char * | genPFN (fnInfo &Info, char *buff, int blen, const char *Path=0) |
static int | getCname (const char *path, char *Cache, char *lbuf=0, int lbsz=0) |
static int | InitPrefix () |
static int | isXA (const char *path) |
static theSfx | pathType (const char *Path, int chkWhat=chkAll) |
static void | Trim2Base (char *eP) |
Static Public Attributes | |
static const int | chkAll = 0x07 |
static const int | chkMem = 0x01 |
static const int | chkMig = 0x02 |
static const int | chkPfn = 0x04 |
static const char * | Sfx [sfxNum] |
static const int | sfxLen = 4 |
static const char | xChar = '%' |
Definition at line 35 of file XrdOssPath.hh.
struct XrdOssPath::fnInfo |
Definition at line 39 of file XrdOssPath.hh.
Class Members | ||
---|---|---|
const char * | Path | |
int | Plen | |
const char * | Sfx | |
char * | Slash |
enum XrdOssPath::theSfx |
Enumerator | |
---|---|
isBase | |
isAnew | |
sfxMigF | |
isFail | |
isLock | |
isPin | |
sfxMigL | |
sfxMemF | |
isMkeep | |
isMlock | |
isMmap | |
sfxMemL | |
isPfn | |
sfxLast | |
sfxNum |
Definition at line 68 of file XrdOssPath.hh.
|
inline |
Definition at line 86 of file XrdOssPath.hh.
|
inline |
Definition at line 87 of file XrdOssPath.hh.
|
static |
Definition at line 75 of file XrdOssPath.cc.
References xChar, and XrdOssTAMP.
Referenced by XrdOssSys::RenameLink().
|
static |
|
static |
Definition at line 134 of file XrdOssPath.cc.
References XrdOssSpace::minSNbsz, and xChar.
Referenced by XrdOssCache_FS::XrdOssCache_FS().
|
static |
|
static |
Definition at line 172 of file XrdOssPath.cc.
References Info, XrdSysMutex::Lock(), Path, sfxLen, XrdSysMutex::UnLock(), and XrdOssTAMP.
Referenced by XrdOssCache::Alloc().
|
static |
Definition at line 241 of file XrdOssPath.cc.
References XrdCms::Cache, lstat(), stat(), and xChar.
Referenced by XrdOssSys::getCname(), and XrdOssSys::Reloc().
|
static |
Definition at line 340 of file XrdOssPath.cc.
References XrdNetUtils::Encode(), and XrdNetAddrInfo::NetAddr().
Referenced by XrdOssSys::Configure().
|
inlinestatic |
|
static |
|
static |
Definition at line 304 of file XrdOssPath.cc.
References xChar.
Referenced by XrdOssCache::Adjust(), XrdOssSys::BreakLink(), XrdOssCache::Find(), XrdOssSys::RenameLink(), and XrdOssAt::Unlink().
|
static |
Definition at line 80 of file XrdOssPath.hh.
Referenced by pathType().
|
static |
Definition at line 77 of file XrdOssPath.hh.
Referenced by pathType().
|
static |
Definition at line 78 of file XrdOssPath.hh.
Referenced by pathType().
|
static |
Definition at line 79 of file XrdOssPath.hh.
|
static |
Definition at line 75 of file XrdOssPath.hh.
Referenced by pathType().
|
static |
Definition at line 49 of file XrdOssPath.hh.
Referenced by genPFN().
|
static |
Definition at line 47 of file XrdOssPath.hh.
Referenced by XrdOssSys::BreakLink(), Convert(), Extract(), genPath(), genPFN(), getCname(), isXA(), XrdOssSys::RenameLink(), Trim2Base(), and XrdOssAt::Unlink().