aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-01 22:36:17 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-01 22:36:17 +0800
commit4ed34315759b8bb3b701133bcb704b5a4891100c (patch)
tree149574f5827f58f829b5485489547ba4727ef9a8 /camel/camel-mime-message.h
parentf5be7984b2ea1a4c3591cc11090220c080216aec (diff)
downloadgsoc2013-evolution-4ed34315759b8bb3b701133bcb704b5a4891100c.tar.gz
gsoc2013-evolution-4ed34315759b8bb3b701133bcb704b5a4891100c.tar.zst
gsoc2013-evolution-4ed34315759b8bb3b701133bcb704b5a4891100c.zip
now use CamelRecipientTable
1999-09-01 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-message.c (_finalize): (_add_recipient): (_remove_recipient): (_get_recipients): now use CamelRecipientTable * camel/gmime-content-field.c: (gmime_content_field_unref): test if object to free is non void. Still are some bugs in camel-recipient.c svn path=/trunk/; revision=1152
Diffstat (limited to 'camel/camel-mime-message.h')
-rw-r--r--camel/camel-mime-message.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h
index 5f12c70e81..15238782e5 100644
--- a/camel/camel-mime-message.h
+++ b/camel/camel-mime-message.h
@@ -37,6 +37,7 @@ typedef struct _CamelMimeMessage CamelMimeMessage;
#include "camel-mime-part.h"
#include "camel-folder.h"
#include "camel-session.h"
+#include "camel-recipient.h"
#define RECIPIENT_TYPE_TO "To"
@@ -63,11 +64,8 @@ struct _CamelMimeMessage
gchar *reply_to;
gchar *from;
- GHashTable *recipients;
- /* -> each value is a GList of address strings */
- /* each key is a recipient type string in lower-case */
- /* FIXME: these should be relaced by dedicated structure */
-
+ CamelRecipientTable *recipients;
+
/* other fields */
GHashTable *flags; /* boolean values */
gboolean expunged;
@@ -93,7 +91,7 @@ typedef struct {
const gchar * (*get_subject) (CamelMimeMessage *mime_message);
void (*set_from) (CamelMimeMessage *mime_message, gchar *from);
const gchar * (*get_from) (CamelMimeMessage *mime_message);
- void (*add_recipient) (CamelMimeMessage *mime_message, gchar *recipient_type, gchar *recipient);
+ void (*add_recipient) (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient);
void (*remove_recipient) (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient);
const GList * (*get_recipients) (CamelMimeMessage *mime_message, const gchar *recipient_type);
void (*set_flag) (CamelMimeMessage *mime_message, const gchar *flag, gboolean value);
@@ -123,7 +121,7 @@ const gchar *camel_mime_message_get_subject (CamelMimeMessage *mime_message);
void camel_mime_message_set_from (CamelMimeMessage *mime_message, gchar *from);
const gchar *camel_mime_message_get_from (CamelMimeMessage *mime_message);
-void camel_mime_message_add_recipient (CamelMimeMessage *mime_message, gchar *recipient_type, gchar *recipient);
+void camel_mime_message_add_recipient (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient);
void camel_mime_message_remove_recipient (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient);
const GList *camel_mime_message_get_recipients (CamelMimeMessage *mime_message, const gchar *recipient_type);
* - force WITHOUT_NLSdinoex2009-07-281-0/+1 * - update to 6.0.3dinoex2009-07-182-5/+4 * - update to jpeg7dinoex2009-07-181-0/+1 * - do not modify owner/group of NLS dirsdinoex2009-06-011-3/+5 * - update to 6.0.2dinoex2009-05-318-38/+249 * Use @rmtry macro in the pkg-plist.edwin2008-04-191-1/+1 * - fix plistdinoex2008-01-181-1/+0 * - update to 4.4.4dinoex2008-01-133-120/+13 * - take maintanershipdinoex2007-12-121-1/+1 * Reassign to ports@ by maintainer request.linimon2007-10-281-1/+1 * comms/hylafax: update to 4.3.3edwin2007-09-094-23/+39 * - Hylafax has been released in version 4.3.2clsung2007-02-223-179/+392 * - Update to 4.3.0pav2006-10-075-18/+9 * Pass maintainer-ship to submitter.ehaupt2006-05-311-1/+1 * - Clean up distinfo for unmaintained ports: remove CVS tags, empty lines etc.sem2006-05-071-0/+1 * remove USE_REINPLACE for all ports with categories starting with Cedwin2006-05-041-1/+0 * - Add gawk on BUILD_DEPENDS toogarga2006-03-021-1/+2 * Update to 4.2.5.lawrance2006-02-1111-643/+38 * Reset inactive maintainer (several timeouts).linimon2006-02-101-1/+1 * BROKEN: Configure failskris2006-01-201-0/+2 * - Use gawk instead of awk. This fixes a problem sending email notifications.lawrance2005-11-102-2/+6 * Backport a patch from Hylafax CVS which fixes a problem sending faxes on 5.x.lawrance2005-10-082-1/+62 * Fix a verbose-mode crash:mi2005-08-024-0/+438 * - Update to 4.2.1pav2005-01-1511-355/+89 * Fix breakage caused by the recent upgrade of graphics/libtiff -- HylaFax'smi2004-10-222-3/+21 * One of the man-pages (faxinfo.8c) was listed twice in a row...mi2004-09-241-1/+1 * Commit maintainer's update to 4.2.0 from 4.1.8, unbreak -current.mi2004-09-244-26/+270 * BROKEN on 5.x: Configure failskris2004-09-191-1/+7