Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eglib
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2006-10-09 18:53:06 +0400
committerMiguel de Icaza <miguel@gnome.org>2006-10-09 18:53:06 +0400
commitf0c847de4d070a97e243a86bd11a362fff5d5b6b (patch)
tree731b0ad22189bb856f95bdc0fd0b1d51a00ea7b7 /eglib
parentdc311bb43bdcc85cd36a4cd987960624182ceeec (diff)
Add gmodule.h
svn path=/trunk/mono/; revision=66463
Diffstat (limited to 'eglib')
-rw-r--r--eglib/src/gmodule.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/eglib/src/gmodule.h b/eglib/src/gmodule.h
new file mode 100644
index 00000000000..d277cd793b3
--- /dev/null
+++ b/eglib/src/gmodule.h
@@ -0,0 +1,23 @@
+#ifndef __GLIB_GMODULE_H
+#define __GLIB_GMODULE_H
+
+#include <glib.h>
+
+/*
+ * Modules
+ */
+typedef enum {
+ G_MODULE_BIND_LAZY = 0x01,
+ G_MODULE_BIND_LOCAL = 0x02,
+ G_MODULE_BIND_MASK = 0x03
+} GModuleFlags;
+typedef struct _GModule GModule;
+
+GModule *g_module_open (const gchar *file, GModuleFlags flags);
+gboolean g_module_symbol (GModule *module, const gchar *symbol_name,
+ gpointer *symbol);
+const gchar *g_module_error (void);
+gboolean g_module_close (GModule *module);
+gchar * g_module_build_path (const gchar *directory, const gchar *module_name);
+
+#endif