#include <XrdBwm.hh>
Public Member Functions | |
XrdSfsDirectory * | newDir (char *user=0, int monid=0) |
XrdSfsFile * | newFile (char *user=0, int monid=0) |
int | chmod (const char *Name, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | exists (const char *fileName, XrdSfsFileExistence &exists_flag, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | fsctl (const int cmd, const char *args, XrdOucErrInfo &out_error, const XrdSecEntity *client) |
int | getStats (char *buff, int blen) |
const char * | getVersion () |
int | mkdir (const char *dirName, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | prepare (XrdSfsPrep &pargs, XrdOucErrInfo &out_error, const XrdSecEntity *client=0) |
int | rem (const char *path, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *info=0) |
int | remdir (const char *dirName, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *info=0) |
int | rename (const char *oldFileName, const char *newFileName, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *infoO=0, const char *infoN=0) |
int | stat (const char *Name, struct stat *buf, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | stat (const char *Name, mode_t &mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
int | truncate (const char *Name, XrdSfsFileOffset fileOffset, XrdOucErrInfo &out_error, const XrdSecEntity *client=0, const char *opaque=0) |
virtual int | Configure (XrdSysError &) |
XrdBwm () | |
virtual | ~XrdBwm () |
Public Attributes | |
XrdVersionInfo * | myVersion |
char * | ConfigFN |
char * | HostName |
char * | HostPref |
char * | myDomain |
int | myDomLen |
char | Authorize |
char | Reserved [7] |
Protected Member Functions | |
virtual int | ConfigXeq (char *var, XrdOucStream &, XrdSysError &) |
int | Emsg (const char *, XrdOucErrInfo &, int, const char *, const char *y="") |
int | Emsg (const char *, XrdOucErrInfo &, const char *, const char *, const char *y="") |
int | Stall (XrdOucErrInfo &, int, const char *) |
Private Member Functions | |
int | remove (const char type, const char *path, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque) |
int | setupAuth (XrdSysError &) |
int | setupPolicy (XrdSysError &) |
int | xalib (XrdOucStream &, XrdSysError &) |
int | xlog (XrdOucStream &, XrdSysError &) |
int | xpol (XrdOucStream &, XrdSysError &) |
int | xtrace (XrdOucStream &, XrdSysError &) |
Private Attributes | |
XrdAccAuthorize * | Authorization |
char * | AuthLib |
char * | AuthParm |
XrdBwmLogger * | Logger |
XrdBwmPolicy * | Policy |
char * | PolLib |
char * | PolParm |
char * | locResp |
int | locRlen |
int | PolSlotsIn |
int | PolSlotsOut |
XrdSysMutex | ocMutex |
Static Private Attributes | |
static XrdBwmHandle * | dummyHandle |
Friends | |
class | XrdBwmDirectory |
class | XrdBwmFile |
XrdBwm::XrdBwm | ( | ) |
virtual XrdBwm::~XrdBwm | ( | ) | [inline, virtual] |
int XrdBwm::chmod | ( | const char * | Name, | |
XrdSfsMode | Mode, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | opaque = 0 | |||
) |
virtual int XrdBwm::Configure | ( | XrdSysError & | ) | [virtual] |
virtual int XrdBwm::ConfigXeq | ( | char * | var, | |
XrdOucStream & | , | |||
XrdSysError & | ||||
) | [protected, virtual] |
int XrdBwm::Emsg | ( | const char * | , | |
XrdOucErrInfo & | , | |||
const char * | , | |||
const char * | , | |||
const char * | y = "" | |||
) | [protected] |
int XrdBwm::Emsg | ( | const char * | , | |
XrdOucErrInfo & | , | |||
int | , | |||
const char * | , | |||
const char * | y = "" | |||
) | [protected] |
int XrdBwm::exists | ( | const char * | fileName, | |
XrdSfsFileExistence & | exists_flag, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | opaque = 0 | |||
) |
int XrdBwm::fsctl | ( | const int | cmd, | |
const char * | args, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client | |||
) |
int XrdBwm::getStats | ( | char * | buff, | |
int | blen | |||
) | [inline] |
const char* XrdBwm::getVersion | ( | ) |
int XrdBwm::mkdir | ( | const char * | dirName, | |
XrdSfsMode | Mode, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | opaque = 0 | |||
) |
XrdSfsDirectory* XrdBwm::newDir | ( | char * | user = 0 , |
|
int | monid = 0 | |||
) | [inline] |
References XrdBwmDirectory.
XrdSfsFile* XrdBwm::newFile | ( | char * | user = 0 , |
|
int | monid = 0 | |||
) | [inline] |
References XrdBwmFile.
int XrdBwm::prepare | ( | XrdSfsPrep & | pargs, | |
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client = 0 | |||
) |
int XrdBwm::rem | ( | const char * | path, | |
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | info = 0 | |||
) | [inline] |
int XrdBwm::remdir | ( | const char * | dirName, | |
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | info = 0 | |||
) | [inline] |
int XrdBwm::remove | ( | const char | type, | |
const char * | path, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | opaque | |||
) | [private] |
int XrdBwm::rename | ( | const char * | oldFileName, | |
const char * | newFileName, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | infoO = 0 , |
|||
const char * | infoN = 0 | |||
) |
int XrdBwm::setupAuth | ( | XrdSysError & | ) | [private] |
int XrdBwm::setupPolicy | ( | XrdSysError & | ) | [private] |
int XrdBwm::Stall | ( | XrdOucErrInfo & | , | |
int | , | |||
const char * | ||||
) | [protected] |
int XrdBwm::stat | ( | const char * | Name, | |
mode_t & | mode, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | opaque = 0 | |||
) |
int XrdBwm::stat | ( | const char * | Name, | |
struct stat * | buf, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client, | |||
const char * | opaque = 0 | |||
) |
int XrdBwm::truncate | ( | const char * | Name, | |
XrdSfsFileOffset | fileOffset, | |||
XrdOucErrInfo & | out_error, | |||
const XrdSecEntity * | client = 0 , |
|||
const char * | opaque = 0 | |||
) |
int XrdBwm::xalib | ( | XrdOucStream & | , | |
XrdSysError & | ||||
) | [private] |
int XrdBwm::xlog | ( | XrdOucStream & | , | |
XrdSysError & | ||||
) | [private] |
int XrdBwm::xpol | ( | XrdOucStream & | , | |
XrdSysError & | ||||
) | [private] |
int XrdBwm::xtrace | ( | XrdOucStream & | , | |
XrdSysError & | ||||
) | [private] |
friend class XrdBwmDirectory [friend] |
Referenced by newDir().
friend class XrdBwmFile [friend] |
Referenced by newFile().
char* XrdBwm::AuthLib [private] |
XrdAccAuthorize* XrdBwm::Authorization [private] |
char XrdBwm::Authorize |
char* XrdBwm::AuthParm [private] |
char* XrdBwm::ConfigFN |
XrdBwmHandle* XrdBwm::dummyHandle [static, private] |
char* XrdBwm::HostName |
char* XrdBwm::HostPref |
char* XrdBwm::locResp [private] |
int XrdBwm::locRlen [private] |
XrdBwmLogger* XrdBwm::Logger [private] |
char* XrdBwm::myDomain |
int XrdBwm::myDomLen |
XrdVersionInfo* XrdBwm::myVersion |
XrdSysMutex XrdBwm::ocMutex [private] |
XrdBwmPolicy* XrdBwm::Policy [private] |
char* XrdBwm::PolLib [private] |
char* XrdBwm::PolParm [private] |
int XrdBwm::PolSlotsIn [private] |
int XrdBwm::PolSlotsOut [private] |
char XrdBwm::Reserved[7] |