CMPI 2.1.0 API
|
Variables | |
char *(* | CMPIBrokerExtFT::resolveFileName )(const char *libName) |
Resolve a generic load library name to its file name. More... | |
char*(* CMPIBrokerExtFT::resolveFileName)(const char *libName) |
Resolve a generic load library name to its file name.
CMPIBrokerExtFT.resolveFileName() resolves a generic load library name to its file name.
libName | A generic load library name. Depending on the underlying OS, load library names have specific formats: For the generic load library name "MyLibrary", the corresponding file name on Linux is "libMyLibrary.so". The corresponding file name on Windows is "MyLibrary.dll". |
If successful, a pointer to a new C-language string containing the file name of the load library (without path) will be returned.
The character array of the returned string shall not be explicitly released by the MI, because it will be automatically released by the MB (see Subclause 4.1.7 of the CMPI Standard).
If not successful, NULL will be returned.
malloc()
and must be released using POSIX free()
by the caller. In case no storage could be obtained for the complemented library name, returns NULL."