#include <XrdOucVerName.hh>
|
static int | hasVersion (const char *piPath, char **piNoVN=0) |
|
static int | Version (const char *piVers, const char *piPath, bool &noFBK, char *buff, int blen) |
|
|
static bool | isOurs (const char *path) |
|
XrdOucVerName
This class performs name versioning for shared library plug-ins.
◆ hasVersion()
static int XrdOucVerName::hasVersion |
( |
const char * |
piPath, |
|
|
char ** |
piNoVN = 0 |
|
) |
| |
|
static |
Test if plugin path contains a version number.
- Parameters
-
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. |
- Returns
- >0 the version number if path contains a version.
-
=0 the path does not contain a version number.
◆ isOurs()
static bool XrdOucVerName::isOurs |
( |
const char * |
path | ) |
|
|
staticprivate |
◆ Version()
static int XrdOucVerName::Version |
( |
const char * |
piVers, |
|
|
const char * |
piPath, |
|
|
bool & |
noFBK, |
|
|
char * |
buff, |
|
|
int |
blen |
|
) |
| |
|
static |
Version a plug-in library path.
- Parameters
-
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. |
- Returns
- success The length of the reulting path in buff withe eqName set.
-
failure Zero (buffer is too small) but eqName is still set.
The documentation for this class was generated from the following file: