Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/lib Modified Files: evfs_commands.c Log Message: Start of stat communication =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/lib/evfs_commands.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- evfs_commands.c 26 Sep 2005 11:39:47 -0000 1.8 +++ evfs_commands.c 5 Oct 2005 03:50:33 -0000 1.9 @@ -66,3 +66,19 @@ free(command); } + +void evfs_client_file_stat(evfs_connection* conn, evfs_filereference* file) { + evfs_command* command = NEW(evfs_command); + + printf("Stat'ing a file..\n"); + + command->type = EVFS_CMD_FILE_STAT; + 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