From 781ee14bc4d7dd7203a362c6bc7f826616454a4e Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 24 Feb 2012 00:44:49 +0000 Subject: [PATCH] another function that has been deprecated since before 1.0. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@68367 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/Ecore_Con.h | 27 --------------------------- src/lib/ecore_con/ecore_con_url.c | 6 ------ 2 files changed, 33 deletions(-) diff --git a/src/lib/ecore_con/Ecore_Con.h b/src/lib/ecore_con/Ecore_Con.h index 6f8da7b..ee78965 100644 --- a/src/lib/ecore_con/Ecore_Con.h +++ b/src/lib/ecore_con/Ecore_Con.h @@ -1586,33 +1586,6 @@ EAPI Eina_Bool ecore_con_url_httpauth_set(Ecore_Con_Url *url_con, const char *password, Eina_Bool safe); /** - * Sends a request. - * - * @param url_con Connection object to perform a request on, previously created - * with ecore_con_url_new() or ecore_con_url_custom_new(). - * @param data Payload (data sent on the request) - * @param length Payload length. If @c -1, rely on automatic length - * calculation via @c strlen() on @p data. - * @param content_type Content type of the payload (e.g. text/xml) - * - * @return #EINA_TRUE on success, #EINA_FALSE on error. - * - * @see ecore_con_url_custom_new() - * @see ecore_con_url_additional_headers_clear() - * @see ecore_con_url_additional_header_add() - * @see ecore_con_url_data_set() - * @see ecore_con_url_data_get() - * @see ecore_con_url_response_headers_get() - * @see ecore_con_url_time() - * @see ecore_con_url_get() - * @see ecore_con_url_post() - * - * @deprecated Use ecore_con_url_post() instead of this. - */ -EINA_DEPRECATED EAPI Eina_Bool ecore_con_url_send(Ecore_Con_Url *url_con, - const void *data, long length, - const char *content_type); -/** * Sends a get request. * * @param url_con Connection object to perform a request on, previously created diff --git a/src/lib/ecore_con/ecore_con_url.c b/src/lib/ecore_con/ecore_con_url.c index c200b75..754685d 100644 --- a/src/lib/ecore_con/ecore_con_url.c +++ b/src/lib/ecore_con/ecore_con_url.c @@ -670,12 +670,6 @@ _ecore_con_url_send(Ecore_Con_Url *url_con, int mode, const void *data, long len #endif } -EINA_DEPRECATED EAPI Eina_Bool -ecore_con_url_send(Ecore_Con_Url *url_con, const void *data, long length, const char *content_type) -{ - return _ecore_con_url_send(url_con, MODE_AUTO, data, length, content_type); -} - EAPI Eina_Bool ecore_con_url_get(Ecore_Con_Url *url_con) { -- 2.7.4