--- a/physfs_internal.h Thu Aug 23 15:22:52 2001 +0000
+++ b/physfs_internal.h Thu Aug 23 15:23:21 2001 +0000
@@ -295,7 +295,8 @@
int __PHYSFS_verifySecurity(DirHandle *h, const char *fname);
-/* This gets used all over for lessening code clutter. */
+/* These get used all over for lessening code clutter. */
+#define BAIL_MACRO(e, r) { __PHYSFS_setError(e); return r; }
#define BAIL_IF_MACRO(c, e, r) if (c) { __PHYSFS_setError(e); return r; }
@@ -448,6 +449,14 @@
char *__PHYSFS_platformRealPath(const char *path);
+/*
+ * Make a directory in the actual filesystem. (path) is specified in
+ * platform-dependent notation. On error, return zero and set the error
+ * message. Return non-zero on success.
+ */
+int __PHYSFS_platformMkDir(const char *path);
+
+
#ifdef __cplusplus
extern "C" {
#endif