summaryrefslogtreecommitdiffstats
path: root/lib/yang_wrappers.h
diff options
context:
space:
mode:
authorvdhingra <vdhingra@vmware.com>2020-07-02 07:36:51 +0200
committervdhingra <vdhingra@vmware.com>2020-07-16 17:40:42 +0200
commit755100ac8983324e02cca9e1ab50bca1ab2da4da (patch)
tree82f051868e1d186b7164788774ffe57858c34c5a /lib/yang_wrappers.h
parentstaticd : Configuration northbound implementation (diff)
downloadfrr-755100ac8983324e02cca9e1ab50bca1ab2da4da.tar.xz
frr-755100ac8983324e02cca9e1ab50bca1ab2da4da.zip
zebra: Moving afi-safi identity to lib
afi-safi identity handling should be in the common place. Signed-off-by: VishalDhingra <vdhingra@vmware.com>
Diffstat (limited to 'lib/yang_wrappers.h')
-rw-r--r--lib/yang_wrappers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/yang_wrappers.h b/lib/yang_wrappers.h
index ba2cf5139..335ff319d 100644
--- a/lib/yang_wrappers.h
+++ b/lib/yang_wrappers.h
@@ -191,6 +191,9 @@ extern struct yang_data *yang_data_new_date_and_time(const char *xpath,
/* nexthop enum2str */
extern const char *yang_nexthop_type2str(uint32_t ntype);
+const char *yang_afi_safi_value2identity(afi_t afi, safi_t safi);
+void yang_afi_safi_identity2value(const char *key, afi_t *afi, safi_t *safi);
+
#ifdef __cplusplus
}
#endif