3 ($#ARGV >= 1) or die "Usage: index_create.pl <input-tag-file> <output-doc-file>";
14 if($line=~/compound kind=/) {
16 $type =~ s/^[^\"]*\"//;
18 $line=<FILE>;chomp $line;
20 if($line=~/member kind=/) {
22 $type =~ s/^[^\"]*\"//;
24 $line=<FILE>;chomp $line;
28 $name =~ s/.*<name>//;
29 $name =~ s/<\/name>.*//;
30 $database{$type}{$name} = 1;
38 open OUTPUT,"> $output";
40 This file was generated by tools/doxygen/index_create.pl. DO NOT EDIT.
42 /** \\defgroup API_index Full Index
43 * \\brief The alphabetical list of all functions, macros and types
46 * List of all functions, variables, defines, enums, and typedefs with
47 * links to the files they belong to.
49 * \\htmlonly Although completely useless, the complete list of structures defined can be found <a href="annotated.html">here</a> \\endhtmlonly
54 foreach $type (qw(define enumeration enumvalue function typedef)) {
55 if(defined $database{$type}) {
56 print OUTPUT "<h2>$type</h2> \n <ul>\n";
57 foreach $name (sort keys %{$database{$type}}) {
58 if($type eq "function") {
59 print OUTPUT "\t<LI> $name()</LI>\n";
61 print OUTPUT "\t<LI> #$name</LI>\n";
64 print OUTPUT "\n </ul>\n";