aboutsummaryrefslogtreecommitdiff
path: root/libsylph/utils.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-06-23 06:15:25 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-06-23 06:15:25 +0000
commitc36140823bb2b5a3c7013970748a8cef832e2ce3 (patch)
tree619a5b2d104fb7b7393776ac800ef967947c0294 /libsylph/utils.h
parentafa9a51b3aaabe150ebebc67bd63fdaf5f558d67 (diff)
libsylph/utils.[ch]: to_human_readable_buf(): new.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2909 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r--libsylph/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h
index 200f03b3..14b289be 100644
--- a/libsylph/utils.h
+++ b/libsylph/utils.h
@@ -225,6 +225,9 @@ gchar *itos_buf (gchar *nstr,
gchar *itos (gint n);
gchar *utos_buf (gchar *nstr,
guint n);
+gchar *to_human_readable_buf (gchar *buf,
+ size_t bufsize,
+ gint64 size);
gchar *to_human_readable (gint64 size);
/* alternative string functions */