Extended util/clixon_util_xml with yang and validate functionality so it can be used as a stand-alone utility for validating XML/JSON files

This commit is contained in:
Olof hagsand 2019-06-07 10:16:03 +02:00
parent ee863e5dbd
commit 519fac186c
8 changed files with 172 additions and 36 deletions

View file

@ -243,6 +243,7 @@ parse_configfile(clicon_handle h,
/*! Add configuration option overriding file setting
* Add to clicon_options hash, and to clicon_conf_xml tree
* Assumes clicon_conf_xml_set has been called
* @param[in] h Clicon handle
* @param[in] name Name of configuration option (see clixon-config.yang)
* @param[in] value String value