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:
Directory listing for SAMBA plugin
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_main.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- evfs_main.c 5 Oct 2005 03:50:32 -0000 1.13
+++ evfs_main.c 9 Oct 2005 07:42:17 -0000 1.14
@@ -165,6 +165,7 @@
evfs_handle_file_stat_command(client,command);
break;
case EVFS_CMD_LIST_DIR:
+ evfs_handle_dir_list_command(client,command);
printf("List directory stub\n");
break;
}
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_server_handle.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evfs_server_handle.c 5 Oct 2005 03:50:32 -0000 1.5
+++ evfs_server_handle.c 9 Oct 2005 07:42:17 -0000 1.6
@@ -76,3 +76,15 @@
}
}
+
+
+void evfs_handle_dir_list_command(evfs_client* client, evfs_command* command) {
+ printf ("At dir list 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_dir_list);
+ (*plugin->functions->evfs_dir_list)(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