init ecore_con_url.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 13 Aug 2009 15:26:29 +0000 (15:26 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 13 Aug 2009 15:26:29 +0000 (15:26 +0000)
By: Andre Dieb <andre.martins@ee.ufcg.edu.br>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@41742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con.c

index c124b93..30b4392 100644 (file)
@@ -94,9 +94,13 @@ ecore_con_init(void)
    ECORE_CON_EVENT_SERVER_DATA = ecore_event_type_new();
 
    /* TODO Remember return value, if it fails, use gethostbyname() */
+   /* TODO: check sub modules init success, consider if module is available
+    * before even trying to initialize it (ie: url might be disabled)
+    */
    ecore_con_ssl_init();
    ecore_con_dns_init();
    ecore_con_info_init();
+   ecore_con_url_init();
 
    return init_count;
 }
@@ -115,6 +119,7 @@ ecore_con_shutdown(void)
    while (servers)
      _ecore_con_server_free(eina_list_data_get(servers));
 
+   ecore_con_url_shutdown();
    ecore_con_info_shutdown();
    ecore_con_dns_shutdown();
    ecore_con_ssl_shutdown();