summaryrefslogtreecommitdiff
path: root/glib/gstdio.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-05-29 18:05:26 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-05-29 18:05:26 +0000
commit40c54c33ebecd9f1eb11b450201376c425f26a8b (patch)
tree0ac3c350d3e1e56ceb2c7669bb2cd6ada4b273f6 /glib/gstdio.h
parent3d65ed3d540b35f786685345b3d9f8b120283293 (diff)
downloadglib-40c54c33ebecd9f1eb11b450201376c425f26a8b.tar.gz
glib/gstdio.h Add g_utime(). No need to include <sys/utime.h> in gstdio.h,
2008-05-29 Tor Lillqvist <tml@novell.com> * glib/gstdio.h * glib/gstdio.c: Add g_utime(). No need to include <sys/utime.h> in gstdio.h, just use a forward struct declaration. * glib/glib.symbols: Add it. svn path=/trunk/; revision=6960
Diffstat (limited to 'glib/gstdio.h')
-rw-r--r--glib/gstdio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/glib/gstdio.h b/glib/gstdio.h
index dd9e82ad1..f71a4e3cd 100644
--- a/glib/gstdio.h
+++ b/glib/gstdio.h
@@ -45,6 +45,7 @@ G_BEGIN_DECLS
#define g_remove remove
#define g_fopen fopen
#define g_freopen freopen
+#define g_utime utime
int g_access (const gchar *filename,
int mode);
@@ -107,6 +108,13 @@ FILE *g_freopen (const gchar *filename,
const gchar *mode,
FILE *stream);
+struct utimbuf; /* Don't need the real definition of struct utimbuf when just
+ * including this header.
+ */
+
+int g_utime (const gchar *filename,
+ struct utimbuf *utb);
+
#endif /* G_OS_UNIX */
G_END_DECLS