aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-26 23:29:40 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-26 23:29:40 +0800
commite826255bf13255f2b5c626192de4fd10a3885b6f (patch)
tree7280cb551648d126c30162f28779503a9b1b6eeb /camel/camel-mime-part.h
parent2a912b33018b0389672d9a4f09496b6a57071388 (diff)
downloadgsoc2013-evolution-e826255bf13255f2b5c626192de4fd10a3885b6f.tar.gz
gsoc2013-evolution-e826255bf13255f2b5c626192de4fd10a3885b6f.tar.zst
gsoc2013-evolution-e826255bf13255f2b5c626192de4fd10a3885b6f.zip
contruct the content from the buffer before calling CamelMedium
1999-08-26 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-part.c (_get_content_object): contruct the content from the buffer before calling CamelMedium implementation. (_construct_from_stream): Do not construct the content by default, just store the content bytes in a temporary buffer. Content will be constructed only at caller request (when calling CamelMedium::get_content_object) Providers with better access to the messages (mbox/MH ...) will have to provider lighter implementation, that is shall not read content at all unless the caller asks for it (again with get_content). * camel/camel-mime-part-utils.c: new file, groups mime-part related utils. Meant to be used by providers subclassing MimeMessage. (camel_mime_part_construct_headers_from_stream): (camel_mime_part_construct_content_from_stream): no more useless temporary hash table. * camel/camel-mime-part.c (_construct_from_stream): calls mime-part-utils functions now. * camel/gmime-utils.c (_store_header_pair_from_string): do not use hash table to store header, use an array instead. svn path=/trunk/; revision=1145
Diffstat (limited to 'camel/camel-mime-part.h')
-rw-r--r--camel/camel-mime-part.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h
index 8ea9cf5346..7d5b19c3aa 100644
--- a/camel/camel-mime-part.h
+++ b/camel/camel-mime-part.h
@@ -48,6 +48,7 @@ typedef struct
{
CamelMedium parent_object;
+ /* All fields here are -** PRIVATE **- */
gchar *description;
GMimeContentField *disposition;
gchar *content_id;
@@ -57,6 +58,7 @@ typedef struct
gchar *filename;
GList *header_lines;
+ GByteArray *temp_message_buffer;
GMimeContentField *content_type;
} CamelMimePart;
tions'>-10/+10 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...Baptiste Daroussin2013-09-211-1/+1 * Add an explicit dependency on pkgconfBaptiste Daroussin2013-09-031-6/+2 * - Convert USE_GETTEXT to USES (part 3)Alex Kozlov2013-04-251-1/+1 * - update png to 1.5.10Dirk Meyer2012-06-011-1/+1 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)Dmitry Marakasov2011-09-241-2/+2 * - Kick MD5 supportMartin Wilke2011-07-031-1/+0 * Sync to new bsd.autotools.mkAde Lovett2010-12-041-1/+1 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.Ade Lovett2010-05-311-1/+1 * - update to 1.4.1Dirk Meyer2010-03-281-1/+1 * - update to jpeg-8Dirk Meyer2010-02-051-1/+1 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.Jeremy Messenger2009-08-031-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...Dirk Meyer2009-07-311-0/+1 * Update to 2.6.3.Joe Marcus Clarke2009-02-122-4/+4 * Presenting GNOME 2.24 for FreeBSD.Joe Marcus Clarke2009-01-106-24/+25 * Bump portrevision due to upgrade of devel/gettext.Edwin Groothuis2008-06-061-0/+1 * -Update to 2.4.4.Jeremy Messenger2008-04-084-16/+12 * The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 forJoe Marcus Clarke2008-03-243-6/+7 * Update to 2.4.3.Jeremy Messenger2007-12-125-21/+36 * - Welcome X.org 7.2 \o/.Florent Thoumie2007-05-202-16/+1 * Update to 2.4.1.Joe Marcus Clarke2006-12-233-5/+10 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with theJoe Marcus Clarke2006-10-142-4/+22