Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/include


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


Log Message:
* evfs_operation work

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- evfs.h      31 Jan 2006 07:16:42 -0000      1.39
+++ evfs.h      2 Feb 2006 21:56:29 -0000       1.40
@@ -36,8 +36,7 @@
 #define EVFS_FUNCTION_FILE_STAT_GET "evfs_file_stat_get"
 
 
-
-
+#include "evfs_operation.h"
 #include "evfs_plugin.h"
 
 typedef enum
@@ -53,7 +52,6 @@
 }
 EfsdFsOps;
 
-#include "evfs_operation.h"
 #include "evfs_event.h"
 #include "evfs_server.h"
 #include "evfs_misc.h"
@@ -66,6 +64,8 @@
 #include "evfs_common.h"
 #include "evfs_vfolder.h"
 
+void evfs_operation_user_dispatch(evfs_client* client, evfs_command* command, 
evfs_operation* op);
+
 
 /**
  * ATTRIBUTE_UNUSED:
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_command.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evfs_command.h      15 Jan 2006 09:22:00 -0000      1.3
+++ evfs_command.h      2 Feb 2006 21:56:29 -0000       1.4
@@ -17,7 +17,8 @@
   EVFS_CMD_FILE_OPEN = 9,
   EVFS_CMD_FILE_READ = 10,
   EVFS_CMD_FILE_TEST = 11,
-  EVFS_CMD_PING = 12
+  EVFS_CMD_PING = 12,
+  EVFS_CMD_OPERATION_RESPONSE = 13
 
 }
 evfs_command_type;
@@ -31,9 +32,10 @@
 }
 evfs_command_file;
 
-typedef union evfs_command {
+typedef struct evfs_command {
        evfs_command_type type;
        evfs_command_file file_command;
+       evfs_operation* op;
 }
 evfs_command;
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_commands.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- evfs_commands.h     6 Dec 2005 06:16:58 -0000       1.8
+++ evfs_commands.h     2 Feb 2006 21:56:29 -0000       1.9
@@ -11,6 +11,7 @@
 void evfs_client_file_copy(evfs_connection* conn, evfs_filereference* from, 
evfs_filereference* to);
 void evfs_client_file_open(evfs_connection* conn, evfs_filereference* file);
 void evfs_client_file_read(evfs_connection* conn, evfs_filereference* file, 
int read_size);
+void evfs_client_operation_respond(evfs_connection* conn, long opid, 
evfs_operation_response response);
 
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_event.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evfs_event.h        31 Jan 2006 07:16:42 -0000      1.5
+++ evfs_event.h        2 Feb 2006 21:56:29 -0000       1.6
@@ -45,6 +45,7 @@
 
        EVFS_EV_PART_OPERATION = 18,
         EVFS_COMMAND_END = 19,
+       EVFS_COMMAND_PART_OPERATION = 20,
 
        
        EVFS_EV_PART_END = 1000
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_operation.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evfs_operation.h    1 Feb 2006 05:00:44 -0000       1.5
+++ evfs_operation.h    2 Feb 2006 21:56:29 -0000       1.6
@@ -15,7 +15,8 @@
 
 typedef enum evfs_operation_response {
        EVFS_OPERATION_RESPONSE_AFFIRM,
-       EVFS_OPERATION_RESPONSE_NEGATE
+       EVFS_OPERATION_RESPONSE_NEGATE,
+       EVFS_OPERATION_RESPONSE_ABORT
 } evfs_operation_response;
 
 typedef enum evfs_operation_substatus {
@@ -35,6 +36,6 @@
 void evfs_operation_destroy(evfs_operation* op);
 evfs_operation* evfs_operation_get_by_id(long id);
 void evfs_operation_status_set(evfs_operation* op, int status);
-void evfs_operation_user_dispatch(evfs_client* client, evfs_command* command, 
evfs_operation* op);
+
 
 #endif
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/evfs/src/include/evfs_server_handle.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evfs_server_handle.h        15 Jan 2006 09:22:00 -0000      1.12
+++ evfs_server_handle.h        2 Feb 2006 21:56:29 -0000       1.13
@@ -12,3 +12,4 @@
 void evfs_handle_file_open_command(evfs_client* client, evfs_command* command);
 void evfs_handle_file_read_command(evfs_client* client, evfs_command* command);
 void evfs_handle_ping_command(evfs_client* client, evfs_command* command);
+void evfs_handle_operation_command (evfs_client* client,evfs_command* command);




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to