aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part-utils.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-26 17:44:33 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-26 17:44:33 +0800
commit2a912b33018b0389672d9a4f09496b6a57071388 (patch)
treea34375a629d3d36575eae930a39ee3e76f2fba3c /camel/camel-mime-part-utils.h
parenta76dccf18b6d8b854280031dbcc9187cd5744958 (diff)
downloadgsoc2013-evolution-2a912b33018b0389672d9a4f09496b6a57071388.tar.gz
gsoc2013-evolution-2a912b33018b0389672d9a4f09496b6a57071388.tar.zst
gsoc2013-evolution-2a912b33018b0389672d9a4f09496b6a57071388.zip
new file, groups mime-part related utils. Meant to be used by providers
1999-08-26 bertrand <Bertrand.Guiheneuf@aful.org> * 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. * MimePart cleanup. Not complete yet. Content must not be parsed when constructing but only when content object is requested. Default implementation will keep content in a stream. svn path=/trunk/; revision=1144
Diffstat (limited to 'camel/camel-mime-part-utils.h')
-rw-r--r--camel/camel-mime-part-utils.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/camel/camel-mime-part-utils.h b/camel/camel-mime-part-utils.h
new file mode 100644
index 0000000000..f3f4d55c82
--- /dev/null
+++ b/camel/camel-mime-part-utils.h
@@ -0,0 +1,49 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/* camel-mime-part-utils : Utility for mime parsing and so on */
+
+
+/*
+ *
+ * Copyright (C) 1999 Bertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr> .
+ *
+ * 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 the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+#ifndef CAMEL_MIME_PART_UTILS_H
+#define CAMEL_MIME_PART_UTILS_H 1
+
+#ifdef __cplusplus
+extern "C" {
+#pragma }
+#endif /* __cplusplus }*/
+
+#include "camel-mime-part.h"
+
+
+void camel_mime_part_construct_headers_from_stream (CamelMimePart *mime_part,
+ CamelStream *stream);
+
+void camel_mime_part_construct_content_from_stream (CamelMimePart *mime_part,
+ CamelStream *stream);
+
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* CAMEL_MIME_PART_UTILS_H */
+
itle='2008-10-31 01:14:38 +0800'>2008-10-313-5/+9 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-241-1/+0 * update xfce4 to 4.4.2oliver2008-02-133-5/+11 * - Fix a typo in bsd.sites.mk along with all the places it affectedsat2007-10-261-1/+1 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * update xfce to 4.4.1oliver2007-04-123-5/+5 * Switch to using new files Mk/bsd.ocaml.mk [1] and Mk/bsd.xfce.mk [2].linimon2007-03-141-1/+0 * fix objformat problem more properlyoliver2007-02-061-2/+2 * fix build (by using libtool:15) with recent CURRENTs where objformat went awayoliver2007-02-042-1/+1 * enhance the descriptionoliver2007-01-291-3/+5 * Import xfce 4.4oliver2007-01-234-74/+63 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-6/+33 * Remove USE_REINPLACE from all categories starting with Pedwin2006-05-131-1/+0 * Remove whitespace from line endings in pkg-plist files.vd2006-05-121-1/+1 * Conversion to a single libtool environment.ade2006-02-232-2/+8 * SHA256ifyedwin2006-01-241-0/+1 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-16/+16 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1 * update to xfce 4.2.3.1oliver2005-11-093-4/+19 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-1/+1 * fix MASTER_SITESoliver2005-10-071-1/+1 * include bsd.port.pre.mk after OPTIONSoliver2005-10-071-1/+3 * fix typo I introduced in the previous commitoliver2005-06-101-1/+1 * check whether WITHOUT_LPR is defined while WITH_CUPS is not definedoliver2005-06-101-0/+4 * update to 4.2.2oliver2005-05-205-70/+22 * - make xfprint workoliver2005-04-143-2/+73 * adjust MASTER_SITESoliver2005-04-021-2/+3 * update to 4.2.1oliver2005-03-193-5/+4 * Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-1/+1 * don't set BUILD_DEPENDS=a2ps, add it (BUILD_DEPENDS+=a2ps)oliver2005-02-041-2/+2 * add another missing dependency....oliver2005-01-301-1/+2 * remove trailing \ from LIB_DEPENDSoliver2005-01-281-1/+1 * add some dependenciesoliver2005-01-281-1/+3 * - bring xfce4 to 4.2oliver2005-01-273-14/+73 * Bump PORTREVISIONS for all ports that depend on atk or pango to ease in themarcus2004-11-081-1/+1 * update to xfce4-4.0.6oliver2004-07-193-3/+5