|
XRootD
|
Include dependency graph for XrdOucGMap.hh:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | XrdOucGMap |
| class | XrdSecGMapEntry_t |
Macros | |
| #define | XrdOucGMapArgs |
Functions | |
| XrdOucGMap * | XrdOucgetGMap (XrdOucGMapArgs) |
| #define XrdOucGMapArgs |
Constructor
| eDest | -> The error object that must be used to print any errors or other messages (see XrdSysError.hh). |
| mapfn | -> Path to the grid map file to be used. This pointer may be null; the default path will be tested then. |
| parms | -> Argument string specified on the gridmap directive. It may be null or point to a null string if no parms exist. Curently supported parms: dbg to enable debug printouts to=timeout to set a timeout in secs on the validity of the information loaded from the file Default is 600 (10'); the reload is triggered by the first mapping request after the timeout is expired; the file is reloaded only if changed. |
Definition at line 89 of file XrdOucGMap.hh.
Referenced by XrdOucGMap::XrdOucGMap(), and XrdOucgetGMap().
| XrdOucGMap * XrdOucgetGMap | ( | XrdOucGMapArgs | ) |
Obtain an instance of the XrdOucGMap 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.
| eDest | -> The error object that must be used to print any errors or other messages (see XrdSysError.hh). |
| mapfn | -> Path to the grid map file to be used. This pointer may be null; the default path will be tested then. |
| parms | -> Argument string specified on the gridmap directive. It may be null or point to a null string if no parms exist. |
The GMap object is used frequently in the course of creating new physical connections. The algorithms used by this object must be efficient and speedy; otherwise system performance will be severely degraded. Declare compilation version.
Additionally, you should declare the xrootd version you used to compile your plug-in. While not currently required, it is highly recommended to avoid execution issues should the class definition change. Declare it as:
#include "XrdVersion.hh" XrdVERSIONINFO(XrdOucgetGMap,<name>);
where <name> is a 1- to 15-character unquoted name identifying your plugin.
Definition at line 92 of file XrdOucGMap.cc.
References eDest, XrdOucGMap::isValid(), and XrdOucGMapArgs.
Referenced by XrdSecProtocolgsi::Init().
Here is the call graph for this function:
Here is the caller graph for this function: