|
xrootd
|
Go to the source code of this file.
Functions | |
| bool | XrdOucPreload (const char *plib, char *eBuff, int eBlen, bool retry=false) |
| This include file define a utility function that pre-loads a plugin. More... | |
| bool XrdOucPreload | ( | const char * | plib, |
| char * | eBuff, | ||
| int | eBlen, | ||
| bool | retry = false |
||
| ) |
This include file define a utility function that pre-loads a plugin.
Preload a plugin and persist its image. Internal plugin version checking is performed when the plugin is actually initialized.
| plib | Pointer to the shared library path that contains the plugin. |
| eBuff | Pointer to a buffer tat is to receive any messages. Upon failure it will contain an eror message. Upon success it will contain an informational message that describes the version that was loaded. |
| eBlen | The length of the eBuff, it should be at least 1K to avoid message truncation as the message may have a path. |
| retry | When true: if the version name of the plugin is not found, try to preload the unversioned name. When false: Only the versioned name of the plugin may be preloaded (i.e. libXXXX-n.so). |