]> git.proxmox.com Git - mirror_frr.git/commit - lib/yang.c
lib: introduce function to retrieve the schema name of a data node
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 24 Nov 2018 23:56:48 +0000 (21:56 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 26 Nov 2018 17:52:12 +0000 (15:52 -0200)
commit3f662078965405c6363dcecc2cc43c658c108229
tree427c43caa58530c2f2e09a88000ec8a7a4d6912c
parenta7d055e4ff4d476814c8b2ee56691ed5e853b6bd
lib: introduce function to retrieve the schema name of a data node

In some cases it might be desirable to obtain the schema name of
a libyang data node. Introduce the yang_dnode_get_schema_name()
function for this purpose.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/yang.c
lib/yang.h