basic API for dynamic module loading, used by libexslt added in 2.6.17 Table of ContentsStructure xmlModule struct _xmlModule
The content of this structure is not made public by the API.
Typedef xmlModule * xmlModulePtr
int xmlModuleClose (xmlModulePtr module)
int xmlModuleFree (xmlModulePtr module)
xmlModulePtr xmlModuleOpen (const char * name)
void * xmlModuleSymbol (xmlModulePtr module, const char * name)
Description
Structure xmlModule struct _xmlModule {
The content of this structure is not made public by the API.
} Function: xmlModuleCloseint xmlModuleClose (xmlModulePtr module)
The close operations unload the associated module and free the data associated to the module.
| module: | the module handle | | Returns: | 0 in case of success, -1 in case of argument error and -2 if the module could not be closed/unloaded. |
Function: xmlModuleFreeint xmlModuleFree (xmlModulePtr module)
The free operations free the data associated to the module but does not unload the associated shared library which may still be in use.
| module: | the module handle | | Returns: | 0 in case of success, -1 in case of argument error |
Function: xmlModuleOpenxmlModulePtr xmlModuleOpen (const char * name)
Opens a module/shared library given its name or path
| name: | the module name | | Returns: | a handle for the module or NULL in case of error |
Function: xmlModuleSymbolvoid * xmlModuleSymbol (xmlModulePtr module, const char * name)
Lookup for a symbol address in the given module
| module: | the module | | name: | the name of the symbol | | Returns: | the pointer to the symbol object or NULL in case of error |
Daniel Veillard |