new functions.
authorRodrigo Moya <rodrigo@ximian.com>
Mon, 12 Jan 2004 18:09:11 +0000 (18:09 +0000)
committerRodrigo Moya <rodrigo@src.gnome.org>
Mon, 12 Jan 2004 18:09:11 +0000 (18:09 +0000)
2004-01-12  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-gw-connection.[ch]
(e_gw_connection_get_user_name, e_gw_connection_get_user_uuid): new
functions.

calendar/ChangeLog
calendar/backends/groupwise/e-gw-connection.c
calendar/backends/groupwise/e-gw-connection.h
servers/groupwise/e-gw-connection.c
servers/groupwise/e-gw-connection.h

index 4801888..24095a2 100644 (file)
@@ -1,5 +1,11 @@
 2004-01-12  Rodrigo Moya <rodrigo@ximian.com>
 
+       * backends/groupwise/e-gw-connection.[ch]
+       (e_gw_connection_get_user_name, e_gw_connection_get_user_uuid): new
+       functions.
+
+2004-01-12  Rodrigo Moya <rodrigo@ximian.com>
+
        * backends/http/e-cal-backend-http.c (uri_to_cache_dir): fixed leak.
 
 2004-01-10  Rodrigo Moya <rodrigo@ximian.com>
index b748ac7..79bfaa7 100644 (file)
@@ -566,12 +566,27 @@ e_gw_connection_get_items (EGwConnection *cnc, const char * filter, GSList **lis
         return E_GW_CONNECTION_STATUS_OK;        
 }
 
+const char *
+e_gw_connection_get_user_name (EGwConnection *cnc)
+{
+       g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), NULL);
+
+       return (const char *) cnc->priv->user_name;
+}
+
 const char* 
 e_gw_connection_get_user_email (EGwConnection *cnc)
 {
-    g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), NULL);
+       g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), NULL);
   
-    return (const char*) cnc->priv->user_email;
+       return (const char*) cnc->priv->user_email;
        
 }
 
+const char *
+e_gw_connection_get_user_uuid (EGwConnection *cnc)
+{
+       g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), NULL);
+
+       return (const char *) cnc->priv->user_uuid;
+}
index 508b2cb..2294826 100644 (file)
@@ -64,7 +64,9 @@ SoupSoapResponse   *e_gw_connection_send_message (EGwConnection *cnc, SoupSoapMe
 EGwConnectionStatus e_gw_connection_logout (EGwConnection *cnc);
 EGwConnectionStatus e_gw_connection_get_items (EGwConnection *cnc, const char *filter, GSList **list);
 
+const char         *e_gw_connection_get_user_name (EGwConnection *cnc);
 const char         *e_gw_connection_get_user_email (EGwConnection *cnc);
+const char         *e_gw_connection_get_user_uuid (EGwConnection *cnc);
 
 G_END_DECLS
 
index b748ac7..79bfaa7 100644 (file)
@@ -566,12 +566,27 @@ e_gw_connection_get_items (EGwConnection *cnc, const char * filter, GSList **lis
         return E_GW_CONNECTION_STATUS_OK;        
 }
 
+const char *
+e_gw_connection_get_user_name (EGwConnection *cnc)
+{
+       g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), NULL);
+
+       return (const char *) cnc->priv->user_name;
+}
+
 const char* 
 e_gw_connection_get_user_email (EGwConnection *cnc)
 {
-    g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), NULL);
+       g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), NULL);
   
-    return (const char*) cnc->priv->user_email;
+       return (const char*) cnc->priv->user_email;
        
 }
 
+const char *
+e_gw_connection_get_user_uuid (EGwConnection *cnc)
+{
+       g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), NULL);
+
+       return (const char *) cnc->priv->user_uuid;
+}
index 508b2cb..2294826 100644 (file)
@@ -64,7 +64,9 @@ SoupSoapResponse   *e_gw_connection_send_message (EGwConnection *cnc, SoupSoapMe
 EGwConnectionStatus e_gw_connection_logout (EGwConnection *cnc);
 EGwConnectionStatus e_gw_connection_get_items (EGwConnection *cnc, const char *filter, GSList **list);
 
+const char         *e_gw_connection_get_user_name (EGwConnection *cnc);
 const char         *e_gw_connection_get_user_email (EGwConnection *cnc);
+const char         *e_gw_connection_get_user_uuid (EGwConnection *cnc);
 
 G_END_DECLS