clixon/lib/clixon
Olof hagsand 9fa5e216c4 * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo
w-level general upgrades and as a complement to module-specific upgrade.
  * Called on startup after initial XML parsing, but before module-specific upgrades
  * Enabled by definign the `.ca_datastore_upgrade`
  * [General-purpose upgrade documentation](https://clixon-docs.readthedocs.io/en/latest/backend.html#ge
neral-purpose)
* JSON parse error messages change from ` on line x: syntax error,..` to `json_parse: line x: syntax err
or`
* Unknown-element error message is more descriptive, eg from `namespace is: urn:example:clixon` to: `Fai
led to find YANG spec of XML node: x with parent: xp in namespace urn:example:clixon`.
* C-API parse and validation API more capable
  * `xml_spec_populate` family of functions extended with three-value return values
    * -1: error, 0: parse OK, 1: parse and YANG binding OK.
  * `xml_parse` and `json_parse` API changes
    * Three value returns: -1: error, 0: parse OK, 1: parse and YANG binding OK.
    * Extended `xml_parse_file2` and `xml_parse_string2` extended API functions with all options available.
      * New concept called `yang_bind` that defines how XML symbols are bound to YANG after parsing
    * Existing API same except `xml_parse_file` `endtag` argument moved to `xml_parse_file2`
* C-API: Added instrumentation: `xml_size` and `xml_stats_get`.
* Fixed: Enabling modstate (CLICON_XMLDB_MODSTATE), changing a revision on a yang, and restarting made the backend daemon exit at start (thanks Matt)
  * Also: ensure to load `ietf-yang-library.yang ` if CLICON_XMLDB_MODSTATE is set
2020-02-20 14:00:01 +01:00
..
clixon.h.in Very large commit for upcoming 4.4 release 2020-02-02 15:52:30 +01:00
clixon_data.h * Session-id CLI functionality delayed: "lazy evaluation" 2020-02-05 15:37:25 +01:00
clixon_datastore.h Added nsc parameter to xmldb_get() 2019-12-02 20:55:28 +01:00
clixon_err.h Very large commit for upcoming 4.4 release 2020-02-02 15:52:30 +01:00
clixon_err_string.h Experimental customized error output strings, see [lib/clixon/clixon_err_string.h] 2019-04-11 12:45:31 +02:00
clixon_event.h 2019 2019-01-02 15:48:30 +01:00
clixon_file.h * Implemented backend daemon drop privileges after initialization to 2019-09-14 18:34:32 +02:00
clixon_handle.h * Structural change: removed datastore plugin and directory, and merged into regulat clixon lib code. 2019-03-31 18:17:40 +02:00
clixon_hash.h All hash_ functions have been prefixed with clicon_ to avoid name collision with other packages (frr) 2019-06-18 14:49:18 +02:00
clixon_json.h * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
clixon_log.h 2019 2019-01-02 15:48:30 +01:00
clixon_nacm.h recover user as config option instead of constant 2019-10-24 20:43:03 +02:00
clixon_netconf_lib.h changed netconf_err2cb 2019-11-12 20:47:09 +01:00
clixon_options.h moved config yang spec from main functions to options_main function 2019-12-01 17:42:34 +01:00
clixon_path.h * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
clixon_plugin.h * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
clixon_proto.h Added clicon_handle as parameter to all functions to get better error message 2019-11-30 22:19:23 +01:00
clixon_proto_client.h * C-API: Added xpath_first_localonly() as an xpath function that skips prefix and namespace checks. 2019-12-20 18:21:46 +01:00
clixon_queue.h New XMLDB_FORMAT added: tree. An experimental record-based tree database for direct access of records. 2019-04-26 13:38:55 +02:00
clixon_regex.h added regexp free routines, replaced regexp mode string with symbol 2019-05-29 14:17:30 +00:00
clixon_sha1.h 2019 2019-01-02 15:48:30 +01:00
clixon_sig.h 2019 2019-01-02 15:48:30 +01:00
clixon_stream.h 2019 2019-01-02 15:48:30 +01:00
clixon_string.h * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
clixon_uid.h * The backend socket has now support of credentials of peer clients 2019-10-18 19:33:23 +02:00
clixon_validate.h * Created two sub-files (clixon_validate.c and clixon_api_path.c) from large lib/src/clixon_xml_map.c source file. 2020-01-01 11:12:54 +01:00
clixon_xml.h * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
clixon_xml_changelog.h XML chanelog revision 2019-03-25 10:42:27 +01:00
clixon_xml_map.h * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
clixon_xml_nsctx.h Added "canonical" global namespace context: nsctx_global 2019-11-15 17:04:13 +01:00
clixon_xml_sort.h * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
clixon_xpath.h Experimental optimized XPath, multiple keys 2019-12-31 13:29:25 +01:00
clixon_xpath_ctx.h Very large commit for upcoming 4.4 release 2020-02-02 15:52:30 +01:00
clixon_xpath_optimize.h Experimental optimized XPath, multiple keys 2019-12-31 13:29:25 +01:00
clixon_yang.h Cleaning up code for xml insignificant whitespace removal 2020-02-07 14:59:57 +01:00
clixon_yang_module.h * New "general-purpose" datastore upgrade callback added which i called once on startup, intended for lo 2020-02-20 14:00:01 +01:00
clixon_yang_parse_lib.h Very large commit for upcoming 4.4 release 2020-02-02 15:52:30 +01:00
clixon_yang_type.h Very large commit for upcoming 4.4 release 2020-02-02 15:52:30 +01:00
Makefile.in 2019 2019-01-02 15:48:30 +01:00