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>
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;
+}
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
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;
+}
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