Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/include


Modified Files:
        evfs_command.h evfs_commands.h evfs_operation.h 
        evfs_server_handle.h 


Log Message:
* Add 'move' operation

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_command.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evfs_command.h      21 Apr 2006 15:10:16 -0000      1.9
+++ evfs_command.h      10 Jun 2006 02:35:58 -0000      1.10
@@ -9,18 +9,19 @@
    EVFS_CMD_STARTMON_FILE = 1,
    EVFS_CMD_STOPMON_FILE = 2,
    EVFS_CMD_FILE_COPY = 3,
-   EVFS_CMD_MOVE_FILE = 4,
-   EVFS_CMD_RENAME_FILE = 5,
-   EVFS_CMD_REMOVE_FILE = 6,
-   EVFS_CMD_LIST_DIR = 7,
-   EVFS_CMD_FILE_STAT = 8,
-   EVFS_CMD_FILE_OPEN = 9,
-   EVFS_CMD_FILE_READ = 10,
-   EVFS_CMD_FILE_TEST = 11,
-   EVFS_CMD_PING = 12,
-   EVFS_CMD_OPERATION_RESPONSE = 13,
-   EVFS_CMD_DIRECTORY_CREATE = 14,
-   EVFS_CMD_METADATA_RETRIEVE = 15
+   EVFS_CMD_FILE_MOVE = 4,
+   EVFS_CMD_MOVE_FILE = 5,
+   EVFS_CMD_RENAME_FILE = 6,
+   EVFS_CMD_REMOVE_FILE = 7,
+   EVFS_CMD_LIST_DIR = 8,
+   EVFS_CMD_FILE_STAT = 9,
+   EVFS_CMD_FILE_OPEN = 10,
+   EVFS_CMD_FILE_READ = 11,
+   EVFS_CMD_FILE_TEST = 12,
+   EVFS_CMD_PING = 13,
+   EVFS_CMD_OPERATION_RESPONSE = 14,
+   EVFS_CMD_DIRECTORY_CREATE = 15,
+   EVFS_CMD_METADATA_RETRIEVE = 16
 }
 evfs_command_type;
 
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_commands.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- evfs_commands.h     21 Apr 2006 15:10:16 -0000      1.13
+++ evfs_commands.h     10 Jun 2006 02:35:58 -0000      1.14
@@ -11,6 +11,8 @@
 long evfs_client_file_open(evfs_connection * conn, evfs_filereference * file);
 long evfs_client_file_copy(evfs_connection * conn, evfs_filereference * from,
                            evfs_filereference * to);
+long evfs_client_file_move(evfs_connection * conn, evfs_filereference * from,
+                           evfs_filereference * to);
 long evfs_client_file_read(evfs_connection * conn, evfs_filereference * file,
                            int read_size);
 long evfs_client_operation_respond(evfs_connection * conn, long opid,
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_operation.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evfs_operation.h    14 Mar 2006 13:06:23 -0000      1.12
+++ evfs_operation.h    10 Jun 2006 02:35:58 -0000      1.13
@@ -32,7 +32,8 @@
 
 typedef enum evfs_operation_substatus
 {
-   EVFS_OPERATION_SUBSTATUS_FILE_OVERWRITE
+   EVFS_OPERATION_SUBSTATUS_FILE_OVERWRITE,
+   EVFS_OPERATION_SUBSTATUS_WAIT_AUTH
 } evfs_operation_substatus;
 
 typedef enum evfs_operation_type
@@ -69,6 +70,11 @@
        
    long id;                     /* A unique id for this op */
    char* misc_str;
+
+   char* ret_str_1;    /*Miscellaneous strings that may be passed
+                         back as part of an operational response */
+   char* ret_str_2;
+   
    evfs_operation_status status;
    evfs_operation_substatus substatus;
    evfs_operation_wait_type wait_type;
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_server_handle.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- evfs_server_handle.h        21 Apr 2006 15:10:16 -0000      1.17
+++ evfs_server_handle.h        10 Jun 2006 02:35:58 -0000      1.18
@@ -15,7 +15,7 @@
                                    evfs_command * command);
 void evfs_handle_dir_list_command(evfs_client * client, evfs_command * 
command);
 void evfs_handle_file_copy(evfs_client * client, evfs_command * command,
-                           evfs_command * root_command);
+                           evfs_command * root_command, int move);
 void evfs_handle_file_open_command(evfs_client * client,
                                    evfs_command * command);
 void evfs_handle_file_read_command(evfs_client * client,




_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to