physfs_internal.h
changeset 130 2deec3eb7430
parent 126 f5135b499c0c
child 132 b53fa5093749
equal deleted inserted replaced
129:28340d5fe57b 130:2deec3eb7430
   317  * The dir separator; "/" on unix, "\\" on win32, ":" on MacOS, etc...
   317  * The dir separator; "/" on unix, "\\" on win32, ":" on MacOS, etc...
   318  *  Obviously, this isn't a function, but it IS a null-terminated string.
   318  *  Obviously, this isn't a function, but it IS a null-terminated string.
   319  */
   319  */
   320 extern const char *__PHYSFS_platformDirSeparator;
   320 extern const char *__PHYSFS_platformDirSeparator;
   321 
   321 
       
   322 
       
   323 /*
       
   324  * Initialize the platform. This is called when PHYSFS_init() is called from
       
   325  *  the application. You can use this to (for example) determine what version
       
   326  *  of Windows you're running.
       
   327  *
       
   328  * Return zero if there was a catastrophic failure (which prevents you from
       
   329  *  functioning at all), and non-zero otherwise.
       
   330  */
       
   331 int __PHYSFS_platformInit(void);
       
   332 
       
   333 /*
       
   334  * Deinitialize the platform. This is called when PHYSFS_deinit() is called
       
   335  *  from the application. You can use this to clean up anything you've
       
   336  *  allocated in your platform driver.
       
   337  *
       
   338  * Return zero if there was a catastrophic failure (which prevents you from
       
   339  *  functioning at all), and non-zero otherwise.
       
   340  */
       
   341 int __PHYSFS_platformDeinit(void);
       
   342 
   322 /*
   343 /*
   323  * Platform implementation of PHYSFS_getCdRomDirs()...
   344  * Platform implementation of PHYSFS_getCdRomDirs()...
   324  *  See physfs.h. The retval should be freeable via PHYSFS_freeList().
   345  *  See physfs.h. The retval should be freeable via PHYSFS_freeList().
   325  */
   346  */
   326 char **__PHYSFS_platformDetectAvailableCDs(void);
   347 char **__PHYSFS_platformDetectAvailableCDs(void);