Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/bin
Modified Files:
evfs_main.c evfs_server_handle.c
Log Message:
Start of stat communication
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evfs_main.c 26 Sep 2005 11:39:47 -0000 1.12
+++ evfs_main.c 5 Oct 2005 03:50:32 -0000 1.13
@@ -158,9 +158,12 @@
printf("Move file stub\n");
break;
case EVFS_CMD_REMOVE_FILE:
- printf("Remove file stub\n");
evfs_handle_file_remove_command(client,command);
break;
+ case EVFS_CMD_FILE_STAT:
+ printf("Stat file stub\n");
+ evfs_handle_file_stat_command(client,command);
+ break;
case EVFS_CMD_LIST_DIR:
printf("List directory stub\n");
break;
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_server_handle.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evfs_server_handle.c 26 Sep 2005 11:39:47 -0000 1.4
+++ evfs_server_handle.c 5 Oct 2005 03:50:32 -0000 1.5
@@ -65,3 +65,14 @@
(*plugin->functions->evfs_file_rename)(client,command);
}
}
+
+void evfs_handle_file_stat_command(evfs_client* client, evfs_command* command)
{
+ printf ("At file stat handler\n");
+
+ evfs_plugin* plugin =
evfs_get_plugin_for_uri(command->file_command.files[0]->plugin_uri);
+ if (plugin) {
+ printf("Pointer here: %p\n", plugin->functions->evfs_file_stat);
+ (*plugin->functions->evfs_file_stat)(client,command);
+ }
+
+}
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs