#include "XrdVersion.hh"
#include "XrdOss/XrdOss.hh"
Go to the source code of this file.
◆ XrdOssDefaultSS()
XrdOss * XrdOssDefaultSS |
( |
XrdSysLogger * |
logger, |
|
|
const char * |
cfg_fn, |
|
|
XrdVersionInfo & |
urVer |
|
) |
| |
|
extern |
Get the default Storage System object.
Include this file in your code to declare the external function that obtains a default version of the XrdOss object; then simply invoke it.
- Parameters
-
logger | the address of the logging object to direct messages. |
cfg_fn | the address of the configuration file path. |
urVer | the version string associated with your code. This is generated by the XrdVERSIONINFODEF macro and can be found in XrdVersion.hh include file. You must supply a compatible version identification string. |
- Returns
- XrdOss pointer to a default configured storage system object. 0 a storage system object could not be created because of configration problems or your version is incompatible.