[evolution-ews] Add e_ews_connection_get_uri().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Add e_ews_connection_get_uri().
- Date: Fri, 13 Jul 2012 12:34:02 +0000 (UTC)
commit 48f3f058c3961f9393262d8685aeacf0b7314073
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jul 12 17:29:00 2012 -0400
Add e_ews_connection_get_uri().
src/server/e-ews-connection.c | 8 ++++++++
src/server/e-ews-connection.h | 1 +
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 41566c3..c1155d4 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -1309,6 +1309,14 @@ e_ews_connection_new (const gchar *uri,
}
+const gchar *
+e_ews_connection_get_uri (EEwsConnection *cnc)
+{
+ g_return_val_if_fail (E_IS_EWS_CONNECTION (cnc), NULL);
+
+ return cnc->priv->uri;
+}
+
void
e_ews_connection_forget_password (EEwsConnection *cnc)
{
diff --git a/src/server/e-ews-connection.h b/src/server/e-ews-connection.h
index 20d956d..e266bc2 100644
--- a/src/server/e-ews-connection.h
+++ b/src/server/e-ews-connection.h
@@ -192,6 +192,7 @@ EEwsConnection *e_ews_connection_new (const gchar *uri,
GCallback authenticate_cb,
gpointer authenticate_ctx,
GError **error);
+const gchar * e_ews_connection_get_uri (EEwsConnection *cnc);
void e_ews_connection_forget_password
(EEwsConnection *cnc);
void e_ews_connection_set_timeout (EEwsConnection *cnc,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]