physfs_internal.h
changeset 137 66bddb94b6e0
parent 134 eb030f2e342a
child 145 d6385584f6c4
--- a/physfs_internal.h	Mon Mar 25 05:01:29 2002 +0000
+++ b/physfs_internal.h	Mon Mar 25 05:02:12 2002 +0000
@@ -619,6 +619,20 @@
  */
 int __PHYSFS_platformMkDir(const char *path);
 
+/*
+ * Remove a file or directory entry in the actual filesystem. (path) is
+ *  specified in platform-dependent notation. Note that this deletes files
+ *  _and_ directories, so you might need to do some determination.
+ *  Non-empty directories should report an error and not delete themselves
+ *  or their contents.
+ *
+ * Deleting a symlink should remove the link, not what it points to.
+ *
+ * On error, return zero and set the error message. Return non-zero on success.
+ */
+int __PHYSFS_platformDelete(const char *path);
+
+
 #ifdef __cplusplus
 }
 #endif