physfs.h
changeset 657 dad3b5c307a9
parent 654 c0ae01de361d
child 669 66a1058b803d
equal deleted inserted replaced
656:d2c34dbf2c83 657:dad3b5c307a9
  1872  *           when used between PHYSFS_init() and PHYSFS_deinit() calls.
  1872  *           when used between PHYSFS_init() and PHYSFS_deinit() calls.
  1873  */
  1873  */
  1874 __EXPORT__ int PHYSFS_setAllocator(PHYSFS_Allocator *allocator);
  1874 __EXPORT__ int PHYSFS_setAllocator(PHYSFS_Allocator *allocator);
  1875 
  1875 
  1876 
  1876 
       
  1877 /*
       
  1878  * it is not safe to call physfs functions in these callbacks, as they may
       
  1879  *  be holding non recursive mutexes.
       
  1880  */
       
  1881 /* !!! FIXME: comment! */
       
  1882 typedef void (*PHYSFS_StringCallback)(void *data, const char *);
       
  1883 
       
  1884 __EXPORT__ void PHYSFS_getCdRomDirsCallback(PHYSFS_StringCallback c, void *d);
       
  1885 
       
  1886 __EXPORT__ void PHYSFS_getSearchPathCallback(PHYSFS_StringCallback c, void *d);
       
  1887 
       
  1888 __EXPORT__ void PHYSFS_enumerateFilesCallback(const char *dir,
       
  1889                                               PHYSFS_StringCallback c,
       
  1890                                               void *d);
       
  1891 
       
  1892 
  1877 /* Everything above this line is part of the PhysicsFS 2.0 API. */
  1893 /* Everything above this line is part of the PhysicsFS 2.0 API. */
  1878 
  1894 
  1879 
  1895 
  1880 #ifdef __cplusplus
  1896 #ifdef __cplusplus
  1881 }
  1897 }