Mercurial > geeqie
diff 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 |
line wrap: on
line diff
--- a/src/ui_fileops.h Sun Mar 01 16:46:40 2009 +0000 +++ b/src/ui_fileops.h Sun Mar 01 17:10:45 2009 +0000 @@ -54,6 +54,7 @@ gint64 filesize(const gchar *s); time_t filetime(const gchar *s); gint filetime_set(const gchar *s, time_t tval); +gboolean is_readable_file(const gchar *s); gint access_file(const gchar *s, gint mode); gint unlink_file(const gchar *s); gint symlink_utf8(const gchar *source, const gchar *target);