al_get_file_userdata
void *al_get_file_userdata(ALLEGRO_FILE *f)
Introduced in 5.0.0
Returns a pointer to the custom userdata that is attached to the file handle. This is intended to be used by functions that extend ALLEGRO_FILE_INTERFACE.
Most helpful discussions: