XRootD
XrdXrootdRedirPI.hh File Reference
#include <cstdint>
#include <string>
+ Include dependency graph for XrdXrootdRedirPI.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdXrootdRedirPI
 

Macros

#define XrdXrootdRedirPI_Args
 

Typedefs

typedef XrdXrootdRedirPI *(* XrdXrootdRedirPI_t) (XrdXrootdRedirPI_Args)
 

Macro Definition Documentation

◆ XrdXrootdRedirPI_Args

#define XrdXrootdRedirPI_Args
Value:
XrdXrootdRedirPI *prevPI,\
XrdSysLogger *Logger,\
const char *parms, \
const char *configFn,\
XrdOucEnv *envP
XrdSysLogger Logger
Definition: XrdGlobals.cc:47
XrdOucEnv * envP
Definition: XrdPss.cc:109

When building a shared library plugin, the following "C" entry point must exist in the library:

Parameters
prevPI- pointer tp the redirect plugin that was previously loaded, nil if none. If not nil, you may return this pointer if you wish to cede control to it. Alternatively you can pass control to this plugin as needed.
Logger- The message logging object to be used for messages.
parms- pointer to optional parameters passed via the redirlib directive, nil if there are no parameters.
configFn- pointer to the path of the configuration file. If nil there is no configuration file.
envP- Pointer to the environment containing implementation specific information.
Returns
Pointer to the file system object to be used or nil if an error occurred.

extern "C" {XrdXrootdRedirPI *XrdXrootGetdRedirPI(XrdXrootdRedirPI *prevPI, XrdSysLogger *Logger, const char *parms, const char *configFn, XrdOucEnv *envP); }

Definition at line 171 of file XrdXrootdRedirPI.hh.

Typedef Documentation

◆ XrdXrootdRedirPI_t

typedef XrdXrootdRedirPI*(* XrdXrootdRedirPI_t) (XrdXrootdRedirPI_Args)

Definition at line 177 of file XrdXrootdRedirPI.hh.