XRootD
Loading...
Searching...
No Matches
XrdBwm.cc File Reference
#include <unistd.h>
#include <cerrno>
#include <cstring>
#include <cstdio>
#include <cstdlib>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "XrdVersion.hh"
#include "XrdBwm/XrdBwm.hh"
#include "XrdBwm/XrdBwmTrace.hh"
#include "XrdAcc/XrdAccAuthorize.hh"
#include "XrdNet/XrdNetAddr.hh"
#include "XrdOuc/XrdOucEnv.hh"
#include "XrdOuc/XrdOucUtils.hh"
#include "XrdOuc/XrdOucTrace.hh"
#include "XrdSec/XrdSecEntity.hh"
#include "XrdSfs/XrdSfsAio.hh"
#include "XrdSfs/XrdSfsInterface.hh"
#include "XrdSys/XrdSysError.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysLogger.hh"
#include "XrdSys/XrdSysPlatform.hh"
#include "XrdSys/XrdSysPthread.hh"
+ Include dependency graph for XrdBwm.cc:

Go to the source code of this file.

Functions

XrdSfsFileSystemXrdSfsGetFileSystem (XrdSfsFileSystem *native_fs, XrdSysLogger *lp, const char *configfn)
 
 XrdVERSIONINFO (XrdSfsGetFileSystem, XrdBwm)
 

Variables

XrdSysError BwmEroute (0)
 
XrdBwm XrdBwmFS
 

Function Documentation

◆ XrdSfsGetFileSystem()

XrdSfsFileSystem * XrdSfsGetFileSystem ( XrdSfsFileSystem * native_fs,
XrdSysLogger * lp,
const char * configfn )

Definition at line 147 of file XrdBwm.cc.

150{
151// Do the herald thing
152//
153 BwmEroute.SetPrefix("bwm_");
154 BwmEroute.logger(lp);
155 BwmEroute.Say("Copr. 2008 Stanford University, Bwm Version " XrdVSTRING);
156
157// Initialize the subsystems
158//
159 XrdBwmFS.ConfigFN = (configfn && *configfn ? strdup(configfn) : 0);
160 if ( XrdBwmFS.Configure(BwmEroute) ) return 0;
161
162// All done, we can return the callout vector to these routines.
163//
164 return &XrdBwmFS;
165}
XrdBwm XrdBwmFS
Definition XrdBwm.cc:83
XrdSysError BwmEroute(0)
Definition XrdBwm.cc:69

References BwmEroute, and XrdBwmFS.

Referenced by XrdBwm::XrdBwm(), XrdVERSIONINFO(), XrdVERSIONINFO(), and XrdVERSIONINFO().

+ Here is the caller graph for this function:

◆ XrdVERSIONINFO()

XrdVERSIONINFO ( XrdSfsGetFileSystem ,
XrdBwm  )

References XrdSfsGetFileSystem().

+ Here is the call graph for this function:

Variable Documentation

◆ BwmEroute

◆ XrdBwmFS