2 * Summary: dynamic module loading
3 * Description: basic API for dynamic module loading, used by
4 * libexslt added in 2.6.17
6 * Copy: See Copyright for the status of this software.
11 #ifndef __XML_MODULE_H__
12 #define __XML_MODULE_H__
14 #include <libxml/xmlversion.h>
16 #ifdef LIBXML_MODULES_ENABLED
25 * A handle to a dynamically loaded module
27 typedef struct _xmlModule xmlModule;
28 typedef xmlModule *xmlModulePtr;
33 * enumeration of options that can be passed down to xmlModuleOpen()
36 XML_MODULE_LAZY = 1, /* lazy binding */
37 XML_MODULE_LOCAL= 2 /* local binding */
40 XMLPUBFUN xmlModulePtr XMLCALL xmlModuleOpen (const char *filename,
43 XMLPUBFUN int XMLCALL xmlModuleSymbol (xmlModulePtr module,
47 XMLPUBFUN int XMLCALL xmlModuleClose (xmlModulePtr module);
49 XMLPUBFUN int XMLCALL xmlModuleFree (xmlModulePtr module);
55 #endif /* LIBXML_MODULES_ENABLED */
57 #endif /*__XML_MODULE_H__ */