.\" Generated by the Allegro makedoc utility .TH list_config_sections 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME list_config_sections \- Lists the names of all sections available in the current configuration. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int list_config_sections(const char ***names); .SH DESCRIPTION The names parameter is a pointer to an array of strings. If it points to a NULL pointer, the list will be allocated, else it will be re-allocated. After the function returns, it will contain the names of all sections in the current configuration. Use free_config_entries to free the allocated memory again. See list_config_entries for more information and an example how to use it. .SH "RETURN VALUE" Returns the number of valid strings in the names array. .SH SEE ALSO .BR list_config_entries (3alleg4), .BR set_config_file (3alleg4), .BR get_config_string (3alleg4), .BR free_config_entries (3alleg4)