aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-ui-session.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-02-27 09:36:30 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-02-27 23:59:55 +0800
commitef355cd5c3380b057d69bd839f67dc82a666ad9a (patch)
treeff33745853b81ad99408a041c78660f6518510f5 /mail/e-mail-ui-session.h
parent7001c2fe656294d02fc6fe5784d25e2c817e854b (diff)
downloadgsoc2013-evolution-ef355cd5c3380b057d69bd839f67dc82a666ad9a.tar
gsoc2013-evolution-ef355cd5c3380b057d69bd839f67dc82a666ad9a.tar.gz
gsoc2013-evolution-ef355cd5c3380b057d69bd839f67dc82a666ad9a.tar.bz2
gsoc2013-evolution-ef355cd5c3380b057d69bd839f67dc82a666ad9a.tar.lz
gsoc2013-evolution-ef355cd5c3380b057d69bd839f67dc82a666ad9a.tar.xz
gsoc2013-evolution-ef355cd5c3380b057d69bd839f67dc82a666ad9a.tar.zst
gsoc2013-evolution-ef355cd5c3380b057d69bd839f67dc82a666ad9a.zip
Add e_mail_ui_session_check_known_address_sync().
Replaces em_utils_in_addressbook(). Foregos any address caching since any such cache would likely not be updated properly as contacts are added and removed and would lead to incorrect results. An asynchronous variation of this function can be easily added at some future date should a need arise.
Diffstat (limited to 'mail/e-mail-ui-session.h')
-rw-r--r--mail/e-mail-ui-session.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/e-mail-ui-session.h b/mail/e-mail-ui-session.h
index c199a7b334..9950219728 100644
--- a/mail/e-mail-ui-session.h
+++ b/mail/e-mail-ui-session.h
@@ -97,6 +97,13 @@ CamelCertTrust e_mail_ui_session_trust_prompt (CamelSession *session,
guint32 certificate_errors,
GList *issuers,
GCancellable *cancellable);
+gboolean e_mail_ui_session_check_known_address_sync
+ (EMailUISession *session,
+ CamelInternetAddress *addr,
+ gboolean check_local_only,
+ GCancellable *cancellable,
+ gboolean *out_known_address,
+ GError **error);
G_END_DECLS