aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-recipient.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-02 19:19:40 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-02 19:19:40 +0800
commit5c7fc6df1165a26c7dfca91f9664c4e860856824 (patch)
treef0edec368083102280630c6d7f2ac3f88c98add3 /camel/camel-recipient.h
parentacfd8adff8c507d6ee738993866aefa12361b172 (diff)
downloadgsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar
gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.gz
gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.bz2
gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.lz
gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.xz
gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.tar.zst
gsoc2013-evolution-5c7fc6df1165a26c7dfca91f9664c4e860856824.zip
changed decl to fit CRLFunc. (_write_recipients_to_stream): calls
1999-09-02 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-message.c (_write_one_recipient_to_stream): changed decl to fit CRLFunc. (_write_recipients_to_stream): calls camel_recipient_foreach_recipient_type now. * camel/camel-recipient.c (camel_recipient_foreach_recipient_type): new convinience function. Iterate over all recipient types. * camel/gmime-utils.c (gmime_write_header_table_to_stream): s/write_header_table_to_stream/gmime_write_header_table_to_stream/ (gmime_write_header_with_glist_to_stream): s/write_header_with_glist_to_stream/gmime_write_header_with_glist_to_stream/ svn path=/trunk/; revision=1167
Diffstat (limited to 'camel/camel-recipient.h')
-rw-r--r--camel/camel-recipient.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/camel-recipient.h b/camel/camel-recipient.h
index 447cf5f10e..c568e6e2ba 100644
--- a/camel/camel-recipient.h
+++ b/camel/camel-recipient.h
@@ -43,6 +43,11 @@ typedef struct {
} CamelRecipientTable;
+typedef void (*CRLFunc) (gchar *recipient_type,
+ GList *recipient_list,
+ gpointer user_data);
+
+
CamelRecipientTable *camel_recipient_table_new ();
@@ -66,6 +71,9 @@ void camel_recipient_table_remove (CamelRecipientTable *recipient_table,
const GList *camel_recipient_table_get (CamelRecipientTable *recipient_table,
const gchar *recipient_type);
+void camel_recipient_foreach_recipient_type (CamelRecipientTable *recipient_table,
+ CRLFunc func,
+ gpointer user_data);
#ifdef __cplusplus