aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-30 05:49:54 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-30 05:49:54 +0000
commitf3fb1172b4b6ecf8254e52d03bb326f78cd58e57 (patch)
tree3d3da8c64e6ad1a1f1025fdf89d12bc43538a484 /src/utils.h
parent59e5f5b6f481f379846734755603bae75eb98460 (diff)
when sending messages, check for line length limit and display warning if exceeds.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@386 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index 46767d90..e3cfa75f 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2004 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2005 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -299,6 +299,9 @@ void subst_for_filename (gchar *str);
gboolean is_header_line (const gchar *str);
gboolean is_ascii_str (const guchar *str);
gint get_quote_level (const gchar *str);
+gint check_line_length (const gchar *str,
+ gint max_chars,
+ gint *line);
gchar *strstr_with_skip_quote (const gchar *haystack,
const gchar *needle);