sync with 0.7.4cvs49
[claws.git] / src / utils.h
index e69dd26631d683ef2641e92f409092b79c48bfa0..f9f93c769337a886273f918874314ef3f9bf711c 100644 (file)
@@ -298,9 +298,15 @@ gchar *get_domain_name             (void);
 off_t get_file_size            (const gchar    *file);
 off_t get_file_size_as_crlf    (const gchar    *file);
 off_t get_left_file_size       (FILE           *fp);
+
 gboolean file_exist            (const gchar    *file,
                                 gboolean        allow_fifo);
 gboolean is_dir_exist          (const gchar    *dir);
+gboolean is_file_entry_exist   (const gchar    *file);
+
+#define is_file_exist(file)            file_exist(file, FALSE)
+#define is_file_or_fifo_exist(file)    file_exist(file, TRUE)
+
 gint change_dir                        (const gchar    *dir);
 gint make_dir_hier             (const gchar    *dir);
 gint remove_all_files          (const gchar    *dir);
@@ -318,9 +324,6 @@ gint change_file_mode_rw    (FILE           *fp,
 FILE *my_tmpfile               (void);
 FILE *str_open_as_stream       (const gchar    *str);
 
-#define is_file_exist(file)            file_exist(file, FALSE)
-#define is_file_or_fifo_exist(file)    file_exist(file, TRUE)
-
 /* process execution */
 gint execute_async             (gchar *const    argv[]);
 gint execute_sync              (gchar *const    argv[]);