Go to the source code of this file.
|
#define | OFS_NAME "libXrdOfs.so" |
|
#define | TS_Xeq(key, func) NoGo = (strcmp(key, var) == 0) ? func(Config) : 0 |
|
|
static XrdSfsFileSystem * | LoadFS (const std::string &fslib, XrdSysError &eDest, const std::string &config_file) |
|
XrdSfsFileSystem * | XrdSfsGetFileSystem (XrdSfsFileSystem *native_fs, XrdSysLogger *lp, const char *configfn) |
|
XrdSfsFileSystem * | XrdSfsGetFileSystem2 (XrdSfsFileSystem *native_fs, XrdSysLogger *lp, const char *configfn, XrdOucEnv *envP) |
|
XrdSfsFileSystem * | XrdThrottle::XrdSfsGetFileSystem_Internal (XrdSfsFileSystem *native_fs, XrdSysLogger *lp, const char *configfn, XrdOucEnv *envP) |
|
| XrdVERSIONINFO (XrdSfsGetFileSystem, FileSystem) |
|
| XrdVERSIONINFO (XrdSfsGetFileSystem2, FileSystem) |
|
◆ OFS_NAME
#define OFS_NAME "libXrdOfs.so" |
◆ TS_Xeq
#define TS_Xeq |
( |
| key, |
|
|
| func ) NoGo = (strcmp(key, var) == 0) ? func(Config) : 0 |
◆ LoadFS()
Definition at line 21 of file XrdThrottleFileSystemConfig.cc.
21 {
22
26 {
29 const char *configfn,
31
33 {
34 eDest.
Emsg(
"Config",
"Unable to load OFS filesystem.");
35 }
36 }
37 else
38 {
41 ofsLib.getPlugin("XrdSfsGetFileSystem")))
42 return NULL;
43 if (!(fs = (*ep)(0,
eDest.
logger(), config_file.c_str())))
44 {
45 eDest.
Emsg(
"Config",
"Unable to create file system object via", fslib.c_str());
46 return NULL;
47 }
48 }
49 ofsLib.Persist();
50
51 return fs;
52}
static XrdSysError eDest(0,"crypto_")
XrdSfsFileSystem * XrdSfsGetDefaultFileSystem(XrdSfsFileSystem *native_fs, XrdSysLogger *lp, const char *configfn, XrdOucEnv *EnvInfo)
int Emsg(const char *esfx, int ecode, const char *text1, const char *text2=0)
XrdSysLogger * logger(XrdSysLogger *lp=0)
References eDest, XrdSysError::Emsg(), XrdSysPlugin::getPlugin(), XrdSysError::logger(), OFS_NAME, XrdSysPlugin::Persist(), and XrdSfsGetDefaultFileSystem().
◆ XrdSfsGetFileSystem()
◆ XrdSfsGetFileSystem2()
◆ XrdVERSIONINFO() [1/2]
◆ XrdVERSIONINFO() [2/2]