Function\n";
+
+ print "".$args{'functiontype'}."\n";
+ print "".$args{'function'}."\n";
+ print "(";
+ $count = 0;
+ foreach $parameter (@{$args{'parameterlist'}}) {
+ print "".$args{'parametertypes'}{$parameter}." ".$parameter."";
+ if ($count != $#{$args{'parameterlist'}}) {
+ $count++;
+ print ", ";
+ }
+ }
+ print ")\n";
+
+ print "Arguments\n";
+ print "\n";
+ foreach $parameter (@{$args{'parameterlist'}}) {
+ print "".$args{'parametertypes'}{$parameter}." ".$parameter."\n";
+ output_highlight($args{'parameters'}{$parameter});
+ }
+ print "\n";
+ foreach $section (@{$args{'sectionlist'}}) {
+ print "$section\n";
+ print "\n";
+ output_highlight($args{'sections'}{$section});
+ }
+ print "\n";
+}
+
+# output in birddoc
+sub output_intro_bird {
+ my %args = %{$_[0]};
+ my ($parameter, $section);
+ my $count;
+ my $id;
+
+ $id = $args{'module'};
+ $id =~ s/[^A-Za-z0-9]/-/g;
+
+ # print out each section
+ $lineprefix=" ";
+ foreach $section (@{$args{'sectionlist'}}) {
+ print "$section\n\n";
+ output_highlight($args{'sections'}{$section});
+ }
+
+ print "\n\n";
+}
+
##
# output in man
sub output_man {