Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/include Modified Files: evfs_filereference.h Log Message: * EvfsStat code =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/include/evfs_filereference.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- evfs_filereference.h 19 Aug 2007 01:30:08 -0000 1.8 +++ evfs_filereference.h 20 Aug 2007 11:03:05 -0000 1.9 @@ -30,6 +30,17 @@ char *token_s; } evfs_uri_token; +typedef struct { + int st_mode; + int st_uid; + int st_gid; + uint64 st_size; + int ist_atime; + int ist_mtime; + int ist_ctime; +} EvfsStat; + + typedef struct EvfsFilereference { char *plugin_uri; @@ -49,7 +60,7 @@ int fd; /*The file descriptor (if any) */ void *fd_p; - struct stat* stat; + EvfsStat* stat; } EvfsFilereference; typedef struct evfs_file_uri_path evfs_file_uri_path; @@ -61,5 +72,7 @@ EvfsFilereference* evfs_filereference_new(char* plugin, char* path, int filetype); EvfsFilereference* evfs_filereference_local_new(char* path); +void evfs_filereference_stat_to_system(EvfsFilereference* file, struct stat* st); +void evfs_stat_system_to_evfs_filereference(EvfsFilereference* file, struct stat* st); #endif ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs