open OUTPUT,"> $output";
print OUTPUT <<EOF;
-/** \\defgroup API_index Index of the API
- * \\ingroup SimGrid_API
+This file was generated by tools/doxygen/index_create.pl. DO NOT EDIT.
+
+/** \\defgroup API_index Full Index
* \\brief The alphabetical list of all functions, macros and types
* defined by SimGrid
*
* List of all functions, variables, defines, enums, and typedefs with
- * links to the files they belong to.
+ * links to the files they belong to.
+ *
+ * \\htmlonly Altough completely useless, the complete list of structures defined can be found <a href="annotated.html">here</a> \\endhtmlonly
+
EOF
-foreach $type qw(define enumeration enumvalue function typedef) {
+foreach $type (qw(define enumeration enumvalue function typedef)) {
if(defined $database{$type}) {
print OUTPUT "<h2>$type</h2> \n <ul>\n";
foreach $name (sort keys %{$database{$type}}) {