patch by Satoshi Nagayasu: allows appending / saving multiple
[claws.git] / src / utils.h
index 94b9d3d2ec3ca3c2c0f9b3cb431bf349a72f1d35..d2344d5ba97d5dd78dad5f731b40e35e1f8197e0 100644 (file)
@@ -330,12 +330,19 @@ gint remove_all_numbered_files    (const gchar    *dir);
 gint remove_expired_files      (const gchar    *dir,
                                 guint           hours);
 gint remove_dir_recursive      (const gchar    *dir);
+gint append_file               (const gchar    *src,
+                                const gchar    *dest,
+                                gboolean        keep_backup);
 gint copy_file                 (const gchar    *src,
                                 const gchar    *dest,
                                 gboolean        keep_backup);
 gint move_file                 (const gchar    *src,
                                 const gchar    *dest,
                                 gboolean        overwrite);
+gint copy_file_part            (FILE           *fp,
+                                off_t           offset,
+                                size_t          length,
+                                const gchar    *dest);
 gint canonicalize_file         (const gchar    *src,
                                 const gchar    *dest);
 gint canonicalize_file_replace (const gchar    *file);