Enlightenment CVS committal Author : codewarrior Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_file Modified Files: Ecore_File.h ecore_file.c Log Message: - ++authors - add ecore_file_symlink =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_file/Ecore_File.h,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- Ecore_File.h 27 Dec 2005 17:17:30 -0000 1.22 +++ Ecore_File.h 3 Jan 2006 00:18:42 -0000 1.23 @@ -64,6 +64,7 @@ EAPI int ecore_file_mkpath (const char *path); EAPI int ecore_file_cp (const char *src, const char *dst); EAPI int ecore_file_mv (const char *src, const char *dst); + EAPI int ecore_file_symlink (const char *src, const char *dest); EAPI char *ecore_file_realpath (const char *file); EAPI int ecore_file_unlink (const char *file); EAPI const char *ecore_file_get_file (const char *path); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_file/ecore_file.c,v retrieving revision 1.42 retrieving revision 1.43 diff -u -3 -r1.42 -r1.43 --- ecore_file.c 9 Dec 2005 00:02:21 -0000 1.42 +++ ecore_file.c 3 Jan 2006 00:18:42 -0000 1.43 @@ -211,6 +211,14 @@ return 1; } +int +ecore_file_symlink(const char *src, const char *dest) +{ + if(!symlink(src, dest)) + return 1; + return 0; +} + char * ecore_file_realpath(const char *file) { ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs