summaryrefslogtreecommitdiff
path: root/Frameworks/libxml.framework/Versions/2.6.30/Headers/xmlmodule.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-13 00:49:30 -0700
committerIra Rice <irarice@gmail.com>2009-02-13 00:49:30 -0700
commit35d95932256d615da0599bad8acdbf91777962b0 (patch)
tree48023e37d395751ae5b20a192492a097c4b9f9f9 /Frameworks/libxml.framework/Versions/2.6.30/Headers/xmlmodule.h
parentb22ac47b467684e0cd9b5497f2bd7074ead377f4 (diff)
downloadmana-35d95932256d615da0599bad8acdbf91777962b0.tar.gz
mana-35d95932256d615da0599bad8acdbf91777962b0.tar.bz2
mana-35d95932256d615da0599bad8acdbf91777962b0.tar.xz
mana-35d95932256d615da0599bad8acdbf91777962b0.zip
Added in mac build support, contributed to us by allenmoatallen> from
Legends of Mazzeroth. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'Frameworks/libxml.framework/Versions/2.6.30/Headers/xmlmodule.h')
-rw-r--r--Frameworks/libxml.framework/Versions/2.6.30/Headers/xmlmodule.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/Frameworks/libxml.framework/Versions/2.6.30/Headers/xmlmodule.h b/Frameworks/libxml.framework/Versions/2.6.30/Headers/xmlmodule.h
new file mode 100644
index 00000000..8f4a5603
--- /dev/null
+++ b/Frameworks/libxml.framework/Versions/2.6.30/Headers/xmlmodule.h
@@ -0,0 +1,57 @@
+/*
+ * Summary: dynamic module loading
+ * Description: basic API for dynamic module loading, used by
+ * libexslt added in 2.6.17
+ *
+ * Copy: See Copyright for the status of this software.
+ *
+ * Author: Joel W. Reed
+ */
+
+#ifndef __XML_MODULE_H__
+#define __XML_MODULE_H__
+
+#include <libxml/xmlversion.h>
+
+#ifdef LIBXML_MODULES_ENABLED
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * xmlModulePtr:
+ *
+ * A handle to a dynamically loaded module
+ */
+typedef struct _xmlModule xmlModule;
+typedef xmlModule *xmlModulePtr;
+
+/**
+ * xmlModuleOption:
+ *
+ * enumeration of options that can be passed down to xmlModuleOpen()
+ */
+typedef enum {
+ XML_MODULE_LAZY = 1, /* lazy binding */
+ XML_MODULE_LOCAL= 2 /* local binding */
+} xmlModuleOption;
+
+XMLPUBFUN xmlModulePtr XMLCALL xmlModuleOpen (const char *filename,
+ int options);
+
+XMLPUBFUN int XMLCALL xmlModuleSymbol (xmlModulePtr module,
+ const char* name,
+ void **result);
+
+XMLPUBFUN int XMLCALL xmlModuleClose (xmlModulePtr module);
+
+XMLPUBFUN int XMLCALL xmlModuleFree (xmlModulePtr module);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LIBXML_MODULES_ENABLED */
+
+#endif /*__XML_MODULE_H__ */