plugins exts UPDATE ext callback for data node validation
Fixes #1908
diff --git a/src/plugins_exts/metadata.c b/src/plugins_exts/metadata.c
index eebb434..8326f6b 100644
--- a/src/plugins_exts/metadata.c
+++ b/src/plugins_exts/metadata.c
@@ -163,6 +163,7 @@
.plugin.compile = &annotation_compile,
.plugin.sprinter = &annotation_schema_printer,
.plugin.free = annotation_free,
+ .plugin.node = NULL,
.plugin.snode = NULL,
.plugin.validate = NULL
},
diff --git a/src/plugins_exts/nacm.c b/src/plugins_exts/nacm.c
index 1a50ea3..a83e32b 100644
--- a/src/plugins_exts/nacm.c
+++ b/src/plugins_exts/nacm.c
@@ -161,6 +161,7 @@
.plugin.compile = &nacm_compile,
.plugin.sprinter = NULL,
.plugin.free = NULL,
+ .plugin.node = NULL,
.plugin.snode = NULL,
.plugin.validate = NULL
}, {
@@ -172,6 +173,7 @@
.plugin.compile = &nacm_compile,
.plugin.sprinter = NULL,
.plugin.free = NULL,
+ .plugin.node = NULL,
.plugin.snode = NULL,
.plugin.validate = NULL
}, {
@@ -183,6 +185,7 @@
.plugin.compile = &nacm_compile,
.plugin.sprinter = NULL,
.plugin.free = NULL,
+ .plugin.node = NULL,
.plugin.snode = NULL,
.plugin.validate = NULL
}, {
@@ -194,6 +197,7 @@
.plugin.compile = &nacm_compile,
.plugin.sprinter = NULL,
.plugin.free = NULL,
+ .plugin.node = NULL,
.plugin.snode = NULL,
.plugin.validate = NULL
},
diff --git a/src/plugins_exts/schema_mount.c b/src/plugins_exts/schema_mount.c
index 1cfea52..dce83dd 100644
--- a/src/plugins_exts/schema_mount.c
+++ b/src/plugins_exts/schema_mount.c
@@ -850,6 +850,7 @@
.plugin.compile = &schema_mount_compile,
.plugin.sprinter = NULL,
.plugin.free = &schema_mount_free,
+ .plugin.node = NULL,
.plugin.snode = &schema_mount_snode,
.plugin.validate = &schema_mount_validate
},
diff --git a/src/plugins_exts/yangdata.c b/src/plugins_exts/yangdata.c
index b2e6f62..38e4c16 100644
--- a/src/plugins_exts/yangdata.c
+++ b/src/plugins_exts/yangdata.c
@@ -171,9 +171,10 @@
.name = "yang-data",
.plugin.id = "libyang 2 - yang-data, version 1",
- .plugin.compile = &yangdata_compile,
- .plugin.sprinter = &yangdata_schema_printer,
+ .plugin.compile = yangdata_compile,
+ .plugin.sprinter = yangdata_schema_printer,
.plugin.free = yangdata_free,
+ .plugin.node = NULL,
.plugin.snode = NULL,
.plugin.validate = NULL
},