]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: standardize ZAPI message handler args
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 6 Mar 2018 22:57:33 +0000 (17:57 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 12 Mar 2018 18:57:05 +0000 (14:57 -0400)
commit89f4e5077bd8162dbda0e10a3bbd594c2c698d77
tree5e1aa7b4ba59fbee99b093f3a5938bcf691fc748
parent9bcbcae2e428bfd2b8d3a95368e459a338c14eed
zebra: standardize ZAPI message handler args

A lot of the handler functions that are called directly from the ZAPI
input processing code take different argument sets where they don't need
to. These functions are called from only one place and all have the same
fundamental information available to them to do their work. There is no
need to specialize what information is passed to them; it is cleaner and
easier to understand when they all accept the same base set of
information and extract what they need inline.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
12 files changed:
zebra/redistribute.c
zebra/redistribute.h
zebra/rtadv.c
zebra/rtadv.h
zebra/zebra_mroute.c
zebra/zebra_mroute.h
zebra/zebra_ptm.c
zebra/zebra_ptm.h
zebra/zebra_vxlan.c
zebra/zebra_vxlan.h
zebra/zserv.c
zebra/zserv.h