xrootd
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
XrdPssSys Class Reference

#include <XrdPss.hh>

Inheritance diagram for XrdPssSys:
Inheritance graph
[legend]
Collaboration diagram for XrdPssSys:
Collaboration graph
[legend]

Public Member Functions

virtual XrdOssDFnewDir (const char *tident)
 
virtual XrdOssDFnewFile (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)
 
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 ()
 
- Public Member Functions inherited from XrdOss
virtual int Reloc (const char *, const char *, const char *, const char *x=0)
 
virtual int StatFS (const char *path, char *buff, int &blen, XrdOucEnv *eP=0)
 
virtual int StatLS (XrdOucEnv &env, const char *cgrp, char *buff, int &blen)
 
virtual int StatXA (const char *path, char *buff, int &blen, XrdOucEnv *eP=0)
 
virtual int StatXP (const char *path, unsigned long long &attr, XrdOucEnv *eP=0)
 
virtual int Stats (char *bp, int bl)
 
virtual int StatVS (XrdOssVSInfo *sP, const char *sname=0, int updt=0)
 
 XrdOss ()
 
virtual ~XrdOss ()
 

Static Public Member Functions

static char * P2URL (int &retc, char *pbuff, int pblen, const char *path, int Split=0, const char *Cgi=0, int CgiLn=0, const char *tIdent=0, int doN2N=1)
 
static int T2UID (const char *Ident)
 

Static Public Attributes

static const char * ConfigFN
 
static const char * myHost
 
static const char * myName
 
static uid_t myUid = geteuid()
 
static gid_t myGid = getegid()
 
static XrdOucPListAnchor XPList
 
static XrdOucTListManList = 0
 
static const char * urlPlain = 0
 
static int urlPlen = 0
 
static int hdrLen = 0
 
static const char * hdrData = 0
 
static const char * urlRdr = 0
 
static int Workers = 16
 
static int Trace
 
static char allChmod = 0
 
static char allMkdir = 0
 
static char allMv = 0
 
static char allRmdir = 0
 
static char allRm = 0
 
static char allTrunc = 0
 
static char cfgDone = 0
 

Private Member Functions

int buildHdr ()
 
int Configure (const char *)
 
int ConfigProc (const char *ConfigFN)
 
int ConfigXeq (char *, XrdOucStream &)
 
int ConfigN2N ()
 
int getCache ()
 
int xcach (XrdSysError *Eroute, XrdOucStream &Config)
 
int xcacl (XrdSysError *Eroute, XrdOucStream &Config)
 
char * xcapr (XrdSysError *Eroute, XrdOucStream &Config, char *pBuff)
 
int xconf (XrdSysError *Eroute, XrdOucStream &Config)
 
int xdef (XrdSysError *Eroute, XrdOucStream &Config)
 
int xexp (XrdSysError *Eroute, XrdOucStream &Config)
 
int xorig (XrdSysError *errp, XrdOucStream &Config)
 
int xsopt (XrdSysError *Eroute, XrdOucStream &Config)
 
int xtrac (XrdSysError *Eroute, XrdOucStream &Config)
 
int xnml (XrdSysError *Eroute, XrdOucStream &Config)
 

Private Attributes

char * LocalRoot
 
char * N2NLib
 
char * N2NParms
 
XrdOucName2NametheN2N
 
unsigned long long DirFlags
 
char * cPath
 
char * cParm
 
XrdVersionInfomyVersion
 
int TraceLvl
 

Constructor & Destructor Documentation

XrdPssSys::XrdPssSys ( )
virtual XrdPssSys::~XrdPssSys ( )
inlinevirtual

Member Function Documentation

int XrdPssSys::buildHdr ( )
private
int XrdPssSys::Chmod ( const char *  path,
mode_t  mode,
XrdOucEnv eP = 0 
)
virtual

Implements XrdOss.

int XrdPssSys::ConfigN2N ( void  )
private
int XrdPssSys::ConfigProc ( const char *  ConfigFN)
private
int XrdPssSys::Configure ( const char *  cfn)
private
int XrdPssSys::ConfigXeq ( char *  var,
XrdOucStream Config 
)
private
int XrdPssSys::Create ( const char *  tident,
const char *  path,
mode_t  Mode,
XrdOucEnv env,
int  opts = 0 
)
virtual

Implements XrdOss.

int XrdPssSys::getCache ( )
private
int XrdPssSys::Init ( XrdSysLogger lp,
const char *  configfn 
)
virtual
int XrdPssSys::Lfn2Pfn ( const char *  Path,
char *  buff,
int  blen 
)
virtual

Reimplemented from XrdOss.

References XrdOucName2Name::lfn2pfn(), and theN2N.

const char * XrdPssSys::Lfn2Pfn ( const char *  Path,
char *  buff,
int  blen,
int &  rc 
)
virtual

Reimplemented from XrdOss.

References XrdOucName2Name::lfn2pfn(), and theN2N.

int XrdPssSys::Mkdir ( const char *  path,
mode_t  mode,
int  mkpath = 0,
XrdOucEnv eP = 0 
)
virtual
virtual XrdOssDF* XrdPssSys::newDir ( const char *  tident)
inlinevirtual

Implements XrdOss.

virtual XrdOssDF* XrdPssSys::newFile ( const char *  tident)
inlinevirtual

Implements XrdOss.

char * XrdPssSys::P2URL ( int &  retc,
char *  pbuff,
int  pblen,
const char *  path,
int  Split = 0,
const char *  Cgi = 0,
int  CgiLn = 0,
const char *  tIdent = 0,
int  doN2N = 1 
)
static
int XrdPssSys::Remdir ( const char *  path,
int  Opts = 0,
XrdOucEnv eP = 0 
)
virtual
int XrdPssSys::Rename ( const char *  oldname,
const char *  newname,
XrdOucEnv eP1 = 0,
XrdOucEnv eP2 = 0 
)
virtual
int XrdPssSys::Stat ( const char *  path,
struct stat buff,
int  opts = 0,
XrdOucEnv eP = 0 
)
virtual
int XrdPssSys::T2UID ( const char *  Ident)
static

References myUid.

Referenced by XrdPssDir::Opendir().

int XrdPssSys::Truncate ( const char *  path,
unsigned long long  flen,
XrdOucEnv eP = 0 
)
virtual
int XrdPssSys::Unlink ( const char *  path,
int  Opts = 0,
XrdOucEnv eP = 0 
)
virtual
int XrdPssSys::xcach ( XrdSysError Eroute,
XrdOucStream Config 
)
private
int XrdPssSys::xcacl ( XrdSysError Eroute,
XrdOucStream Config 
)
private
char * XrdPssSys::xcapr ( XrdSysError Eroute,
XrdOucStream Config,
char *  pBuff 
)
private
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::xnml ( XrdSysError Eroute,
XrdOucStream Config 
)
private
int XrdPssSys::xorig ( XrdSysError errp,
XrdOucStream Config 
)
private
int XrdPssSys::xsopt ( XrdSysError Eroute,
XrdOucStream Config 
)
private
int XrdPssSys::xtrac ( XrdSysError Eroute,
XrdOucStream Config 
)
private

Member Data Documentation

char XrdPssSys::allChmod = 0
static
char XrdPssSys::allMkdir = 0
static
char XrdPssSys::allMv = 0
static

Referenced by Rename().

char XrdPssSys::allRm = 0
static

Referenced by Remdir(), and Unlink().

char XrdPssSys::allRmdir = 0
static

Referenced by Remdir().

char XrdPssSys::allTrunc = 0
static
char XrdPssSys::cfgDone = 0
static
const char * XrdPssSys::ConfigFN
static
char* XrdPssSys::cParm
private
char* XrdPssSys::cPath
private
unsigned long long XrdPssSys::DirFlags
private
const char * XrdPssSys::hdrData = 0
static

Referenced by P2URL().

int XrdPssSys::hdrLen = 0
static
char* XrdPssSys::LocalRoot
private
XrdOucTList * XrdPssSys::ManList = 0
static
gid_t XrdPssSys::myGid = getegid()
static
const char * XrdPssSys::myHost
static
const char * XrdPssSys::myName
static
uid_t XrdPssSys::myUid = geteuid()
static

Referenced by Remdir(), Rename(), T2UID(), and Unlink().

XrdVersionInfo* XrdPssSys::myVersion
private
char* XrdPssSys::N2NLib
private
char* XrdPssSys::N2NParms
private
XrdOucName2Name* XrdPssSys::theN2N
private

Referenced by Lfn2Pfn(), and P2URL().

int XrdPssSys::Trace
static
int XrdPssSys::TraceLvl
private
const char * XrdPssSys::urlPlain = 0
static

Referenced by P2URL(), and Rename().

int XrdPssSys::urlPlen = 0
static

Referenced by P2URL().

const char * XrdPssSys::urlRdr = 0
static

Referenced by XrdPssConfigFfs().

int XrdPssSys::Workers = 16
static

Referenced by XrdPssConfigFfs().

XrdOucPListAnchor XrdPssSys::XPList
static

Referenced by XrdPssFile::Open().


The documentation for this class was generated from the following files: