From b9c073d25f0de9dc0478dc73c911402dad6c13ef Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 5 Mar 2008 05:15:37 +0000 Subject: [PATCH] allow programs using ecore_con_url to work and have symbols defined - even if api doesnt do anything useful as curl is disabled. SVN revision: 33929 --- legacy/ecore/src/lib/ecore_con/ecore_con_url.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_url.c b/legacy/ecore/src/lib/ecore_con/ecore_con_url.c index d114a0d295..5b673068de 100644 --- a/legacy/ecore/src/lib/ecore_con/ecore_con_url.c +++ b/legacy/ecore/src/lib/ecore_con/ecore_con_url.c @@ -48,6 +48,11 @@ * FIXME: write detailed description */ +int ECORE_CON_EVENT_URL_DATA = 0; +int ECORE_CON_EVENT_URL_COMPLETE = 0; +int ECORE_CON_EVENT_URL_PROGRESS_DOWNLOAD = 0; +int ECORE_CON_EVENT_URL_PROGRESS_UPLOAD = 0; + #ifdef HAVE_CURL static int _ecore_con_url_fd_handler(void *data, Ecore_Fd_Handler *fd_handler); static int _ecore_con_url_perform(Ecore_Con_Url *url_con); @@ -56,11 +61,6 @@ static int _ecore_con_url_progress_cb(void *clientp, double dltotal, double dlno static void _ecore_con_event_url_free(void *data __UNUSED__, void *ev); static int _ecore_con_url_process_completed_jobs(Ecore_Con_Url *url_con_to_match); -int ECORE_CON_EVENT_URL_DATA = 0; -int ECORE_CON_EVENT_URL_COMPLETE = 0; -int ECORE_CON_EVENT_URL_PROGRESS_DOWNLOAD = 0; -int ECORE_CON_EVENT_URL_PROGRESS_UPLOAD = 0; - static CURLM *curlm = NULL; static Ecore_List *_url_con_list = NULL; static fd_set _current_fd_set;