kernel-doc (c73894c1e1160296552d8713e88bc76eac43beba) | kernel-doc (8b0c2d989cc60db1767481386ca912e99807eddb) |
---|---|
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## ## --- 567 unchanged lines hidden (view full) --- 576 my ($parameter, $section); 577 my $count; 578 my $id; 579 580 $id = "API-".$args{'function'}; 581 $id =~ s/[^A-Za-z0-9]/-/g; 582 583 print "<refentry>\n"; | 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## ## --- 567 unchanged lines hidden (view full) --- 576 my ($parameter, $section); 577 my $count; 578 my $id; 579 580 $id = "API-".$args{'function'}; 581 $id =~ s/[^A-Za-z0-9]/-/g; 582 583 print "<refentry>\n"; |
584 print "<refentryinfo>\n"; 585 print " <title>LINUX</title>\n"; 586 print " <productname>Kernel Hackers Manual</productname>\n"; 587 print " <date>$man_date</date>\n"; 588 print "</refentryinfo>\n"; |
|
584 print "<refmeta>\n"; | 589 print "<refmeta>\n"; |
585 print "<refentrytitle><phrase id=\"$id\">".$args{'function'}."</phrase></refentrytitle>\n"; | 590 print " <refentrytitle><phrase id=\"$id\">".$args{'function'}."</phrase></refentrytitle>\n"; 591 print " <manvolnum>9</manvolnum>\n"; |
586 print "</refmeta>\n"; 587 print "<refnamediv>\n"; 588 print " <refname>".$args{'function'}."</refname>\n"; 589 print " <refpurpose>\n"; 590 print " "; 591 output_highlight ($args{'purpose'}); 592 print " </refpurpose>\n"; 593 print "</refnamediv>\n"; --- 52 unchanged lines hidden (view full) --- 646 my %args = %{$_[0]}; 647 my ($parameter, $section); 648 my $id; 649 650 $id = "API-struct-".$args{'struct'}; 651 $id =~ s/[^A-Za-z0-9]/-/g; 652 653 print "<refentry>\n"; | 592 print "</refmeta>\n"; 593 print "<refnamediv>\n"; 594 print " <refname>".$args{'function'}."</refname>\n"; 595 print " <refpurpose>\n"; 596 print " "; 597 output_highlight ($args{'purpose'}); 598 print " </refpurpose>\n"; 599 print "</refnamediv>\n"; --- 52 unchanged lines hidden (view full) --- 652 my %args = %{$_[0]}; 653 my ($parameter, $section); 654 my $id; 655 656 $id = "API-struct-".$args{'struct'}; 657 $id =~ s/[^A-Za-z0-9]/-/g; 658 659 print "<refentry>\n"; |
660 print "<refentryinfo>\n"; 661 print " <title>LINUX</title>\n"; 662 print " <productname>Kernel Hackers Manual</productname>\n"; 663 print " <date>$man_date</date>\n"; 664 print "</refentryinfo>\n"; |
|
654 print "<refmeta>\n"; | 665 print "<refmeta>\n"; |
655 print "<refentrytitle><phrase id=\"$id\">".$args{'type'}." ".$args{'struct'}."</phrase></refentrytitle>\n"; | 666 print " <refentrytitle><phrase id=\"$id\">".$args{'type'}." ".$args{'struct'}."</phrase></refentrytitle>\n"; 667 print " <manvolnum>9</manvolnum>\n"; |
656 print "</refmeta>\n"; 657 print "<refnamediv>\n"; 658 print " <refname>".$args{'type'}." ".$args{'struct'}."</refname>\n"; 659 print " <refpurpose>\n"; 660 print " "; 661 output_highlight ($args{'purpose'}); 662 print " </refpurpose>\n"; 663 print "</refnamediv>\n"; --- 60 unchanged lines hidden (view full) --- 724 my ($parameter, $section); 725 my $count; 726 my $id; 727 728 $id = "API-enum-".$args{'enum'}; 729 $id =~ s/[^A-Za-z0-9]/-/g; 730 731 print "<refentry>\n"; | 668 print "</refmeta>\n"; 669 print "<refnamediv>\n"; 670 print " <refname>".$args{'type'}." ".$args{'struct'}."</refname>\n"; 671 print " <refpurpose>\n"; 672 print " "; 673 output_highlight ($args{'purpose'}); 674 print " </refpurpose>\n"; 675 print "</refnamediv>\n"; --- 60 unchanged lines hidden (view full) --- 736 my ($parameter, $section); 737 my $count; 738 my $id; 739 740 $id = "API-enum-".$args{'enum'}; 741 $id =~ s/[^A-Za-z0-9]/-/g; 742 743 print "<refentry>\n"; |
744 print "<refentryinfo>\n"; 745 print " <title>LINUX</title>\n"; 746 print " <productname>Kernel Hackers Manual</productname>\n"; 747 print " <date>$man_date</date>\n"; 748 print "</refentryinfo>\n"; |
|
732 print "<refmeta>\n"; | 749 print "<refmeta>\n"; |
733 print "<refentrytitle><phrase id=\"$id\">enum ".$args{'enum'}."</phrase></refentrytitle>\n"; | 750 print " <refentrytitle><phrase id=\"$id\">enum ".$args{'enum'}."</phrase></refentrytitle>\n"; 751 print " <manvolnum>9</manvolnum>\n"; |
734 print "</refmeta>\n"; 735 print "<refnamediv>\n"; 736 print " <refname>enum ".$args{'enum'}."</refname>\n"; 737 print " <refpurpose>\n"; 738 print " "; 739 output_highlight ($args{'purpose'}); 740 print " </refpurpose>\n"; 741 print "</refnamediv>\n"; --- 42 unchanged lines hidden (view full) --- 784 my %args = %{$_[0]}; 785 my ($parameter, $section); 786 my $id; 787 788 $id = "API-typedef-".$args{'typedef'}; 789 $id =~ s/[^A-Za-z0-9]/-/g; 790 791 print "<refentry>\n"; | 752 print "</refmeta>\n"; 753 print "<refnamediv>\n"; 754 print " <refname>enum ".$args{'enum'}."</refname>\n"; 755 print " <refpurpose>\n"; 756 print " "; 757 output_highlight ($args{'purpose'}); 758 print " </refpurpose>\n"; 759 print "</refnamediv>\n"; --- 42 unchanged lines hidden (view full) --- 802 my %args = %{$_[0]}; 803 my ($parameter, $section); 804 my $id; 805 806 $id = "API-typedef-".$args{'typedef'}; 807 $id =~ s/[^A-Za-z0-9]/-/g; 808 809 print "<refentry>\n"; |
810 print "<refentryinfo>\n"; 811 print " <title>LINUX</title>\n"; 812 print " <productname>Kernel Hackers Manual</productname>\n"; 813 print " <date>$man_date</date>\n"; 814 print "</refentryinfo>\n"; |
|
792 print "<refmeta>\n"; | 815 print "<refmeta>\n"; |
793 print "<refentrytitle><phrase id=\"$id\">typedef ".$args{'typedef'}."</phrase></refentrytitle>\n"; | 816 print " <refentrytitle><phrase id=\"$id\">typedef ".$args{'typedef'}."</phrase></refentrytitle>\n"; 817 print " <manvolnum>9</manvolnum>\n"; |
794 print "</refmeta>\n"; 795 print "<refnamediv>\n"; 796 print " <refname>typedef ".$args{'typedef'}."</refname>\n"; 797 print " <refpurpose>\n"; 798 print " "; 799 output_highlight ($args{'purpose'}); 800 print " </refpurpose>\n"; 801 print "</refnamediv>\n"; --- 1037 unchanged lines hidden --- | 818 print "</refmeta>\n"; 819 print "<refnamediv>\n"; 820 print " <refname>typedef ".$args{'typedef'}."</refname>\n"; 821 print " <refpurpose>\n"; 822 print " "; 823 output_highlight ($args{'purpose'}); 824 print " </refpurpose>\n"; 825 print "</refnamediv>\n"; --- 1037 unchanged lines hidden --- |