Allegro 5 api
#include <allegro5/allegro.h> ALLEGRO_FILE *al_fopen_interface(const ALLEGRO_FILE_INTERFACE *drv, const char *path, const char *mode)
Opens a file using the specified interface, instead of the interface set with al_set_new_file_interface(3alleg5).
al_fopen(3alleg5)