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

#include <XrdDigConfig.hh>

Public Types

enum  pType { isAny = 0 , isDir , isFile }
 

Public Member Functions

bool Configure (const char *cFN, const char *parms)
 
int GenAccess (const XrdSecEntity *client, const char *aList[], int aMax)
 
char * GenPath (int &rc, const XrdSecEntity *client, const char *opname, const char *lfn, pType lfnType=isAny)
 
void GetLocResp (XrdOucErrInfo &eInfo, bool nameok)
 
 XrdDigConfig ()
 
 ~XrdDigConfig ()
 

Static Public Member Functions

static void StatRoot (struct stat *sP)
 

Private Member Functions

const char * AddPath (XrdDigConfig::pType sType, const char *src, const char *tpd, const char *tfn)
 
void Audit (const XrdSecEntity *client, const char *what, const char *opn, const char *trg)
 
bool ConfigProc (const char *ConfigFN)
 
bool ConfigXeq (char *var, XrdOucStream &cFile)
 
void Empty (const char *path)
 
void SetLocResp ()
 
int ValProc (const char *ppath)
 
bool xacf (XrdOucStream &cFile)
 
bool xlog (XrdOucStream &cFile)
 

Private Attributes

char * fnTmplt
 
char * locRespHP
 
char * locRespV6
 
char * locRespV4
 
short locRlenHP
 
short locRlenV6
 
short locRlenV4
 
bool logAcc
 
bool logRej
 

Member Enumeration Documentation

◆ pType

Enumerator
isAny 
isDir 
isFile 

Constructor & Destructor Documentation

◆ XrdDigConfig()

XrdDigConfig::XrdDigConfig ( )
inline

◆ ~XrdDigConfig()

XrdDigConfig::~XrdDigConfig ( )
inline

Member Function Documentation

◆ AddPath()

const char * XrdDigConfig::AddPath ( XrdDigConfig::pType  sType,
const char *  src,
const char *  tpd,
const char *  tfn 
)
private

◆ Audit()

void XrdDigConfig::Audit ( const XrdSecEntity client,
const char *  what,
const char *  opn,
const char *  trg 
)
private

◆ ConfigProc()

bool XrdDigConfig::ConfigProc ( const char *  ConfigFN)
private

◆ Configure()

bool XrdDigConfig::Configure ( const char *  cFN,
const char *  parms 
)

◆ ConfigXeq()

bool XrdDigConfig::ConfigXeq ( char *  var,
XrdOucStream cFile 
)
private

◆ Empty()

void XrdDigConfig::Empty ( const char *  path)
private

◆ GenAccess()

int XrdDigConfig::GenAccess ( const XrdSecEntity client,
const char *  aList[],
int  aMax 
)

◆ GenPath()

char * XrdDigConfig::GenPath ( int &  rc,
const XrdSecEntity client,
const char *  opname,
const char *  lfn,
pType  lfnType = isAny 
)

◆ GetLocResp()

void XrdDigConfig::GetLocResp ( XrdOucErrInfo eInfo,
bool  nameok 
)

◆ SetLocResp()

void XrdDigConfig::SetLocResp ( )
private

◆ StatRoot()

static void XrdDigConfig::StatRoot ( struct stat sP)
static

◆ ValProc()

int XrdDigConfig::ValProc ( const char *  ppath)
private

◆ xacf()

bool XrdDigConfig::xacf ( XrdOucStream cFile)
private

◆ xlog()

bool XrdDigConfig::xlog ( XrdOucStream cFile)
private

Member Data Documentation

◆ fnTmplt

char* XrdDigConfig::fnTmplt
private

◆ locRespHP

char* XrdDigConfig::locRespHP
private

◆ locRespV4

char* XrdDigConfig::locRespV4
private

◆ locRespV6

char* XrdDigConfig::locRespV6
private

◆ locRlenHP

short XrdDigConfig::locRlenHP
private

◆ locRlenV4

short XrdDigConfig::locRlenV4
private

◆ locRlenV6

short XrdDigConfig::locRlenV6
private

◆ logAcc

bool XrdDigConfig::logAcc
private

◆ logRej

bool XrdDigConfig::logRej
private

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