add grabbag__file_are_same()

This commit is contained in:
Josh Coalson
2006-10-10 00:38:28 +00:00
parent 369a6da0fd
commit 1d691ca149
2 changed files with 9 additions and 0 deletions

View File

@@ -45,6 +45,9 @@ const char *grabbag__file_get_basename(const char *srcpath);
*/
FLAC__bool grabbag__file_change_stats(const char *filename, FLAC__bool read_only);
/* returns true iff stat() succeeds for both files and they have the same inode */
FLAC__bool grabbag__file_are_same(const char *f1, const char *f2);
/* attempts to make writable before unlinking */
FLAC__bool grabbag__file_remove_file(const char *filename);