physfs.h
changeset 754 e7cd7411eadf
parent 751 74dc021744de
child 762 63f2585b5a5e
equal deleted inserted replaced
753:ad9d219dcb59 754:e7cd7411eadf
  1976 /*
  1976 /*
  1977  * it is not safe to call physfs functions in these callbacks, as they may
  1977  * it is not safe to call physfs functions in these callbacks, as they may
  1978  *  be holding non recursive mutexes.
  1978  *  be holding non recursive mutexes.
  1979  */
  1979  */
  1980 /* !!! FIXME: comment! */
  1980 /* !!! FIXME: comment! */
  1981 typedef void (*PHYSFS_StringCallback)(void *data, const char *);
  1981 typedef void (*PHYSFS_StringCallback)(void *, const char *);
       
  1982 typedef void (*PHYSFS_EnumFilesCallback)(void *, const char *, const char *);
  1982 
  1983 
  1983 __EXPORT__ void PHYSFS_getCdRomDirsCallback(PHYSFS_StringCallback c, void *d);
  1984 __EXPORT__ void PHYSFS_getCdRomDirsCallback(PHYSFS_StringCallback c, void *d);
  1984 
  1985 
  1985 __EXPORT__ void PHYSFS_getSearchPathCallback(PHYSFS_StringCallback c, void *d);
  1986 __EXPORT__ void PHYSFS_getSearchPathCallback(PHYSFS_StringCallback c, void *d);
  1986 
  1987 
  1987 __EXPORT__ void PHYSFS_enumerateFilesCallback(const char *dir,
  1988 __EXPORT__ void PHYSFS_enumerateFilesCallback(const char *dir,
  1988                                               PHYSFS_StringCallback c,
  1989                                               PHYSFS_EnumFilesCallback c,
  1989                                               void *d);
  1990                                               void *d);
  1990 
  1991 
  1991 
  1992 
  1992 /* Everything above this line is part of the PhysicsFS 2.0 API. */
  1993 /* Everything above this line is part of the PhysicsFS 2.0 API. */
  1993 
  1994