aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-destination.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-02 05:00:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-02 05:00:15 +0800
commit6235db69b8ebab4877b00c7b683e48d3efd2aabb (patch)
tree2f29f4e1a60c2954509ac04b2a82eb758cef9050 /addressbook/backend/ebook/e-destination.h
parent7078e689561c5af29e0007965143368fd6dba7a7 (diff)
downloadgsoc2013-evolution-6235db69b8ebab4877b00c7b683e48d3efd2aabb.tar
gsoc2013-evolution-6235db69b8ebab4877b00c7b683e48d3efd2aabb.tar.gz
gsoc2013-evolution-6235db69b8ebab4877b00c7b683e48d3efd2aabb.tar.bz2
gsoc2013-evolution-6235db69b8ebab4877b00c7b683e48d3efd2aabb.tar.lz
gsoc2013-evolution-6235db69b8ebab4877b00c7b683e48d3efd2aabb.tar.xz
gsoc2013-evolution-6235db69b8ebab4877b00c7b683e48d3efd2aabb.tar.zst
gsoc2013-evolution-6235db69b8ebab4877b00c7b683e48d3efd2aabb.zip
New function to find out if a destination was one which was auto-matically
2002-02-01 Jeffrey Stedfast <fejj@ximian.com> * backend/ebook/e-destination.c (e_destination_is_auto_recipient): New function to find out if a destination was one which was auto-matically set by Evolution. (e_destination_set_auto_recipient): Set whether or not the dest is an auto-recipient. (e_destination_touch): Don't touch the address if it is an auto_recipient. (e_destination_list_to_vector_sized): New function to avoid having to calculate the length of the list ourselves. Allows for a bit of optimization if our caller knows the length of the list. (e_destination_xml_encode): Encode the auto_recipient bit. (e_destination_xml_decode): Decode the auto_recipient bit. svn path=/trunk/; revision=15550
Diffstat (limited to 'addressbook/backend/ebook/e-destination.h')
-rw-r--r--addressbook/backend/ebook/e-destination.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-destination.h b/addressbook/backend/ebook/e-destination.h
index 4beb199503..f545794ab0 100644
--- a/addressbook/backend/ebook/e-destination.h
+++ b/addressbook/backend/ebook/e-destination.h
@@ -82,6 +82,9 @@ void e_destination_set_html_mail_pref (EDestination *, gboolean);
gboolean e_destination_contains_card (const EDestination *);
gboolean e_destination_from_card (const EDestination *);
+gboolean e_destination_is_auto_recipient (const EDestination *);
+void e_destination_set_auto_recipient (EDestination *, gboolean value);
+
void e_destination_use_card (EDestination *, EDestinationCardCallback cb, gpointer closure);
ECard *e_destination_get_card (const EDestination *);
@@ -122,7 +125,9 @@ EDestination *e_destination_import (const gchar *str);
gchar *e_destination_exportv (EDestination **);
EDestination **e_destination_importv (const gchar *str);
-EDestination **e_destination_list_to_vector (GList *);
+EDestination **e_destination_list_to_vector_sized (GList *, int n);
+EDestination **e_destination_list_to_vector (GList *);
+
void e_destination_freev (EDestination **);
void e_destination_touch (EDestination *);