xrootd
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
XrdOucNSWalk Class Reference

#include <XrdOucNSWalk.hh>

Collaboration diagram for XrdOucNSWalk:
Collaboration graph
[legend]

Classes

class  CallBack
 
struct  NSEnt
 

Public Member Functions

NSEntIndex (int &rc, const char **dPath=0)
 
void setCallBack (CallBack *cbP=0)
 
void setMsgOn (const char *pfx)
 
 XrdOucNSWalk (XrdSysError *erp, const char *dname, const char *LKfn=0, int opts=retAll, XrdOucTList *xP=0)
 
 ~XrdOucNSWalk ()
 

Static Public Attributes

static const int retDir = 0x0001
 
static const int retFile = 0x0002
 
static const int retLink = 0x0004
 
static const int retMisc = 0x0008
 
static const int retAll = 0x000f
 
static const int retStat = 0x0010
 
static const int retIDLO = 0x0020
 
static const int retIILO = 0x0040
 
static const int Recurse = 0x0080
 
static const int noPath = 0x0100
 
static const int skpErrs = 0x8000
 

Private Member Functions

void addEnt (XrdOucNSWalk::NSEnt *eP)
 
int Build ()
 
int Emsg (const char *pfx, int rc, const char *tx1, const char *tx2=0)
 
int getLink (XrdOucNSWalk::NSEnt *eP)
 
int getStat (XrdOucNSWalk::NSEnt *eP, int doLstat=0)
 
int getStat ()
 
int inXList (const char *dName)
 
int isSymlink ()
 
int LockFile ()
 
void setPath (char *newpath)
 

Private Attributes

XrdSysErroreDest
 
XrdOucTListDList
 
XrdOucTListXList
 
struct NSEntDEnts
 
struct stat dStat
 
CallBackedCB
 
const char * mPfx
 
char DPath [1032]
 
char * File
 
char * LKFn
 
int LKfd
 
int DPfd
 
int Opts
 
int errOK
 
int isEmpty
 

Constructor & Destructor Documentation

◆ XrdOucNSWalk()

XrdOucNSWalk::XrdOucNSWalk ( XrdSysError erp,
const char *  dname,
const char *  LKfn = 0,
int  opts = retAll,
XrdOucTList xP = 0 
)

◆ ~XrdOucNSWalk()

XrdOucNSWalk::~XrdOucNSWalk ( )

Member Function Documentation

◆ addEnt()

void XrdOucNSWalk::addEnt ( XrdOucNSWalk::NSEnt eP)
private

◆ Build()

int XrdOucNSWalk::Build ( )
private

◆ Emsg()

int XrdOucNSWalk::Emsg ( const char *  pfx,
int  rc,
const char *  tx1,
const char *  tx2 = 0 
)
private

◆ getLink()

int XrdOucNSWalk::getLink ( XrdOucNSWalk::NSEnt eP)
private

◆ getStat() [1/2]

int XrdOucNSWalk::getStat ( )
private

◆ getStat() [2/2]

int XrdOucNSWalk::getStat ( XrdOucNSWalk::NSEnt eP,
int  doLstat = 0 
)
private

◆ Index()

NSEnt * XrdOucNSWalk::Index ( int &  rc,
const char **  dPath = 0 
)

◆ inXList()

int XrdOucNSWalk::inXList ( const char *  dName)
private

◆ isSymlink()

int XrdOucNSWalk::isSymlink ( )
private

◆ LockFile()

int XrdOucNSWalk::LockFile ( )
private

◆ setCallBack()

void XrdOucNSWalk::setCallBack ( CallBack cbP = 0)
inline

References edCB.

◆ setMsgOn()

void XrdOucNSWalk::setMsgOn ( const char *  pfx)
inline

References mPfx.

◆ setPath()

void XrdOucNSWalk::setPath ( char *  newpath)
private

Member Data Documentation

◆ DEnts

struct NSEnt* XrdOucNSWalk::DEnts
private

◆ DList

XrdOucTList* XrdOucNSWalk::DList
private

◆ DPath

char XrdOucNSWalk::DPath[1032]
private

◆ DPfd

int XrdOucNSWalk::DPfd
private

◆ dStat

struct stat XrdOucNSWalk::dStat
private

◆ edCB

CallBack* XrdOucNSWalk::edCB
private

Referenced by setCallBack().

◆ eDest

XrdSysError* XrdOucNSWalk::eDest
private

◆ errOK

int XrdOucNSWalk::errOK
private

◆ File

char* XrdOucNSWalk::File
private

◆ isEmpty

int XrdOucNSWalk::isEmpty
private

◆ LKfd

int XrdOucNSWalk::LKfd
private

◆ LKFn

char* XrdOucNSWalk::LKFn
private

◆ mPfx

const char* XrdOucNSWalk::mPfx
private

Referenced by setMsgOn().

◆ noPath

const int XrdOucNSWalk::noPath = 0x0100
static

◆ Opts

int XrdOucNSWalk::Opts
private

◆ Recurse

const int XrdOucNSWalk::Recurse = 0x0080
static

◆ retAll

const int XrdOucNSWalk::retAll = 0x000f
static

◆ retDir

const int XrdOucNSWalk::retDir = 0x0001
static

◆ retFile

const int XrdOucNSWalk::retFile = 0x0002
static

◆ retIDLO

const int XrdOucNSWalk::retIDLO = 0x0020
static

◆ retIILO

const int XrdOucNSWalk::retIILO = 0x0040
static

◆ retLink

const int XrdOucNSWalk::retLink = 0x0004
static

◆ retMisc

const int XrdOucNSWalk::retMisc = 0x0008
static

◆ retStat

const int XrdOucNSWalk::retStat = 0x0010
static

◆ skpErrs

const int XrdOucNSWalk::skpErrs = 0x8000
static

◆ XList

XrdOucTList* XrdOucNSWalk::XList
private

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