]> git.puffer.fish Git - matthieu/frr.git/commit
lib: convert if_zapi_callbacks into actual hooks
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 2 Nov 2023 20:49:28 +0000 (13:49 -0700)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 3 Nov 2023 00:10:43 +0000 (17:10 -0700)
commitd889055d8e8d87cac0f4a7086e5b453bbe2d0f79
tree0fb96873f9b22943218f7c7d876839470370ca5f
parent8e3a96e846a15f34384a20a3ede2e894d7e97253
lib: convert if_zapi_callbacks into actual hooks

...so that multiple functions can be subscribed.

The create/destroy hooks are renamed to real/unreal because that's what
they *actually* signal.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
19 files changed:
babeld/babel_main.c
bfdd/ptm_adapter.c
bgpd/bgp_zebra.c
eigrpd/eigrp_interface.c
isisd/isis_circuit.c
ldpd/ldp_zebra.c
lib/if.c
lib/if.h
nhrpd/nhrp_main.c
ospf6d/ospf6_interface.c
ospfd/ospf_interface.c
pbrd/pbr_main.c
pimd/pim_iface.c
ripd/rip_interface.c
ripngd/ripng_interface.c
sharpd/sharp_zebra.c
staticd/static_zebra.c
vrrpd/vrrp_zebra.c
zebra/interface.c