deprecated(3)

NAME
deprecated - Deprecated List

Global PHYSFS_addToSearchPath (const char *newDir, int appendToPath)

    As of PhysicsFS 2.0, use PHYSFS_mount() instead. This function just wraps it anyhow.

Global PHYSFS_enumerateFilesCallback (const char *dir, PHYSFS_EnumFilesCallback c, void *d)

    As of PhysicsFS 2.1, use PHYSFS_enumerate() instead. This function has no way to report errors (or to have the callback signal an error or request a stop), so if data will be lost, your callback has no way to direct the process, and your calling app has no way to know.

Global PHYSFS_getLastError (void)

    Use PHYSFS_getLastErrorCode() and PHYSFS_getErrorByCode() instead.

Global PHYSFS_getLastModTime (const char *filename)

    As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just wraps it anyhow.

Global PHYSFS_getUserDir (void)

    As of PhysicsFS 2.1, you probably want PHYSFS_getPrefDir().

Global PHYSFS_isDirectory (const char *fname)

    As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just wraps it anyhow.

Global PHYSFS_isSymbolicLink (const char *fname)

    As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just wraps it anyhow.

Global PHYSFS_read (PHYSFS_File *handle, void *buffer, PHYSFS_uint32 objSize, PHYSFS_uint32 objCount)

    As of PhysicsFS 2.1, use PHYSFS_readBytes() instead. This function just wraps it anyhow. This function never clarified what would happen if you managed to read a partial object, so working at the byte level makes this cleaner for everyone, especially now that PHYSFS_Io interfaces can be supplied by the application.

Global PHYSFS_removeFromSearchPath (const char *oldDir)

    As of PhysicsFS 2.1, use PHYSFS_unmount() instead. This function just wraps it anyhow. There's no functional difference except the vocabulary changed from "adding to the search path" to "mounting" when that functionality was extended, and thus the preferred way to accomplish this function's work is now called "unmounting."

Global PHYSFS_write (PHYSFS_File *handle, const void *buffer, PHYSFS_uint32 objSize, PHYSFS_uint32 objCount)

    As of PhysicsFS 2.1, use PHYSFS_writeBytes() instead. This function just wraps it anyhow. This function never clarified what would happen if you managed to write a partial object, so working at the byte level makes this cleaner for everyone, especially now that PHYSFS_Io interfaces can be supplied by the application.