git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61606
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
* Ecore_IMF: Added ecore_imf_context_cursor_location_set API
+2011-07-22 Mike Blumenkrantz
+
+ * Added ecore_con_url_url_get
EAPI Eina_Bool ecore_con_url_url_set(Ecore_Con_Url *url_con,
const char *url);
/**
+ * Gets the URL to send the request to.
+ *
+ * @param url_con Connection object through which the request will be sent.
+ * @return URL that will receive the request, NULL on failure
+ * @since 1.1
+ */
+EAPI const char *ecore_con_url_url_get(Ecore_Con_Url *url_con);
+/**
* Associates data with a connection object.
*
* @param url_con Connection object to associate data.
#endif
}
+EAPI const char *
+ecore_con_url_url_get(Ecore_Con_Url *url_con)
+{
+#ifdef HAVE_CURL
+ if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
+ {
+ ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, __func__);
+ return NULL;
+ }
+ return url_con->url;
+#else
+ (void)url_con;
+ return NULL;
+#endif
+}
+
EAPI Eina_Bool
ecore_con_url_url_set(Ecore_Con_Url *url_con,
const char *url)