#include <XrdCnsInventory.hh>
Public Member Functions | |
int | Conduct (const char *dPath) |
int | Init (XrdCnsLogFile *theLF) |
XrdCnsInventory () | |
~XrdCnsInventory () | |
Private Member Functions | |
int | Xref (XrdOucNSWalk::NSEnt *nP) |
Private Attributes | |
XrdCnsLogRec | dRec |
XrdCnsLogRec | fRec |
XrdCnsLogRec | mRec |
XrdCnsLogRec | sRec |
XrdCnsXref | Mount |
XrdCnsXref | Space |
XrdCnsLogFile * | lfP |
char | lfnBuff [MAXPATHLEN+1] |
const char * | cwdP |
char | mDflt |
char | sDflt |
Definition at line 22 of file XrdCnsInventory.hh.
XrdCnsInventory::XrdCnsInventory | ( | ) |
Definition at line 37 of file XrdCnsInventory.cc.
References XrdCnsXref::Default(), dRec, mDflt, Mount, sDflt, XrdCnsLogRec::setMode(), XrdCnsLogRec::setSize(), and Space.
XrdCnsInventory::~XrdCnsInventory | ( | ) | [inline] |
Definition at line 31 of file XrdCnsInventory.hh.
int XrdCnsInventory::Conduct | ( | const char * | dPath | ) |
Definition at line 57 of file XrdCnsInventory.cc.
References XrdCnsLogFile::Add(), XrdFrm::Config(), cwdP, dRec, fRec, XrdOucNSWalk::Index(), XrdOssPath::isBase, lfnBuff, lfP, XrdCns::MLog, n, XrdOucNSWalk::NSEnt::Next, XrdOucNSWalk::noPath, XrdOucNSWalk::NSEnt::Path, XrdOssPath::pathType(), XrdOucNSWalk::Recurse, XrdOucNSWalk::retFile, XrdOucNSWalk::retLink, XrdOucNSWalk::retStat, XrdCnsLogRec::setLfn1(), XrdCnsLogRec::setMode(), XrdCnsLogRec::setSize(), XrdOucNSWalk::skpErrs, XrdOucNSWalk::NSEnt::Stat, and Xref().
int XrdCnsInventory::Init | ( | XrdCnsLogFile * | theLF | ) |
Definition at line 97 of file XrdCnsInventory.cc.
References XrdCnsLogFile::Add(), XrdCnsXref::Key(), lfP, XrdCnsLogRec::lrTOD, mDflt, Mount, mRec, sDflt, XrdCnsLogRec::setLfn1(), XrdCnsLogRec::setMount(), XrdCnsLogRec::setSpace(), Space, and sRec.
int XrdCnsInventory::Xref | ( | XrdOucNSWalk::NSEnt * | nP | ) | [private] |
Definition at line 130 of file XrdCnsInventory.cc.
References XrdCnsXref::Add(), XrdCnsLogFile::Add(), XrdFrm::Config(), XrdOssPath::Extract(), XrdCnsXref::Find(), fRec, lfnBuff, lfP, XrdOucNSWalk::NSEnt::Link, XrdOucNSWalk::NSEnt::Lksz, mDflt, Mount, mRec, n, sDflt, XrdCnsLogRec::setLfn1(), XrdCnsLogRec::setMount(), XrdCnsLogRec::setSpace(), Space, and sRec.
Referenced by Conduct().
XrdCnsLogRec XrdCnsInventory::dRec [private] |
XrdCnsLogRec XrdCnsInventory::fRec [private] |
XrdCnsLogRec XrdCnsInventory::mRec [private] |
XrdCnsLogRec XrdCnsInventory::sRec [private] |
XrdCnsXref XrdCnsInventory::Mount [private] |
Definition at line 40 of file XrdCnsInventory.hh.
Referenced by Init(), XrdCnsInventory(), and Xref().
XrdCnsXref XrdCnsInventory::Space [private] |
Definition at line 41 of file XrdCnsInventory.hh.
Referenced by Init(), XrdCnsInventory(), and Xref().
XrdCnsLogFile* XrdCnsInventory::lfP [private] |
char XrdCnsInventory::lfnBuff[MAXPATHLEN+1] [private] |
const char* XrdCnsInventory::cwdP [private] |
char XrdCnsInventory::mDflt [private] |
Definition at line 45 of file XrdCnsInventory.hh.
Referenced by Init(), XrdCnsInventory(), and Xref().
char XrdCnsInventory::sDflt [private] |
Definition at line 46 of file XrdCnsInventory.hh.
Referenced by Init(), XrdCnsInventory(), and Xref().