summaryrefslogtreecommitdiffstats
path: root/lib/yang_wrappers.h
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2020-03-21 02:58:16 +0100
committerSantosh P K <sapk@vmware.com>2020-04-16 17:18:00 +0200
commitb71df6891c31309306ea278567a9f1815476a844 (patch)
tree872362653fc5f1c75277c225e1e35ac2e62f8191 /lib/yang_wrappers.h
parentzebra: stub changes to assimilate re into rib nb (diff)
downloadfrr-b71df6891c31309306ea278567a9f1815476a844.tar.xz
frr-b71df6891c31309306ea278567a9f1815476a844.zip
lib: add yang wrapper for type empty
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.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 31d40a519..dfb42ca2a 100644
--- a/lib/yang_wrappers.h
+++ b/lib/yang_wrappers.h
@@ -114,6 +114,9 @@ extern const char *yang_get_default_string(const char *xpath_fmt, ...);
extern void yang_get_default_string_buf(char *buf, size_t size,
const char *xpath_fmt, ...);
+/* empty */
+extern struct yang_data *yang_data_new_empty(const char *xpath);
+
/* ip prefix */
extern void yang_str2prefix(const char *value, union prefixptr prefix);
extern struct yang_data *yang_data_new_prefix(const char *xpath,