#include <XrdOucNSWalk.hh>
Classes | |
class | CallBack |
struct | NSEnt |
Public Member Functions | |
NSEnt * | Index (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 | |
XrdSysError * | eDest |
XrdOucTList * | DList |
XrdOucTList * | XList |
struct NSEnt * | DEnts |
struct stat | dStat |
CallBack * | edCB |
const char * | mPfx |
char | DPath [1032] |
char * | File |
char * | LKFn |
int | LKfd |
int | DPfd |
int | Opts |
int | errOK |
int | isEmpty |
XrdOucNSWalk::XrdOucNSWalk | ( | XrdSysError * | erp, | |
const char * | dname, | |||
const char * | LKfn = 0 , |
|||
int | opts = retAll , |
|||
XrdOucTList * | xP = 0 | |||
) |
XrdOucNSWalk::~XrdOucNSWalk | ( | ) |
void XrdOucNSWalk::addEnt | ( | XrdOucNSWalk::NSEnt * | eP | ) | [private] |
int XrdOucNSWalk::Build | ( | ) | [private] |
int XrdOucNSWalk::Emsg | ( | const char * | pfx, | |
int | rc, | |||
const char * | tx1, | |||
const char * | tx2 = 0 | |||
) | [private] |
int XrdOucNSWalk::getLink | ( | XrdOucNSWalk::NSEnt * | eP | ) | [private] |
int XrdOucNSWalk::getStat | ( | ) | [private] |
int XrdOucNSWalk::getStat | ( | XrdOucNSWalk::NSEnt * | eP, | |
int | doLstat = 0 | |||
) | [private] |
NSEnt* XrdOucNSWalk::Index | ( | int & | rc, | |
const char ** | dPath = 0 | |||
) |
int XrdOucNSWalk::inXList | ( | const char * | dName | ) | [private] |
int XrdOucNSWalk::isSymlink | ( | ) | [private] |
int XrdOucNSWalk::LockFile | ( | ) | [private] |
void XrdOucNSWalk::setMsgOn | ( | const char * | pfx | ) | [inline] |
References mPfx.
void XrdOucNSWalk::setPath | ( | char * | newpath | ) | [private] |
struct NSEnt* XrdOucNSWalk::DEnts [read, private] |
XrdOucTList* XrdOucNSWalk::DList [private] |
char XrdOucNSWalk::DPath[1032] [private] |
int XrdOucNSWalk::DPfd [private] |
struct stat XrdOucNSWalk::dStat [read, private] |
CallBack* XrdOucNSWalk::edCB [private] |
Referenced by setCallBack().
XrdSysError* XrdOucNSWalk::eDest [private] |
int XrdOucNSWalk::errOK [private] |
char* XrdOucNSWalk::File [private] |
int XrdOucNSWalk::isEmpty [private] |
int XrdOucNSWalk::LKfd [private] |
char* XrdOucNSWalk::LKFn [private] |
const char* XrdOucNSWalk::mPfx [private] |
Referenced by setMsgOn().
const int XrdOucNSWalk::noPath = 0x0100 [static] |
int XrdOucNSWalk::Opts [private] |
const int XrdOucNSWalk::Recurse = 0x0080 [static] |
const int XrdOucNSWalk::retAll = 0x000f [static] |
const int XrdOucNSWalk::retDir = 0x0001 [static] |
const int XrdOucNSWalk::retFile = 0x0002 [static] |
const int XrdOucNSWalk::retIDLO = 0x0020 [static] |
const int XrdOucNSWalk::retIILO = 0x0040 [static] |
const int XrdOucNSWalk::retLink = 0x0004 [static] |
const int XrdOucNSWalk::retMisc = 0x0008 [static] |
const int XrdOucNSWalk::retStat = 0x0010 [static] |
const int XrdOucNSWalk::skpErrs = 0x8000 [static] |
XrdOucTList* XrdOucNSWalk::XList [private] |