physfs_internal.h
changeset 130 2deec3eb7430
parent 126 f5135b499c0c
child 132 b53fa5093749
--- a/physfs_internal.h	Thu Mar 21 04:03:38 2002 +0000
+++ b/physfs_internal.h	Sun Mar 24 06:36:48 2002 +0000
@@ -319,6 +319,27 @@
  */
 extern const char *__PHYSFS_platformDirSeparator;
 
+
+/*
+ * Initialize the platform. This is called when PHYSFS_init() is called from
+ *  the application. You can use this to (for example) determine what version
+ *  of Windows you're running.
+ *
+ * Return zero if there was a catastrophic failure (which prevents you from
+ *  functioning at all), and non-zero otherwise.
+ */
+int __PHYSFS_platformInit(void);
+
+/*
+ * Deinitialize the platform. This is called when PHYSFS_deinit() is called
+ *  from the application. You can use this to clean up anything you've
+ *  allocated in your platform driver.
+ *
+ * Return zero if there was a catastrophic failure (which prevents you from
+ *  functioning at all), and non-zero otherwise.
+ */
+int __PHYSFS_platformDeinit(void);
+
 /*
  * Platform implementation of PHYSFS_getCdRomDirs()...
  *  See physfs.h. The retval should be freeable via PHYSFS_freeList().