Allegro 5 api
#include <allegro5/allegro.h> char const *al_get_next_config_section(ALLEGRO_CONFIG_SECTION **iterator)
Returns the name of the next section in the given config file or NULL if there are no more sections. The iterator must have been obtained with al_get_first_config_section(3alleg5) first.
al_get_first_config_section(3alleg5)