--- embedaddon/libxml2/doc/devhelp/libxml2-xmlmodule.html 2012/02/21 23:37:59 1.1 +++ embedaddon/libxml2/doc/devhelp/libxml2-xmlmodule.html 2014/06/15 19:53:36 1.1.1.2 @@ -84,11 +84,11 @@ The content of this structure is not made public by th
module: | the module handle |
Returns: | 0 in case of success, -1 in case of argument error |
xmlModulePtr xmlModuleOpen (const char * name,
int options)
-
Opens a module/shared library given its name or path TODO: options are not yet implemented.
+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.
name: | the module name |
options: | a set of xmlModuleOption |
Returns: | a handle for the module or NULL in case of error |
int xmlModuleSymbol (xmlModulePtr module,
const char * name,
void ** symbol)
-
Lookup for a symbol address in the given module
+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 * .
module: | the module |
name: | the name of the symbol |
symbol: | the resulting symbol address |
Returns: | 0 if the symbol was found, or -1 in case of error |