summaryrefslogtreecommitdiff
path: root/lib/yang.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-08-07 11:09:25 -0400
committerGitHub <noreply@github.com>2020-08-07 11:09:25 -0400
commit690e4f9dff41b78e630efee96eabb11864804452 (patch)
tree7f0d55d518848b4e9cb61cd765221b865c8c2548 /lib/yang.h
parent940bb755fc1e406665b17d4d8a4fac21149d7744 (diff)
parent65de8bc8d0d949f0ea12a84dba9b7963ac1a74f6 (diff)
Merge pull request #6517 from vishaldhingra/submodule
lib: Add support to load submodules in embedded modules framework
Diffstat (limited to 'lib/yang.h')
-rw-r--r--lib/yang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/yang.h b/lib/yang.h
index d526d2f5d6..cc048c44e8 100644
--- a/lib/yang.h
+++ b/lib/yang.h
@@ -48,6 +48,8 @@ extern "C" {
struct yang_module_embed {
struct yang_module_embed *next;
const char *mod_name, *mod_rev;
+ const char *sub_mod_name;
+ const char *sub_mod_rev;
const char *data;
LYS_INFORMAT format;
};