comparison src/ui_fileops.h @ 1360:721ffb823d6e

Introduce is_readable_file() which test if file exists, is regular and readable.
author zas_
date Sun, 01 Mar 2009 17:10:45 +0000
parents 8b89e3ff286b
children 4da6d326919c
comparison
equal deleted inserted replaced
1359:8f3d44564146 1360:721ffb823d6e
52 gint isdir(const gchar *s); 52 gint isdir(const gchar *s);
53 gint islink(const gchar *s); 53 gint islink(const gchar *s);
54 gint64 filesize(const gchar *s); 54 gint64 filesize(const gchar *s);
55 time_t filetime(const gchar *s); 55 time_t filetime(const gchar *s);
56 gint filetime_set(const gchar *s, time_t tval); 56 gint filetime_set(const gchar *s, time_t tval);
57 gboolean is_readable_file(const gchar *s);
57 gint access_file(const gchar *s, gint mode); 58 gint access_file(const gchar *s, gint mode);
58 gint unlink_file(const gchar *s); 59 gint unlink_file(const gchar *s);
59 gint symlink_utf8(const gchar *source, const gchar *target); 60 gint symlink_utf8(const gchar *source, const gchar *target);
60 gint mkdir_utf8(const gchar *s, gint mode); 61 gint mkdir_utf8(const gchar *s, gint mode);
61 gint rmdir_utf8(const gchar *s); 62 gint rmdir_utf8(const gchar *s);