mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-09 01:11:43 +01:00
Sun Nov 4 20:29:31 2001 Owen Taylor <otaylor@redhat.com> * glib/gdir.[ch]: Indentation fixes, some rewriting of docs to conform to gtk-doc standard. * glib/gdir.[ch] (g_dir_close): Remove the boolean return value. What would you do if closing failed? What would the user do if you printed a warning message "closing directory %d failed"?
20 lines
448 B
C
20 lines
448 B
C
#ifndef __G_DIR_H__
|
|
#define __G_DIR_H__
|
|
|
|
#include <glib/gerror.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef struct _GDir GDir;
|
|
|
|
GDir * g_dir_open (const gchar *path,
|
|
guint flags,
|
|
GError **error);
|
|
G_CONST_RETURN gchar *g_dir_read_name (GDir *dir);
|
|
void g_dir_rewind (GDir *dir);
|
|
void g_dir_close (GDir *dir);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __G_DIR_H__ */
|