1deprecated(3) physfs deprecated(3)
2
3
4
6 deprecated - Deprecated List
7
8 Global PHYSFS_addToSearchPath (const char *newDir, int appendToPath)
9 As of PhysicsFS 2.0, use PHYSFS_mount() instead. This function just
10 wraps it anyhow.
11
12 Global PHYSFS_enumerateFilesCallback (const char *dir,
13 PHYSFS_EnumFilesCallback c, void *d)
14 As of PhysicsFS 2.1, use PHYSFS_enumerate() instead. This function
15 has no way to report errors (or to have the callback signal an
16 error or request a stop), so if data will be lost, your callback
17 has no way to direct the process, and your calling app has no way
18 to know.
19
20 Global PHYSFS_getLastError (void)
21 Use PHYSFS_getLastErrorCode() and PHYSFS_getErrorByCode() instead.
22
23 Global PHYSFS_getLastModTime (const char *filename)
24 As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just
25 wraps it anyhow.
26
27 Global PHYSFS_getUserDir (void)
28 As of PhysicsFS 2.1, you probably want PHYSFS_getPrefDir().
29
30 Global PHYSFS_isDirectory (const char *fname)
31 As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just
32 wraps it anyhow.
33
34 Global PHYSFS_isSymbolicLink (const char *fname)
35 As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just
36 wraps it anyhow.
37
38 Global PHYSFS_read (PHYSFS_File *handle, void *buffer, PHYSFS_uint32
39 objSize, PHYSFS_uint32 objCount)
40 As of PhysicsFS 2.1, use PHYSFS_readBytes() instead. This function
41 just wraps it anyhow. This function never clarified what would
42 happen if you managed to read a partial object, so working at the
43 byte level makes this cleaner for everyone, especially now that
44 PHYSFS_Io interfaces can be supplied by the application.
45
46 Global PHYSFS_removeFromSearchPath (const char *oldDir)
47 As of PhysicsFS 2.1, use PHYSFS_unmount() instead. This function
48 just wraps it anyhow. There's no functional difference except the
49 vocabulary changed from 'adding to the search path' to 'mounting'
50 when that functionality was extended, and thus the preferred way to
51 accomplish this function's work is now called 'unmounting.'
52
53 Global PHYSFS_write (PHYSFS_File *handle, const void *buffer,
54 PHYSFS_uint32 objSize, PHYSFS_uint32 objCount)
55 As of PhysicsFS 2.1, use PHYSFS_writeBytes() instead. This function
56 just wraps it anyhow. This function never clarified what would
57 happen if you managed to write a partial object, so working at the
58 byte level makes this cleaner for everyone, especially now that
59 PHYSFS_Io interfaces can be supplied by the application.
60
61Version 3.0.2 Fri Jan 20 2023 deprecated(3)