Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/lib Modified Files: evfs_commands.c Log Message: Directory listing for SAMBA plugin =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/lib/evfs_commands.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- evfs_commands.c 5 Oct 2005 03:50:33 -0000 1.9 +++ evfs_commands.c 9 Oct 2005 07:42:17 -0000 1.10 @@ -82,3 +82,22 @@ free(command); } + +void evfs_client_dir_list(evfs_connection* conn, evfs_filereference* file) { + evfs_command* command = NEW(evfs_command); + + printf("Listing a directory..\n"); + + command->type = EVFS_CMD_LIST_DIR; + command->file_command.num_files = 1; + command->file_command.files = malloc(sizeof(evfs_filereference*)*1); + command->file_command.files[0] = file; + + 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