#include <XrdPss.hh>
Public Types | |
enum | PolAct { PolPath = 0, PolObj = 1 } |
Public Member Functions | |
virtual XrdOssDF * | newDir (const char *tident) |
virtual XrdOssDF * | newFile (const char *tident) |
int | Chmod (const char *, mode_t mode, XrdOucEnv *eP=0) |
virtual int | Create (const char *, const char *, mode_t, XrdOucEnv &, int opts=0) |
void | EnvInfo (XrdOucEnv *envP) |
int | Init (XrdSysLogger *, const char *) |
int | Lfn2Pfn (const char *Path, char *buff, int blen) |
const char * | Lfn2Pfn (const char *Path, char *buff, int blen, int &rc) |
int | Mkdir (const char *, mode_t mode, int mkpath=0, XrdOucEnv *eP=0) |
int | Remdir (const char *, int Opts=0, XrdOucEnv *eP=0) |
int | Rename (const char *, const char *, XrdOucEnv *eP1=0, XrdOucEnv *eP2=0) |
int | Stat (const char *, struct stat *, int opts=0, XrdOucEnv *eP=0) |
int | Truncate (const char *, unsigned long long, XrdOucEnv *eP=0) |
int | Unlink (const char *, int Opts=0, XrdOucEnv *eP=0) |
XrdPssSys () | |
virtual | ~XrdPssSys () |
Static Public Member Functions | |
static int | P2DST (int &retc, char *hBuff, int hBlen, PolAct pType, const char *path) |
static int | P2OUT (char *pbuff, int pblen, XrdPssUrlInfo &uInfo) |
static int | P2URL (char *pbuff, int pblen, XrdPssUrlInfo &uInfo, bool doN2N=true) |
static const char * | valProt (const char *pname, int &plen, int adj=0) |
Static Public Attributes | |
static const int | PolNum = 2 |
static const char * | ConfigFN |
static const char * | myHost |
static const char * | myName |
static XrdOucPListAnchor | XPList |
static XrdNetSecurity * | Police [PolNum] |
static XrdOucTList * | ManList |
static const char * | protName |
static const char * | hdrData |
static int | hdrLen |
static int | Streams |
static int | Workers |
static int | Trace |
static bool | outProxy |
static bool | pfxProxy |
static bool | xLfn2Pfn |
Private Member Functions | |
int | Configure (const char *) |
int | ConfigProc (const char *ConfigFN) |
int | ConfigXeq (char *, XrdOucStream &) |
const char * | getDomain (const char *hName) |
int | xconf (XrdSysError *Eroute, XrdOucStream &Config) |
int | xdef (XrdSysError *Eroute, XrdOucStream &Config) |
int | xexp (XrdSysError *Eroute, XrdOucStream &Config) |
int | xperm (XrdSysError *errp, XrdOucStream &Config) |
int | xorig (XrdSysError *errp, XrdOucStream &Config) |
Private Attributes | |
char * | LocalRoot |
XrdOucName2Name * | theN2N |
unsigned long long | DirFlags |
XrdVersionInfo * | myVersion |
enum XrdPssSys::PolAct |
XrdPssSys::XrdPssSys | ( | ) |
virtual XrdPssSys::~XrdPssSys | ( | ) | [inline, virtual] |
int XrdPssSys::Chmod | ( | const char * | , | |
mode_t | mode, | |||
XrdOucEnv * | eP = 0 | |||
) | [virtual] |
Implements XrdOss.
int XrdPssSys::ConfigProc | ( | const char * | ConfigFN | ) | [private] |
int XrdPssSys::Configure | ( | const char * | ) | [private] |
int XrdPssSys::ConfigXeq | ( | char * | , | |
XrdOucStream & | ||||
) | [private] |
virtual int XrdPssSys::Create | ( | const char * | , | |
const char * | , | |||
mode_t | , | |||
XrdOucEnv & | , | |||
int | opts = 0 | |||
) | [virtual] |
Implements XrdOss.
const char* XrdPssSys::getDomain | ( | const char * | hName | ) | [private] |
int XrdPssSys::Init | ( | XrdSysLogger * | , | |
const char * | ||||
) | [virtual] |
Implements XrdOss.
const char* XrdPssSys::Lfn2Pfn | ( | const char * | Path, | |
char * | buff, | |||
int | blen, | |||
int & | rc | |||
) | [virtual] |
Reimplemented from XrdOss.
int XrdPssSys::Lfn2Pfn | ( | const char * | Path, | |
char * | buff, | |||
int | blen | |||
) | [virtual] |
Reimplemented from XrdOss.
int XrdPssSys::Mkdir | ( | const char * | , | |
mode_t | mode, | |||
int | mkpath = 0 , |
|||
XrdOucEnv * | eP = 0 | |||
) | [virtual] |
Implements XrdOss.
static int XrdPssSys::P2DST | ( | int & | retc, | |
char * | hBuff, | |||
int | hBlen, | |||
PolAct | pType, | |||
const char * | path | |||
) | [static] |
static int XrdPssSys::P2OUT | ( | char * | pbuff, | |
int | pblen, | |||
XrdPssUrlInfo & | uInfo | |||
) | [static] |
static int XrdPssSys::P2URL | ( | char * | pbuff, | |
int | pblen, | |||
XrdPssUrlInfo & | uInfo, | |||
bool | doN2N = true | |||
) | [static] |
int XrdPssSys::Remdir | ( | const char * | , | |
int | Opts = 0 , |
|||
XrdOucEnv * | eP = 0 | |||
) | [virtual] |
Implements XrdOss.
int XrdPssSys::Rename | ( | const char * | , | |
const char * | , | |||
XrdOucEnv * | eP1 = 0 , |
|||
XrdOucEnv * | eP2 = 0 | |||
) | [virtual] |
Implements XrdOss.
int XrdPssSys::Stat | ( | const char * | , | |
struct stat * | , | |||
int | opts = 0 , |
|||
XrdOucEnv * | eP = 0 | |||
) | [virtual] |
Implements XrdOss.
int XrdPssSys::Truncate | ( | const char * | , | |
unsigned long | long, | |||
XrdOucEnv * | eP = 0 | |||
) | [virtual] |
Implements XrdOss.
int XrdPssSys::Unlink | ( | const char * | , | |
int | Opts = 0 , |
|||
XrdOucEnv * | eP = 0 | |||
) | [virtual] |
Implements XrdOss.
static const char* XrdPssSys::valProt | ( | const char * | pname, | |
int & | plen, | |||
int | adj = 0 | |||
) | [static] |
int XrdPssSys::xconf | ( | XrdSysError * | Eroute, | |
XrdOucStream & | Config | |||
) | [private] |
int XrdPssSys::xdef | ( | XrdSysError * | Eroute, | |
XrdOucStream & | Config | |||
) | [private] |
int XrdPssSys::xexp | ( | XrdSysError * | Eroute, | |
XrdOucStream & | Config | |||
) | [private] |
int XrdPssSys::xorig | ( | XrdSysError * | errp, | |
XrdOucStream & | Config | |||
) | [private] |
int XrdPssSys::xperm | ( | XrdSysError * | errp, | |
XrdOucStream & | Config | |||
) | [private] |
const char* XrdPssSys::ConfigFN [static] |
unsigned long long XrdPssSys::DirFlags [private] |
const char* XrdPssSys::hdrData [static] |
int XrdPssSys::hdrLen [static] |
char* XrdPssSys::LocalRoot [private] |
XrdOucTList* XrdPssSys::ManList [static] |
const char* XrdPssSys::myHost [static] |
const char* XrdPssSys::myName [static] |
XrdVersionInfo* XrdPssSys::myVersion [private] |
bool XrdPssSys::outProxy [static] |
bool XrdPssSys::pfxProxy [static] |
XrdNetSecurity* XrdPssSys::Police[PolNum] [static] |
const int XrdPssSys::PolNum = 2 [static] |
const char* XrdPssSys::protName [static] |
int XrdPssSys::Streams [static] |
XrdOucName2Name* XrdPssSys::theN2N [private] |
int XrdPssSys::Trace [static] |
int XrdPssSys::Workers [static] |
bool XrdPssSys::xLfn2Pfn [static] |
XrdOucPListAnchor XrdPssSys::XPList [static] |