xml_wrap, clicon-argv()

This commit is contained in:
Olof hagsand 2019-03-27 16:07:38 +01:00
parent 6ff36a2894
commit 8a18b04a34

View file

@ -33,6 +33,7 @@
* Note that this adds bytes to your configs * Note that this adds bytes to your configs
### API changes on existing features (you may need to change your code) ### API changes on existing features (you may need to change your code)
* Renamed `xml_insert` to `xml_wrap_all`.
* Added modules-state diff parameter to xmldb_get datastore function for startup scenarios. Set this to NULL in normal cases. * Added modules-state diff parameter to xmldb_get datastore function for startup scenarios. Set this to NULL in normal cases.
* `rpc_callback_register` added a namespace parameter. Example: * `rpc_callback_register` added a namespace parameter. Example:
``` ```
@ -50,6 +51,9 @@
``` ```
### Minor changes ### Minor changes
* Added `xml_wrap` function that adds an XML node above a node as a wrapper
* also renamed `xml_insert` to `xml_wrap_all`.
* Added `clicon_argv_get()` function to get the user command-line options, ie the args in `-- <args>`. This is an alternative to using them passed to `plugin_start()`.
* Made Makefile concurrent so that it can be compiled with -jN * Made Makefile concurrent so that it can be compiled with -jN
* Added flags to example backend to control its behaviour: * Added flags to example backend to control its behaviour:
* Start with `-- -r` to run the reset plugin * Start with `-- -r` to run the reset plugin