d011b2b6e0
- attremover 1.0.14 - htmlviewer 0.32 - notification 0.30 - rssyl 0.33 - vcalendar 2.0.13 While here add patches for upstream bugs #2840, #2841 and #2842. Add links to corresponding patches for tracking purposes. All from Christopher Zimmermann, thanks!
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
$OpenBSD: patch-src_common_quoted-printable_h,v 1.1 2012/06/29 14:02:54 landry Exp $
|
|
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2640
|
|
--- src/common/quoted-printable.h.orig Wed Jun 27 11:05:23 2012
|
|
+++ src/common/quoted-printable.h Fri Jun 29 10:56:09 2012
|
|
@@ -22,6 +22,18 @@
|
|
|
|
#include <glib.h>
|
|
|
|
+/* Processes at most 78 characters from in buffer,
|
|
+ * and stores one NULL-terminated line of at most 76 characters (excl. \0) of
|
|
+ * quoted-printable output without terminating newline characters in out buffer.
|
|
+ * Except when encoding text, every output line ends in a soft line break.
|
|
+ * Therefore the caller can chain multiple lines of encoded data resulting from
|
|
+ * sequential runs by glueing them together with line breaks.
|
|
+ * The number of processed input characters is returned. */
|
|
+gint qp_encode (gboolean text,
|
|
+ gchar *out,
|
|
+ const guchar *in,
|
|
+ gint len);
|
|
+/* Deprecated */
|
|
void qp_encode_line (gchar *out,
|
|
const guchar *in);
|
|
gint qp_decode_line (gchar *str);
|