C-API: Add fromroot parameter to cli_show_common()

This commit is contained in:
Olof hagsand 2023-09-12 21:57:47 +02:00
parent 9091582087
commit 4730082d7b
4 changed files with 39 additions and 22 deletions

View file

@ -53,19 +53,21 @@ Users may have to change how they access the system
### C/CLI-API changes on existing features
Developers may need to change their code
* Add `fromroot` parameter to `cli_show_common()`
* `cli_show_common(...xpath...)` --> `cli_show_common(...xpath,0...)`
* Low-level message functions added `descr` argument for better logging
* In this way, message debugs in level 2 are more descriptive
* The descr argument can be set to NULL for backward-compability, see the following translations:
* clicon_rpc(s, ...) --> clicon_rpc(s, NULL, ...)
* clicon_rpc1(s, ...) --> clicon_rpc1(s, NULL, ...)
* clicon_msg_send(s, ...) --> clicon_msg_send(s, NULL, ...)
* clicon_msg_send1(s, ...) --> clicon_msg_send1(s, NULL, ...)
* clicon_msg_rcv(s, ...) --> clicon_msg_rcv(s, NULL, ...)
* clicon_msg_rcv1(s, ...) --> clicon_msg_rcv1(s, NULL, ...)
* clicon_msg_notify_xml(h, s, ...) --> clicon_msg_notify_xml(h, s, NULL, ...)
* send_msg_reply(s, ...) --> send_msg_reply(s, NULL, ...)
* clixon_client_lock(s, ...) --> clixon_client_lock(s, NULL, ...)
* clixon_client_hello(s, ...) --> clixon_client_hello(s, NULL, ...)
* `clicon_rpc(s, ...)` --> `clicon_rpc(s, NULL, ...)`
* `clicon_rpc1(s, ...)` --> `clicon_rpc1(s, NULL, ...)`
* `clicon_msg_send(s, ...)` --> `clicon_msg_send(s, NULL, ...)`
* `clicon_msg_send1(s, ...)` --> `clicon_msg_send1(s, NULL, ...)`
* `clicon_msg_rcv(s, ...)` --> `clicon_msg_rcv(s, NULL, ...)`
* `clicon_msg_rcv1(s, ...)` --> `clicon_msg_rcv1(s, NULL, ...)
* `clicon_msg_notify_xml(h, s, ...)` --> `clicon_msg_notify_xml(h, s, NULL, ...)`
* `send_msg_reply(s, ...)` --> `send_msg_reply(s, NULL, ...)`
* `clixon_client_lock(s, ...)` --> `clixon_client_lock(s, NULL, ...)`
* `clixon_client_hello(s, ...)` --> `clixon_client_hello(s, NULL, ...)`
* CLI pipe function: added arg to `pipe_tail_fn()`