Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/lib


Modified Files:
        evfs_commands.c libevfs.c 


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

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/lib/evfs_commands.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- evfs_commands.c     28 Dec 2006 16:18:29 -0000      1.37
+++ evfs_commands.c     25 Jul 2007 17:00:53 -0000      1.38
@@ -150,13 +150,13 @@
    long cfile = 0;
    evfs_filereference* ref;
 
-   count = ecore_list_nodes(files);
+   count = ecore_list_count(files);
 
    command->type = type;
    command->file_command.num_files = count+1;
    command->file_command.files = malloc(sizeof(evfs_filereference *) * 
(count+1));
  
-   ecore_list_goto_first(files);
+   ecore_list_first_goto(files);
    while ((ref = ecore_list_next(files))) {
           command->file_command.files[cfile] = ref;
           cfile++;
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/lib/libevfs.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- libevfs.c   28 Dec 2006 16:19:50 -0000      1.49
+++ libevfs.c   25 Jul 2007 17:00:53 -0000      1.50
@@ -27,7 +27,7 @@
 {
    evfs_connection *conn;
 
-   ecore_list_goto_first(client_list);
+   ecore_list_first_goto(client_list);
 
    while ((conn = ecore_list_next(client_list)))
      {
@@ -55,7 +55,7 @@
 
              evfs_connection *client;
 
-             ecore_list_goto_first(client_list);
+             ecore_list_first_goto(client_list);
              if ((client = ecore_list_next(client_list)))
                {
 
@@ -290,7 +290,7 @@
         //printf("Current token is: '%s'\n", tmp_tok);
 
         /*Check if it's an operator */
-        ecore_dlist_goto_first(reserved);
+        ecore_dlist_first_goto(reserved);
         while ((cmp = ecore_dlist_next(reserved)))
           {
              if (!strncmp(tmp_tok, cmp, strlen(cmp)))
@@ -316,7 +316,7 @@
         tmp_tok[i] = '\0';
         //printf("Current token (keyword match) is: '%s'\n", tmp_tok);
 
-        ecore_dlist_goto_first(plugin);
+        ecore_dlist_first_goto(plugin);
         while ((cmp = ecore_dlist_next(plugin)))
           {
              if (!strncmp(tmp_tok, cmp, strlen(cmp)))
@@ -426,7 +426,7 @@
 {
    evfs_uri_token *token;
 
-   ecore_dlist_goto_first(tokens);
+   ecore_dlist_first_goto(tokens);
    while ((token = ecore_dlist_next(tokens)))
      {
         free(token->token_s);
@@ -468,12 +468,12 @@
     * } */
 
    tokens = evfs_tokenize_uri(uri);
-   ecore_dlist_goto_first(tokens);
+   ecore_dlist_first_goto(tokens);
    while ((token = ecore_dlist_next(tokens)))
      {
         //printf("Token str: '%s'\n", token->token_s);
      }
-   ecore_dlist_goto_first(tokens);
+   ecore_dlist_first_goto(tokens);
 
  start_uri_section:
 
@@ -612,7 +612,7 @@
    length += 1;
    uri = calloc(length, sizeof(char));
 
-   while ((parent = ecore_list_remove_first(parent_list)))
+   while ((parent = ecore_list_first_remove(parent_list)))
      {
         strcat(uri, parent->plugin_uri);
         strcat(uri, "://");



-------------------------------------------------------------------------
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