|
Packit |
423ecb |
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="SHORTCUT ICON" href="/favicon.ico" /><style type="text/css">
|
|
Packit |
423ecb |
TD {font-family: Verdana,Arial,Helvetica}
|
|
Packit |
423ecb |
BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
|
|
Packit |
423ecb |
H1 {font-family: Verdana,Arial,Helvetica}
|
|
Packit |
423ecb |
H2 {font-family: Verdana,Arial,Helvetica}
|
|
Packit |
423ecb |
H3 {font-family: Verdana,Arial,Helvetica}
|
|
Packit |
423ecb |
A:link, A:visited, A:active { text-decoration: underline }
|
|
Packit |
423ecb |
</style><style type="text/css">
|
|
Packit |
423ecb |
div.deprecated pre.programlisting {border-style: double;border-color:red}
|
|
Packit |
423ecb |
pre.programlisting {border-style: double;background: #EECFA1}
|
|
Packit |
423ecb |
</style><title>Module xmlmodule from libxml2</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"> | | Module xmlmodule from libxml2 |
|
|
<center>API Menu</center> | <form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form> |
<center>API Indexes</center> | |
<center>Related links</center> | |
|
| basic API for dynamic module loading, used by libexslt added in 2.6.17 Table of ContentsStructure xmlModule struct _xmlModule |
|
|
|
|
|
|
Packit |
423ecb |
The content of this structure is not made public by the API.
|
|
Packit |
423ecb |
Enum xmlModuleOption
|
|
Packit |
423ecb |
Typedef xmlModule * xmlModulePtr
|
|
Packit |
423ecb |
int xmlModuleClose (xmlModulePtr module)
|
|
Packit |
423ecb |
int xmlModuleFree (xmlModulePtr module)
|
|
Packit |
423ecb |
xmlModulePtr xmlModuleOpen (const char * name, int options)
|
|
Packit |
423ecb |
int xmlModuleSymbol (xmlModulePtr module, const char * name, void ** symbol)
|
|
Packit |
423ecb |
Description
|
|
Packit |
423ecb |
Structure xmlModule struct _xmlModule {
|
|
Packit |
423ecb |
The content of this structure is not made public by the API.
|
|
Packit |
423ecb |
}Enum xmlModuleOption {
|
|
Packit |
423ecb |
XML_MODULE_LAZY = 1 : lazy binding
|
|
Packit |
423ecb |
XML_MODULE_LOCAL = 2 : local binding
|
|
Packit |
423ecb |
}
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
A handle to a dynamically loaded module
|
|
Packit |
423ecb |
Function: xmlModuleCloseint xmlModuleClose (xmlModulePtr module)
|
|
Packit |
423ecb |
The close operations unload the associated module and free the data associated to the module.
|
|
Packit |
423ecb |
<tt>module</tt>: | the module handle | <tt>Returns</tt>: | 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)
|
|
Packit |
423ecb |
The free operations free the data associated to the module but does not unload the associated shared library which may still be in use.
|
|
Packit |
423ecb |
<tt>module</tt>: | the module handle | <tt>Returns</tt>: | 0 in case of success, -1 in case of argument error |
Function: xmlModuleOpenxmlModulePtr xmlModuleOpen (const char * name, int options)
|
|
Packit |
423ecb |
Opens a module/shared library given its name or path NOTE: that due to portability issues, behaviour can only be guaranteed with @name using ASCII. We canot guarantee that an UTF-8 string would work, which is why name is a const char * and not a const xmlChar * . TODO: options are not yet implemented.
|
|
Packit |
423ecb |
<tt>name</tt>: | the module name | <tt>options</tt>: | a set of xmlModuleOption | <tt>Returns</tt>: | a handle for the module or NULL in case of error |
Function: xmlModuleSymbolint xmlModuleSymbol (xmlModulePtr module, const char * name, void ** symbol)
|
|
Packit |
423ecb |
Lookup for a symbol address in the given module NOTE: that due to portability issues, behaviour can only be guaranteed with @name using ASCII. We canot guarantee that an UTF-8 string would work, which is why name is a const char * and not a const xmlChar * .
|
|
Packit |
423ecb |
<tt>module</tt>: | the module | <tt>name</tt>: | the name of the symbol | <tt>symbol</tt>: | the resulting symbol address | <tt>Returns</tt>: | 0 if the symbol was found, or -1 in case of error |
Daniel Veillard </body></html>
|