trusty (3) al_set_physfs_file_interface.3alleg5.gz

Provided by: allegro5-doc_5.0.10-2_all bug

NAME

       al_set_physfs_file_interface - Allegro 5 API

SYNOPSIS

              #include <allegro5/allegro_physfs.h>

              void al_set_physfs_file_interface(void)

DESCRIPTION

       After  calling  this, subsequent calls to al_fopen(3alleg5) will be handled by PHYSFS_open().  Operations
       on the files returned by al_fopen(3alleg5) will then be performed through PhysicsFS.

       At the same time, all filesystem functions like al_read_directory(3alleg5) or al_create_fs_entry(3alleg5)
       will use PhysicsFS.

       This functions only affects the thread it was called from.

       To      remember      and      restore      another     file     I/O     backend,     you     can     use
       al_store_state(3alleg5)/al_restore_state(3alleg5).

SEE ALSO

       al_set_new_file_interface(3alleg5).