Allegro 5 api
#include <allegro5/allegro.h> void al_set_new_file_interface(const ALLEGRO_FILE_INTERFACE *file_interface)
Set the ALLEGRO_FILE_INTERFACE(3alleg5) table for the calling thread. This will change the handler for later calls to al_fopen(3alleg5).
al_set_standard_file_interface(3alleg5), al_store_state(3alleg5), al_restore_state(3alleg5).