- ++authors

- add ecore_file_symlink


SVN revision: 19506
This commit is contained in:
codewarrior 2006-01-03 00:18:42 +00:00 committed by codewarrior
parent 07a7a2b05c
commit 93dd8ce0fc
3 changed files with 10 additions and 0 deletions

View File

@ -17,3 +17,4 @@ Jorge Luis Zapata Muga <jorgeluis.zapata@gmail.com>
dan sinclair <zero@everburning.com>
Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de>
David 'onefang' Seikel <onefang@gmail.com>
Hisham 'CodeWarrior' Mardam Bey <hisham@hisham.cc>

View File

@ -64,6 +64,7 @@ extern "C" {
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);

View File

@ -211,6 +211,14 @@ ecore_file_mv(const char *src, const char *dst)
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)
{