diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-16 01:02:34 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-16 01:02:34 +0200 |
commit | 7922fc65ae0bf5ec211064d8610d4122ddbb4e20 (patch) | |
tree | c3bc6ecb0418fe2ce1faa11807c800d440637919 /lib/vrf.h | |
parent | eigrpd: Cleanup a bunch SA warnings. (diff) | |
download | frr-7922fc65ae0bf5ec211064d8610d4122ddbb4e20.tar.xz frr-7922fc65ae0bf5ec211064d8610d4122ddbb4e20.zip |
lib, zebra: Cleanup vrf api some
Segregate the vrf enable/disable functionality from other vrf
code. This is to ensure that people are not actually using
the functions when they should not be. Also document the
why of it properly in the new vrf_int.h header.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/vrf.h')
-rw-r--r-- | lib/vrf.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -111,8 +111,6 @@ extern void vrf_add_hook (int, int (*)(struct vrf *)); extern struct vrf *vrf_lookup_by_id (vrf_id_t); extern struct vrf *vrf_lookup_by_name (const char *); extern struct vrf *vrf_get (vrf_id_t, const char *); -extern void vrf_delete (struct vrf *); -extern int vrf_enable (struct vrf *); extern vrf_id_t vrf_name_to_id (const char *); #define VRF_GET_ID(V,NAME) \ |