]> git.proxmox.com Git - mirror_frr.git/commit
*: use ZAPI_CALLBACK_ARGS macro for zapi handlers
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 3 May 2019 19:42:59 +0000 (19:42 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 3 May 2019 20:57:35 +0000 (20:57 +0000)
commit121f9dee7ce9f1b1b8a81f8bd97eed39ed87b477
tree96db220e5aa1f111be363aafe8f5264a19970fed
parent6c33ca975ab61a869cc70fa64c0a10bcc6bc1e0d
*: use ZAPI_CALLBACK_ARGS macro for zapi handlers

This macro:
- Marks ZAPI callbacks for readability
- Standardizes argument names
- Makes it simple to add ZAPI arguments in the future
- Ensures proper types
- Looks better
- Shortens function declarations

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
32 files changed:
babeld/babel_interface.c
babeld/babel_zebra.c
bfdd/ptm_adapter.c
bgpd/bgp_bfd.c
bgpd/bgp_zebra.c
bgpd/rfapi/vnc_zebra.c
eigrpd/eigrp_zebra.c
isisd/isis_bfd.c
isisd/isis_zebra.c
ldpd/ldp_zebra.c
lib/zclient.c
lib/zclient.h
nhrpd/nhrp_interface.c
nhrpd/nhrp_route.c
nhrpd/nhrpd.h
ospf6d/ospf6_bfd.c
ospf6d/ospf6_zebra.c
ospfd/ospf_bfd.c
ospfd/ospf_zebra.c
pbrd/pbr_zebra.c
pimd/pim_bfd.c
pimd/pim_nht.c
pimd/pim_nht.h
pimd/pim_zebra.c
ripd/rip_interface.c
ripd/rip_interface.h
ripd/rip_zebra.c
ripngd/ripng_interface.c
ripngd/ripng_zebra.c
ripngd/ripngd.h
sharpd/sharp_zebra.c
staticd/static_zebra.c