xmlmodule.h

00001 /*
00002 
00003  * Summary: dynamic module loading
00004 
00005  * Description: basic API for dynamic module loading, used by
00006 
00007  *              libexslt added in 2.6.17
00008 
00009  *
00010 
00011  * Copy: See Copyright for the status of this software.
00012 
00013  *
00014 
00015  * Author: Joel W. Reed
00016 
00017  */
00018 
00019 
00020 
00021 #ifndef __XML_MODULE_H__
00022 
00023 #define __XML_MODULE_H__
00024 
00025 
00026 
00027 #include <libxml/xmlversion.h>
00028 
00029 
00030 
00031 #ifdef LIBXML_MODULES_ENABLED
00032 
00033 
00034 
00035 #ifdef __cplusplus
00036 
00037 extern "C" {
00038 
00039 #endif
00040 
00041 
00042 
00053 typedef struct _xmlModule xmlModule;
00054 
00055 typedef xmlModule *xmlModulePtr;
00056 
00057 
00058 
00069 typedef enum {
00070 
00071     XML_MODULE_LAZY = 1,        /* lazy binding */
00072 
00073     XML_MODULE_LOCAL= 2         /* local binding */
00074 
00075 } xmlModuleOption;
00076 
00077 
00078 
00079 XMLPUBFUN xmlModulePtr XMLCALL xmlModuleOpen    (const char *filename,
00080 
00081                                                  int options);
00082 
00083 
00084 
00085 XMLPUBFUN int XMLCALL xmlModuleSymbol           (xmlModulePtr module,
00086 
00087                                                  const char* name,
00088 
00089                                                  void **result);
00090 
00091 
00092 
00093 XMLPUBFUN int XMLCALL xmlModuleClose            (xmlModulePtr module);
00094 
00095 
00096 
00097 XMLPUBFUN int XMLCALL xmlModuleFree             (xmlModulePtr module);
00098 
00099 
00100 
00101 #ifdef __cplusplus
00102 
00103 }
00104 
00105 #endif 
00106 
00107 
00108 
00109 #endif /* LIBXML_MODULES_ENABLED */
00110 
00111 
00112 
00113 #endif /*__XML_MODULE_H__ */
00114 

Generated on Wed Jul 26 13:30:46 2006 for XSB by  doxygen 1.4.5