summaryrefslogtreecommitdiffstats
path: root/lib/vrf.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-16 01:02:34 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-16 01:02:34 +0200
commit7922fc65ae0bf5ec211064d8610d4122ddbb4e20 (patch)
treec3bc6ecb0418fe2ce1faa11807c800d440637919 /lib/vrf.h
parenteigrpd: Cleanup a bunch SA warnings. (diff)
downloadfrr-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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index f8bb07ef4..418d891a3 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -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) \