diff options
| author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-03-11 22:54:59 +0000 | 
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-03-11 22:54:59 +0000 | 
| commit | 0ef72a5769f1c283786aa105d67127d6b113168c (patch) | |
| tree | 93ff3208745d5355cc7ad5d57c23864d54734dab /eglib/gmain.h | |
| parent | 56afc8a3d8a5019d44c9607508b75be0c61b1930 (diff) | |
Add g_dir* and g_str_has_prefix functions to eglib.
Diffstat (limited to 'eglib/gmain.h')
| -rw-r--r-- | eglib/gmain.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/eglib/gmain.h b/eglib/gmain.h index b3590338..beb9e32e 100644 --- a/eglib/gmain.h +++ b/eglib/gmain.h @@ -229,6 +229,7 @@ gchar* g_strdelimit(gchar *string, const gchar *delimiters, gchar new_delim);  gchar *g_strconcat(const gchar *string1, ...);  gchar **g_strsplit(const gchar *string, const gchar *delimiter, gint max_tokens);  gboolean g_str_equal(gconstpointer v1, gconstpointer v2); +gboolean g_str_has_prefix(const gchar *str, const gchar *prefix);  #define g_new(struct_type, n_structs) \  	((struct_type *) g_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) @@ -345,4 +346,12 @@ gboolean g_markup_parse_context_parse(GMarkupParseContext *context,  void g_markup_parse_context_free(GMarkupParseContext *context); +/* GDir */ + +typedef struct _GDir GDir; + +GDir *g_dir_open(const gchar *path, guint flags, GError **error); +const gchar *g_dir_read_name(GDir *dir); +void g_dir_close(GDir *dir); +  #endif /* __GMAIN_H */  | 
