Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlmodule from libxml2

API Menu
API Indexes
Related links

basic API for dynamic module loading, used by libexslt added in 2.6.17

Table of Contents

Structure 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

Structure xmlModule
struct _xmlModule { The content of this structure is not made public by the API. }

Function: xmlModuleClose

int	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: xmlModuleFree

int	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: xmlModuleOpen

xmlModulePtr	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: xmlModuleSymbol

void *	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