aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-recipient.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-recipient.h
parentf5be7984b2ea1a4c3591cc11090220c080216aec (diff)
downloadgsoc2013-evolution-4ed34315759b8bb3b701133bcb704b5a4891100c.tar
gsoc2013-evolution-4ed34315759b8bb3b701133bcb704b5a4891100c.tar.gz
gsoc2013-evolution-4ed34315759b8bb3b701133bcb704b5a4891100c.tar.bz2
gsoc2013-evolution-4ed34315759b8bb3b701133bcb704b5a4891100c.tar.lz
gsoc2013-evolution-4ed34315759b8bb3b701133bcb704b5a4891100c.tar.xz
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-recipient.h')
-rw-r--r--camel/camel-recipient.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/camel/camel-recipient.h b/camel/camel-recipient.h
index 6b07d84478..447cf5f10e 100644
--- a/camel/camel-recipient.h
+++ b/camel/camel-recipient.h
@@ -32,6 +32,8 @@ extern "C" {
#pragma }
#endif /* __cplusplus }*/
+#include <glib.h>
+
typedef struct {
@@ -43,7 +45,26 @@ typedef struct {
+CamelRecipientTable *camel_recipient_table_new ();
+
+void camel_recipient_table_ref (CamelRecipientTable *recipient_table);
+
+void camel_recipient_table_unref (CamelRecipientTable *recipient_table);
+
+void camel_recipient_table_add (CamelRecipientTable *recipient_table,
+ const gchar *recipient_type,
+ const gchar *recipient);
+
+void camel_recipient_table_add_list (CamelRecipientTable *recipient_table,
+ const gchar *recipient_type,
+ GList *recipient_list);
+
+void camel_recipient_table_remove (CamelRecipientTable *recipient_table,
+ const gchar *recipient_type,
+ const gchar *recipient);
+const GList *camel_recipient_table_get (CamelRecipientTable *recipient_table,
+ const gchar *recipient_type);