diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-02-01 11:32:10 +0000 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-02-01 11:32:10 +0000 | 
| commit | a797f53418e4f58b570c4a355dd46b33f2f68906 (patch) | |
| tree | 2dedf091226b56b946fcc6bd3e95adf533931de5 /eglib/gmain.h | |
| parent | 08fa71cc327de929ebe0c36b3d2eb0fa5190e441 (diff) | |
Add GModule support to eglib
Diffstat (limited to 'eglib/gmain.h')
| -rw-r--r-- | eglib/gmain.h | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/eglib/gmain.h b/eglib/gmain.h index 2ed00fb3..cfc53378 100644 --- a/eglib/gmain.h +++ b/eglib/gmain.h @@ -279,4 +279,20 @@ void g_string_append_printf(GString *string, const gchar *format, ...);  gchar *g_string_free(GString *string, gboolean free_segment); +/* GModule */ + +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 /* __GMAIN_H */  | 
