#include <string>
#include <vector>
Go to the source code of this file.
|
typedef XrdOfsPrepare *(* | XrdOfsgetPrepare_t) (XrdSysError *eDest, const char *confg, const char *parms, XrdSfsFileSystem *theSfs, XrdOss *theOss, XrdOucEnv *envP) |
|
typedef XrdOfsPrepare *(* | XrdOfsAddPrepare_t) (XrdSysError *eDest, const char *confg, const char *parms, XrdSfsFileSystem *theSfs, XrdOss *theOss, XrdOucEnv *envP, XrdOfsPrepare *prepP) |
|
◆ XrdOfsAddPrepareArguments
#define XrdOfsAddPrepareArguments |
Value:
const char *confg,\
const char *parms,\
*theSfs,\
Definition XrdOfsPrepare.hh:47
Definition XrdOucEnv.hh:42
Definition XrdSfsInterface.hh:845
Definition XrdSysError.hh:90
◆ XrdOfsgetPrepareArguments
#define XrdOfsgetPrepareArguments |
Value:
const char *confg,\
const char *parms,\
*theSfs,\
◆ XrdOfsAddPrepare_t
Obtain an instance of the XrdOfsPrepare wrapper object.
This extern "C" function is called when a shared library plug-in containing implementation of this class is loaded. It must exist in the shared library and must be thread-safe.
- Parameters
-
eDest | -> The error object that must be used to print any errors or other messages (see XrdSysError.hh). |
confg | -> Name of the configuration file that was used. This pointer may be null though that would be impossible. |
parms | -> Argument string specified on the namelib directive. It may be null or point to a null string if no parms exist. |
theSfs-> | Pointer to the XrdSfsFileSystem plugin. |
theOss-> | Pointer to the OSS plugin. |
envP | -> Pointer to environmental information (may be nil). |
prepP | -> Pointer to the existing XrdOfsPrepare object that should be wrapped by the returned object. |
- Returns
- Success: A pointer to an instance of the XrdOfsPrepare object. Failure: A null pointer which causes initialization to fail.
◆ XrdOfsgetPrepare_t