]> git.proxmox.com Git - mirror_frr.git/commit - lib/command.c
lib/command.c: rewrite command matching/parsing
authorChristian Franke <chris@opensourcerouting.org>
Mon, 30 Sep 2013 12:27:51 +0000 (12:27 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 1 Apr 2014 18:21:41 +0000 (20:21 +0200)
commitcd40b329a2e4da882bcad0431c048c876bbeafbd
treecfbdec5a7559c6d3e56766797896a18809aa1746
parente712d0e3667ffad8109ef8bce3ce01927ee95bb7
lib/command.c: rewrite command matching/parsing

Add support for keyword commands.

Includes new documentation for DEFUN() in lib/command.h, for preexisting
features as well as new keyword specification.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
17 files changed:
babeld/babel_main.c
bgpd/bgp_main.c
isisd/isis_main.c
lib/command.c
lib/command.h
lib/memtypes.c
lib/vty.c
ospf6d/ospf6_main.c
ospfd/ospf_main.c
ripd/rip_main.c
ripngd/ripng_main.c
tests/main.c
tests/test-commands.c
vtysh/vtysh.c
vtysh/vtysh_main.c
zebra/main.c
zebra/test_main.c