1list_config_sections(3)         Allegro manual         list_config_sections(3)
2
3
4

NAME

6       list_config_sections - Lists the names of all sections available in the
7       current configuration. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int list_config_sections(const char ***names);
14

DESCRIPTION

16       The names parameter is a pointer to an array of strings. If  it  points
17       to a NULL pointer, the list will be allocated, else it will be re-allo‐
18       cated. After the function returns, it will contain  the  names  of  all
19       sections  in the current configuration. Use free_config_entries to free
20       the allocated memory again. See list_config_entries for  more  informa‐
21       tion and an example how to use it.
22

RETURN VALUE

24       Returns the number of valid strings in the names array.
25
26

SEE ALSO

28       list_config_entries(3),    set_config_file(3),    get_config_string(3),
29       free_config_entries(3)
30
31
32
33Allegro                          version 4.2.2         list_config_sections(3)
Impressum