diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-04-19 06:05:29 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-04-19 06:05:29 +0000 |
commit | c326ff3afcb25e7cee4da51ec9e0af5ac0f96981 (patch) | |
tree | 91c5d3b80049021e58ad30903af4adc4b0e4834d /src/session.h | |
parent | 2902d75dc20e2cc4f94335d7dab0db9915bbc554 (diff) |
reduced memory usage when sending messages.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@221 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/session.h b/src/session.h index 093f12f4..a0aa680a 100644 --- a/src/session.h +++ b/src/session.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 @@ -116,10 +116,16 @@ struct _Session GByteArray *read_data_buf; gchar *read_data_terminator; + /* buffer for short messages */ gchar *write_buf; gchar *write_buf_p; gint write_buf_len; + /* buffer for large data */ + const guchar *write_data; + const guchar *write_data_p; + gint write_data_len; + guint timeout_tag; guint timeout_interval; |