kernel-doc (0b88641f1bafdbd087d5e63987a30cc0eadd63b9) kernel-doc (39f00c087d31f668eb6eaf97508af22a32c5b1d9)
1#!/usr/bin/perl -w
2
3use strict;
4
5## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##
6## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ##
7## Copyright (C) 2001 Simon Huggins ##
8## Copyright (C) 2005-2008 Randy Dunlap ##

--- 767 unchanged lines hidden (view full) ---

776 }
777 print "};";
778 print " </programlisting>\n";
779 print "</refsynopsisdiv>\n";
780
781 print " <refsect1>\n";
782 print " <title>Members</title>\n";
783
1#!/usr/bin/perl -w
2
3use strict;
4
5## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##
6## Copyright (C) 2000, 1 Tim Waugh <twaugh@redhat.com> ##
7## Copyright (C) 2001 Simon Huggins ##
8## Copyright (C) 2005-2008 Randy Dunlap ##

--- 767 unchanged lines hidden (view full) ---

776 }
777 print "};";
778 print " </programlisting>\n";
779 print "</refsynopsisdiv>\n";
780
781 print " <refsect1>\n";
782 print " <title>Members</title>\n";
783
784 if ($#{$args{'parameterlist'}} >= 0) {
784 print " <variablelist>\n";
785 foreach $parameter (@{$args{'parameterlist'}}) {
786 ($parameter =~ /^#/) && next;
787
788 my $parameter_name = $parameter;
789 $parameter_name =~ s/\[.*//;
790
791 defined($args{'parameterdescs'}{$parameter_name}) || next;
792 ($args{'parameterdescs'}{$parameter_name} ne $undescribed) || next;
793 print " <varlistentry>";
794 print " <term>$parameter</term>\n";
795 print " <listitem><para>\n";
796 output_highlight($args{'parameterdescs'}{$parameter_name});
797 print " </para></listitem>\n";
798 print " </varlistentry>\n";
799 }
800 print " </variablelist>\n";
785 print " <variablelist>\n";
786 foreach $parameter (@{$args{'parameterlist'}}) {
787 ($parameter =~ /^#/) && next;
788
789 my $parameter_name = $parameter;
790 $parameter_name =~ s/\[.*//;
791
792 defined($args{'parameterdescs'}{$parameter_name}) || next;
793 ($args{'parameterdescs'}{$parameter_name} ne $undescribed) || next;
794 print " <varlistentry>";
795 print " <term>$parameter</term>\n";
796 print " <listitem><para>\n";
797 output_highlight($args{'parameterdescs'}{$parameter_name});
798 print " </para></listitem>\n";
799 print " </varlistentry>\n";
800 }
801 print " </variablelist>\n";
802 } else {
803 print " <para>\n None\n </para>\n";
804 }
801 print " </refsect1>\n";
802
803 output_section_xml(@_);
804
805 print "</refentry>\n\n";
806}
807
808# output enum in XML DocBook

--- 1257 unchanged lines hidden ---
805 print " </refsect1>\n";
806
807 output_section_xml(@_);
808
809 print "</refentry>\n\n";
810}
811
812# output enum in XML DocBook

--- 1257 unchanged lines hidden ---