xrootd
Public Member Functions | Static Public Member Functions | Static Public Attributes
XrdOucUtils Class Reference

#include <XrdOucUtils.hh>

List of all members.

Public Member Functions

 XrdOucUtils ()
 ~XrdOucUtils ()

Static Public Member Functions

static char * eText (int rc, char *eBuff, int eBlen, int AsIs=0)
static int doIf (XrdSysError *eDest, XrdOucStream &Config, const char *what, const char *hname, const char *nname, const char *pname)
static int fmtBytes (long long val, char *buff, int bsz)
static char * genPath (const char *path, const char *inst, const char *psfx=0)
static int genPath (char *buff, int blen, const char *path, const char *psfx=0)
static const char * InstName (int TranOpt=0)
static const char * InstName (const char *name, int Fillit=1)
static int is1of (char *val, const char **clist)
static void makeHome (XrdSysError &eDest, const char *inst)
static int makePath (char *path, mode_t mode)
static char * subLogfn (XrdSysError &eDest, const char *inst, char *logfn)
static void Undercover (XrdSysError &eDest, int noLog, int *pipeFD=0)
static bool PidFile (XrdSysError &eDest, const char *path)

Static Public Attributes

static const mode_t pathMode = S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH

Constructor & Destructor Documentation

XrdOucUtils::XrdOucUtils ( ) [inline]
XrdOucUtils::~XrdOucUtils ( ) [inline]

Member Function Documentation

int XrdOucUtils::doIf ( XrdSysError eDest,
XrdOucStream Config,
const char *  what,
const char *  hname,
const char *  nname,
const char *  pname 
) [static]
char * XrdOucUtils::eText ( int  rc,
char *  eBuff,
int  eBlen,
int  AsIs = 0 
) [static]
int XrdOucUtils::fmtBytes ( long long  val,
char *  buff,
int  bsz 
) [static]
char * XrdOucUtils::genPath ( const char *  path,
const char *  inst,
const char *  psfx = 0 
) [static]
int XrdOucUtils::genPath ( char *  buff,
int  blen,
const char *  path,
const char *  psfx = 0 
) [static]
const char * XrdOucUtils::InstName ( int  TranOpt = 0) [static]
const char * XrdOucUtils::InstName ( const char *  name,
int  Fillit = 1 
) [static]
int XrdOucUtils::is1of ( char *  val,
const char **  clist 
) [static]

Referenced by doIf().

void XrdOucUtils::makeHome ( XrdSysError eDest,
const char *  inst 
) [static]
int XrdOucUtils::makePath ( char *  path,
mode_t  mode 
) [static]
bool XrdOucUtils::PidFile ( XrdSysError eDest,
const char *  path 
) [static]
char * XrdOucUtils::subLogfn ( XrdSysError eDest,
const char *  inst,
char *  logfn 
) [static]
void XrdOucUtils::Undercover ( XrdSysError eDest,
int  noLog,
int *  pipeFD = 0 
) [static]

Member Data Documentation

const mode_t XrdOucUtils::pathMode = S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH [static]

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