From 3a2a3c7325b34923c4ecc465700708dd13e6ad73 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Fri, 14 Dec 2018 02:03:42 +0100 Subject: Doc: Rename code documentation files back to Doc --- client/Doc | 2 ++ client/progdoc | 2 -- conf/Doc | 3 +++ conf/progdoc | 3 --- filter/Doc | 4 ++++ filter/progdoc | 4 ---- lib/Doc | 12 ++++++++++++ lib/progdoc | 12 ------------ nest/Doc | 12 ++++++++++++ nest/progdoc | 12 ------------ proto/Doc | 11 +++++++++++ proto/babel/Doc | 2 ++ proto/babel/progdoc | 2 -- proto/bfd/Doc | 1 + proto/bfd/progdoc | 1 - proto/bgp/Doc | 3 +++ proto/bgp/progdoc | 3 --- proto/mrt/Doc | 1 + proto/mrt/progdoc | 1 - proto/ospf/Doc | 8 ++++++++ proto/ospf/progdoc | 8 -------- proto/pipe/Doc | 1 + proto/pipe/progdoc | 1 - proto/progdoc | 11 ----------- proto/radv/Doc | 2 ++ proto/radv/progdoc | 2 -- proto/rip/Doc | 2 ++ proto/rip/progdoc | 2 -- proto/static/Doc | 1 + proto/static/progdoc | 1 - sysdep/Doc | 2 ++ sysdep/progdoc | 2 -- sysdep/unix/Doc | 3 +++ sysdep/unix/progdoc | 3 --- tools/progdoc | 2 +- 35 files changed, 71 insertions(+), 71 deletions(-) create mode 100644 client/Doc delete mode 100644 client/progdoc create mode 100644 conf/Doc delete mode 100644 conf/progdoc create mode 100644 filter/Doc delete mode 100644 filter/progdoc create mode 100644 lib/Doc delete mode 100644 lib/progdoc create mode 100644 nest/Doc delete mode 100644 nest/progdoc create mode 100644 proto/Doc create mode 100644 proto/babel/Doc delete mode 100644 proto/babel/progdoc create mode 100644 proto/bfd/Doc delete mode 100644 proto/bfd/progdoc create mode 100644 proto/bgp/Doc delete mode 100644 proto/bgp/progdoc create mode 100644 proto/mrt/Doc delete mode 100644 proto/mrt/progdoc create mode 100644 proto/ospf/Doc delete mode 100644 proto/ospf/progdoc create mode 100644 proto/pipe/Doc delete mode 100644 proto/pipe/progdoc delete mode 100644 proto/progdoc create mode 100644 proto/radv/Doc delete mode 100644 proto/radv/progdoc create mode 100644 proto/rip/Doc delete mode 100644 proto/rip/progdoc create mode 100644 proto/static/Doc delete mode 100644 proto/static/progdoc create mode 100644 sysdep/Doc delete mode 100644 sysdep/progdoc create mode 100644 sysdep/unix/Doc delete mode 100644 sysdep/unix/progdoc diff --git a/client/Doc b/client/Doc new file mode 100644 index 00000000..f363e699 --- /dev/null +++ b/client/Doc @@ -0,0 +1,2 @@ +H Client +S client.c commands.c diff --git a/client/progdoc b/client/progdoc deleted file mode 100644 index f363e699..00000000 --- a/client/progdoc +++ /dev/null @@ -1,2 +0,0 @@ -H Client -S client.c commands.c diff --git a/conf/Doc b/conf/Doc new file mode 100644 index 00000000..fe09b64d --- /dev/null +++ b/conf/Doc @@ -0,0 +1,3 @@ +H Configuration +S conf.c +S cf-lex.l diff --git a/conf/progdoc b/conf/progdoc deleted file mode 100644 index fe09b64d..00000000 --- a/conf/progdoc +++ /dev/null @@ -1,3 +0,0 @@ -H Configuration -S conf.c -S cf-lex.l diff --git a/filter/Doc b/filter/Doc new file mode 100644 index 00000000..8e9c6b35 --- /dev/null +++ b/filter/Doc @@ -0,0 +1,4 @@ +H Filters +S filter.c +S tree.c +S trie.c \ No newline at end of file diff --git a/filter/progdoc b/filter/progdoc deleted file mode 100644 index 8e9c6b35..00000000 --- a/filter/progdoc +++ /dev/null @@ -1,4 +0,0 @@ -H Filters -S filter.c -S tree.c -S trie.c \ No newline at end of file diff --git a/lib/Doc b/lib/Doc new file mode 100644 index 00000000..3877f3a3 --- /dev/null +++ b/lib/Doc @@ -0,0 +1,12 @@ +H Library functions +S ip.c +S lists.c +S checksum.c bitops.c patmatch.c printf.c xmalloc.c tbf.c +S mac.c +S flowspec.c +D resource.sgml +S resource.c +S mempool.c +S slab.c +S event.c +S ../sysdep/unix/io.c diff --git a/lib/progdoc b/lib/progdoc deleted file mode 100644 index 3877f3a3..00000000 --- a/lib/progdoc +++ /dev/null @@ -1,12 +0,0 @@ -H Library functions -S ip.c -S lists.c -S checksum.c bitops.c patmatch.c printf.c xmalloc.c tbf.c -S mac.c -S flowspec.c -D resource.sgml -S resource.c -S mempool.c -S slab.c -S event.c -S ../sysdep/unix/io.c diff --git a/nest/Doc b/nest/Doc new file mode 100644 index 00000000..38af0feb --- /dev/null +++ b/nest/Doc @@ -0,0 +1,12 @@ +H Core +S rt-fib.c +S rt-table.c +S rt-attr.c +D proto.sgml +S proto.c +S proto-hooks.c +S iface.c +S neighbor.c +S cli.c +S locks.c +# rt-dev.c documented in Protocols chapter diff --git a/nest/progdoc b/nest/progdoc deleted file mode 100644 index 38af0feb..00000000 --- a/nest/progdoc +++ /dev/null @@ -1,12 +0,0 @@ -H Core -S rt-fib.c -S rt-table.c -S rt-attr.c -D proto.sgml -S proto.c -S proto-hooks.c -S iface.c -S neighbor.c -S cli.c -S locks.c -# rt-dev.c documented in Protocols chapter diff --git a/proto/Doc b/proto/Doc new file mode 100644 index 00000000..ef573d2a --- /dev/null +++ b/proto/Doc @@ -0,0 +1,11 @@ +H Protocols +C babel +C bfd +C bgp +C ospf +C pipe +C radv +C rip +C rpki +C static +S ../nest/rt-dev.c diff --git a/proto/babel/Doc b/proto/babel/Doc new file mode 100644 index 00000000..80026f91 --- /dev/null +++ b/proto/babel/Doc @@ -0,0 +1,2 @@ +S babel.c +S packets.c diff --git a/proto/babel/progdoc b/proto/babel/progdoc deleted file mode 100644 index 80026f91..00000000 --- a/proto/babel/progdoc +++ /dev/null @@ -1,2 +0,0 @@ -S babel.c -S packets.c diff --git a/proto/bfd/Doc b/proto/bfd/Doc new file mode 100644 index 00000000..7ee5d3ef --- /dev/null +++ b/proto/bfd/Doc @@ -0,0 +1 @@ +S bfd.c diff --git a/proto/bfd/progdoc b/proto/bfd/progdoc deleted file mode 100644 index 7ee5d3ef..00000000 --- a/proto/bfd/progdoc +++ /dev/null @@ -1 +0,0 @@ -S bfd.c diff --git a/proto/bgp/Doc b/proto/bgp/Doc new file mode 100644 index 00000000..6432d1a6 --- /dev/null +++ b/proto/bgp/Doc @@ -0,0 +1,3 @@ +S bgp.c +S packets.c +S attrs.c diff --git a/proto/bgp/progdoc b/proto/bgp/progdoc deleted file mode 100644 index 6432d1a6..00000000 --- a/proto/bgp/progdoc +++ /dev/null @@ -1,3 +0,0 @@ -S bgp.c -S packets.c -S attrs.c diff --git a/proto/mrt/Doc b/proto/mrt/Doc new file mode 100644 index 00000000..5f61a9bb --- /dev/null +++ b/proto/mrt/Doc @@ -0,0 +1 @@ +S mrt.c diff --git a/proto/mrt/progdoc b/proto/mrt/progdoc deleted file mode 100644 index 5f61a9bb..00000000 --- a/proto/mrt/progdoc +++ /dev/null @@ -1 +0,0 @@ -S mrt.c diff --git a/proto/ospf/Doc b/proto/ospf/Doc new file mode 100644 index 00000000..af741942 --- /dev/null +++ b/proto/ospf/Doc @@ -0,0 +1,8 @@ +S ospf.c +S topology.c +S neighbor.c +S iface.c +S packet.c +S lsalib.c +S dbdes.c +S rt.c diff --git a/proto/ospf/progdoc b/proto/ospf/progdoc deleted file mode 100644 index af741942..00000000 --- a/proto/ospf/progdoc +++ /dev/null @@ -1,8 +0,0 @@ -S ospf.c -S topology.c -S neighbor.c -S iface.c -S packet.c -S lsalib.c -S dbdes.c -S rt.c diff --git a/proto/pipe/Doc b/proto/pipe/Doc new file mode 100644 index 00000000..e7a6d6a7 --- /dev/null +++ b/proto/pipe/Doc @@ -0,0 +1 @@ +S pipe.c diff --git a/proto/pipe/progdoc b/proto/pipe/progdoc deleted file mode 100644 index e7a6d6a7..00000000 --- a/proto/pipe/progdoc +++ /dev/null @@ -1 +0,0 @@ -S pipe.c diff --git a/proto/progdoc b/proto/progdoc deleted file mode 100644 index ef573d2a..00000000 --- a/proto/progdoc +++ /dev/null @@ -1,11 +0,0 @@ -H Protocols -C babel -C bfd -C bgp -C ospf -C pipe -C radv -C rip -C rpki -C static -S ../nest/rt-dev.c diff --git a/proto/radv/Doc b/proto/radv/Doc new file mode 100644 index 00000000..d051692a --- /dev/null +++ b/proto/radv/Doc @@ -0,0 +1,2 @@ +S radv.c +S packets.c diff --git a/proto/radv/progdoc b/proto/radv/progdoc deleted file mode 100644 index d051692a..00000000 --- a/proto/radv/progdoc +++ /dev/null @@ -1,2 +0,0 @@ -S radv.c -S packets.c diff --git a/proto/rip/Doc b/proto/rip/Doc new file mode 100644 index 00000000..561b2153 --- /dev/null +++ b/proto/rip/Doc @@ -0,0 +1,2 @@ +S rip.c +S packets.c diff --git a/proto/rip/progdoc b/proto/rip/progdoc deleted file mode 100644 index 561b2153..00000000 --- a/proto/rip/progdoc +++ /dev/null @@ -1,2 +0,0 @@ -S rip.c -S packets.c diff --git a/proto/static/Doc b/proto/static/Doc new file mode 100644 index 00000000..73632b1f --- /dev/null +++ b/proto/static/Doc @@ -0,0 +1 @@ +S static.c diff --git a/proto/static/progdoc b/proto/static/progdoc deleted file mode 100644 index 73632b1f..00000000 --- a/proto/static/progdoc +++ /dev/null @@ -1 +0,0 @@ -S static.c diff --git a/sysdep/Doc b/sysdep/Doc new file mode 100644 index 00000000..7ada9f48 --- /dev/null +++ b/sysdep/Doc @@ -0,0 +1,2 @@ +D sysdep.sgml +C unix diff --git a/sysdep/progdoc b/sysdep/progdoc deleted file mode 100644 index 7ada9f48..00000000 --- a/sysdep/progdoc +++ /dev/null @@ -1,2 +0,0 @@ -D sysdep.sgml -C unix diff --git a/sysdep/unix/Doc b/sysdep/unix/Doc new file mode 100644 index 00000000..a17f425b --- /dev/null +++ b/sysdep/unix/Doc @@ -0,0 +1,3 @@ +S log.c +S krt.c +# io.c is documented under Resources diff --git a/sysdep/unix/progdoc b/sysdep/unix/progdoc deleted file mode 100644 index a17f425b..00000000 --- a/sysdep/unix/progdoc +++ /dev/null @@ -1,3 +0,0 @@ -S log.c -S krt.c -# io.c is documented under Resources diff --git a/tools/progdoc b/tools/progdoc index 32e9771e..d576ee61 100755 --- a/tools/progdoc +++ b/tools/progdoc @@ -33,7 +33,7 @@ sub process { /^([A-Z]+)\s*(.*)/ || die "Parse error: $_"; $cmd = $1; $arg = $2; - if ($cmd eq "C") { process("$dir/$arg", "progdoc"); } + if ($cmd eq "C") { process("$dir/$arg", "Doc"); } elsif ($cmd eq "H") { push @stack, "H"; print OUT "$arg\n"; -- cgit v1.2.3