Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/lib Modified Files: evfs_commands.c Log Message: * Drastic changes allowing a more generic VFS structure, and also allowing file system operations between different file systems. This still needs a lot of work, but a basic 'copy' function is already working * Fixed the non-generic smb-stat problem. This will still be an issue with multiple-client locking, but we'll deal with that later =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/lib/evfs_commands.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- evfs_commands.c 9 Oct 2005 07:42:17 -0000 1.10 +++ evfs_commands.c 16 Oct 2005 10:09:05 -0000 1.11 @@ -99,5 +99,23 @@ } +void evfs_client_file_copy(evfs_connection* conn, evfs_filereference* from, evfs_filereference* to) { + + evfs_command* command = NEW(evfs_command); + + printf("Opening a file..\n"); + + command->type = EVFS_CMD_FILE_TEST; + command->file_command.num_files = 2; + command->file_command.files = malloc(sizeof(evfs_filereference*)*2); + command->file_command.files[0] = from; + command->file_command.files[1] = to; + + evfs_write_command(conn, command); + + free(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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs