XrdOucVerName Class Reference
#include <XrdOucVerName.hh>
List of all members.
Static Public Member Functions |
static int | hasVersion (const char *piPath) |
static int | Version (const char *piVers, const char *piPath, bool &noFBK, char *buff, int blen) |
Detailed Description
XrdOucVerName
This class performs name versioning for shared library plug-ins.
Member Function Documentation
static int XrdOucVerName::hasVersion |
( |
const char * |
piPath |
) |
[static] |
Test if plugin path contains a version number.
- Parameters:
-
| piPath | Pointer to the original path to the plug-in. |
- Returns:
- >0 the version number if path contains a version.
-
=0 the path does not contain a version number.
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: