aboutsummaryrefslogtreecommitdiff
path: root/libsylph/utils.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-12 09:33:27 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-12 09:33:27 +0000
commitec14e81935047bd2b2182595b76650b5f2fef893 (patch)
treed87f0c546859b5ef9a8f49a4f9abcdbd75ac63e7 /libsylph/utils.h
parentaf81f08052caa5dd3bf88b31d9eed3cf6158e9df (diff)
implemented concatenation of partial messages (RFC 2046).
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2608 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r--libsylph/utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h
index 93d9533f..200f03b3 100644
--- a/libsylph/utils.h
+++ b/libsylph/utils.h
@@ -416,6 +416,9 @@ 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);
+gint get_last_empty_line_size (FILE *fp,
+ off_t size);
+
gboolean file_exist (const gchar *file,
gboolean allow_fifo);
gboolean is_dir_exist (const gchar *dir);
@@ -447,6 +450,10 @@ gint copy_dir (const gchar *src,
gint move_file (const gchar *src,
const gchar *dest,
gboolean overwrite);
+gint append_file_part (FILE *fp,
+ off_t offset,
+ size_t length,
+ FILE *dest_fp);
gint copy_file_part (FILE *fp,
off_t offset,
size_t length,