#include <XrdOucVerName.hh>
Static Public Member Functions | |
static int | hasVersion (const char *piPath, char **piNoVN=0) |
static int | Version (const char *piVers, const char *piPath, bool &noFBK, char *buff, int blen) |
This class performs name versioning for shared library plug-ins.
Definition at line 38 of file XrdOucVerName.hh.
|
static |
Test if plugin path contains a version number.
piPath | Pointer to the original path to the plug-in. |
piNoVN | != 0: If piPath has a version, an strdup'd path without a version is returned. Otherwise, nil is returned. == 0: Does not return an alternate path. |
Definition at line 52 of file XrdOucVerName.cc.
|
static |
Version a plug-in library path.
piVers | Pointer to the version string to be used. |
piPath | Pointer to the original path to the plug-in. |
noFBK | Upon return is set to true if the versioned name has no fallback name and must be loaded with the resulting path. |
buff | Pointer to abuffer that will hold the resulting path. |
blen | The size of the buffer. |
Definition at line 96 of file XrdOucVerName.cc.
Referenced by XrdOucPinPath(), and XrdOucPreload().