1.1 --- a/epoc32/include/stdapis/glib-2.0/glib/gdir.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/glib-2.0/glib/gdir.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,49 @@
1.4 -gdir.h
1.5 +/* GLIB - Library of useful routines for C programming
1.6 + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
1.7 + *
1.8 + * gdir.c: Simplified wrapper around the DIRENT functions.
1.9 + *
1.10 + * Copyright 2001 Hans Breuer
1.11 + * Portions copyright (c) 2006 Nokia Corporation. All rights reserved.
1.12 + *
1.13 + * This library is free software; you can redistribute it and/or
1.14 + * modify it under the terms of the GNU Lesser General Public
1.15 + * License as published by the Free Software Foundation; either
1.16 + * version 2 of the License, or (at your option) any later version.
1.17 + *
1.18 + * This library is distributed in the hope that it will be useful,
1.19 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.20 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1.21 + * Lesser General Public License for more details.
1.22 + *
1.23 + * You should have received a copy of the GNU Lesser General Public
1.24 + * License along with this library; if not, write to the
1.25 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1.26 + * Boston, MA 02111-1307, USA.
1.27 + */
1.28 +#ifndef __G_DIR_H__
1.29 +#define __G_DIR_H__
1.30 +
1.31 +#include <_ansi.h>
1.32 +#include <glib/gerror.h>
1.33 +
1.34 +G_BEGIN_DECLS
1.35 +
1.36 +typedef struct _GDir GDir;
1.37 +
1.38 +#ifdef G_OS_WIN32
1.39 +/* For DLL ABI stability, keep old names for old (non-UTF-8) functionality. */
1.40 +#define g_dir_open g_dir_open_utf8
1.41 +#define g_dir_read_name g_dir_read_name_utf8
1.42 +#endif
1.43 +
1.44 +IMPORT_C GDir * g_dir_open (const gchar *path,
1.45 + guint flags,
1.46 + GError **error);
1.47 +IMPORT_C G_CONST_RETURN gchar *g_dir_read_name (GDir *dir);
1.48 +IMPORT_C void g_dir_rewind (GDir *dir);
1.49 +IMPORT_C void g_dir_close (GDir *dir);
1.50 +
1.51 +G_END_DECLS
1.52 +
1.53 +#endif /* __G_DIR_H__ */