From 9225eadeb28150fcb0b05ec0b31349ce812dd3d0 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 1 Feb 2008 14:21:14 +0000 Subject: Move GModule code to gmodule.c and gmodule.h --- eglib/gmodule.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 eglib/gmodule.h (limited to 'eglib/gmodule.h') diff --git a/eglib/gmodule.h b/eglib/gmodule.h new file mode 100644 index 00000000..e1830595 --- /dev/null +++ b/eglib/gmodule.h @@ -0,0 +1,20 @@ +#ifndef __GMODULE_H +#define __GMODULE_H + +#include + +typedef struct _GModule GModule; + +typedef enum { + G_MODULE_BIND_LAZY = 1 << 0, + G_MODULE_BIND_LOCAL = 1 << 1, + G_MODULE_BIND_MASK = 0x03 +} GModuleFlags; + +GModule *g_module_open(const gchar *file_name, GModuleFlags flags); +gboolean g_module_symbol(GModule *module, const gchar *symbol_name, + gpointer *symbol); +gboolean g_module_close(GModule *module); +const gchar *g_module_error(void); + +#endif /* __GMODULE_H */ -- cgit From 0ef72a5769f1c283786aa105d67127d6b113168c Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 11 Mar 2008 22:54:59 +0000 Subject: Add g_dir* and g_str_has_prefix functions to eglib. --- eglib/gmodule.h | 1 + 1 file changed, 1 insertion(+) (limited to 'eglib/gmodule.h') diff --git a/eglib/gmodule.h b/eglib/gmodule.h index e1830595..e392d5c8 100644 --- a/eglib/gmodule.h +++ b/eglib/gmodule.h @@ -14,6 +14,7 @@ typedef enum { GModule *g_module_open(const gchar *file_name, GModuleFlags flags); gboolean g_module_symbol(GModule *module, const gchar *symbol_name, gpointer *symbol); +const gchar *g_module_name(GModule *module); gboolean g_module_close(GModule *module); const gchar *g_module_error(void); -- cgit