Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_con


Modified Files:
        ecore_con.c ecore_con_url.c 


Log Message:
*API BREAK* see the discussion in the mailing list. misc and e_modules will 
follow

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_con/ecore_con.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -3 -r1.84 -r1.85
--- ecore_con.c 16 Feb 2007 18:12:38 -0000      1.84
+++ ecore_con.c 25 Jul 2007 17:00:55 -0000      1.85
@@ -102,8 +102,8 @@
 {
    if (--init_count != 0) return init_count;
 
-   while (!ecore_list_is_empty(servers))
-     _ecore_con_server_free(ecore_list_remove_first(servers));
+   while (!ecore_list_empty_is(servers))
+     _ecore_con_server_free(ecore_list_first_remove(servers));
    ecore_list_destroy(servers);
    servers = NULL;
 
@@ -974,8 +974,8 @@
          }
      }
    if (svr->write_buf) free(svr->write_buf);
-   while (!ecore_list_is_empty(svr->clients))
-     _ecore_con_client_free(ecore_list_remove_first(svr->clients));
+   while (!ecore_list_empty_is(svr->clients))
+     _ecore_con_client_free(ecore_list_first_remove(svr->clients));
    ecore_list_destroy(svr->clients);
    if ((svr->created) && (svr->path) && (svr->ppid == getpid())) 
unlink(svr->path);
    if (svr->fd >= 0) close(svr->fd);
@@ -1034,7 +1034,7 @@
    if (svr->delete_me) return 1;
    if ((svr->client_limit >= 0) && (!svr->reject_excess_clients))
      {
-       if (ecore_list_nodes(svr->clients) >= svr->client_limit) return 1;
+       if (ecore_list_count(svr->clients) >= svr->client_limit) return 1;
      }
    /* a new client */
    size_in = sizeof(struct sockaddr_in);
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_con/ecore_con_url.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ecore_con_url.c     10 Feb 2007 17:23:05 -0000      1.13
+++ ecore_con_url.c     25 Jul 2007 17:00:55 -0000      1.14
@@ -109,10 +109,10 @@
    init_count--;
    if (_url_con_list)
      {
-       if (!ecore_list_is_empty(_url_con_list))
+       if (!ecore_list_empty_is(_url_con_list))
          {
             Ecore_Con_Url *url_con;
-            while ((url_con = ecore_list_remove_first(_url_con_list)))
+            while ((url_con = ecore_list_first_remove(_url_con_list)))
               {
                  ecore_con_url_destroy(url_con);
               }
@@ -356,7 +356,7 @@
        if (curlmsg->msg != CURLMSG_DONE) continue;
 
        /* find the job which is done */
-       ecore_list_goto_first(_url_con_list);
+       ecore_list_first_goto(_url_con_list);
        while ((url_con = ecore_list_current(_url_con_list)))
          {
             if (curlmsg->easy_handle == url_con->curl_easy)



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to