Olof hagsand
ff5462ecac
Replaced the global variable debug with access function: clicon_debug_get().
2020-06-09 16:04:49 +02:00
Olof hagsand
7ad16bd84b
* C-API: Added xpath_first_localonly() as an xpath function that skips prefix and namespace checks.
...
* Added experimental code for optizing XPath search using binary search.
* Enable with XPATH_LIST_OPTIMIZE
* Changed `clicon_rpc_generate_error(msg, xerr)` to `clicon_rpc_generate_error(xerr, msg, arg)`
2019-12-20 18:21:46 +01:00
Olof Hagsand
ff3ff0daa9
* There was a problem with ordered-by-user for XML children that appeared in so\
...
me circumstances and difficult to trigger. Entries entered by the user did not \
appear in the order they were entered. This should now be fixed by adding an enumeration to xml children for sorting ordered by user properly
2019-02-27 18:20:23 +01:00
Olof hagsand
4c0b412e9f
Added valgrind memory leak tests for backend. Fixed some minor leaks and file descriptor closes.
2019-02-19 13:16:59 +01:00
Olof hagsand
0103d58994
2019
2019-01-02 15:48:30 +01:00
Olof hagsand
98f3cd0e32
* Major rewrite of event streams
...
* If you used old event callbacks API, you need to switch to the streams API
* See clixon_stream.[ch]
* Old streams API which needs to be removed include:
* clicon_log_register_callback()
* subscription_add() --> stream_register()
* backend_notify() and backend_notify_xml() - use stream_notify() instead
* Example uses "NETCONF" stream instead of "ROUTING"
* Added timeout option -t for clixon_netconf - quit after max time.
2018-09-30 14:51:30 +02:00
Olof Hagsand
656800cdd3
order backend cmd options; open syslog only if syslog is enabled
2018-08-01 07:13:33 +00:00
Olof Hagsand
0355942740
flush log file
2018-07-30 18:08:34 +00:00
Olof Hagsand
e48f8dd00e
clixon_netconf -S is obsolete. Use clixon_netconf -l s instead.
...
* Unified log handling for all clicon applications using -l e|o|s|f.
* The options stand for e:stderr, o:stdout, s: syslog, f:file
2018-07-29 19:41:10 +02:00
Olof Hagsand
5164db3603
Added clicon_log_init(.., CLICON_LOG_FILE) option and clicon_log_file() for c\
...
ases where neither syslog or stderr is useful.
2018-07-26 20:13:02 +02:00
Olof hagsand
4257999df5
Fixed JSON unbalanced braces resultin assert
2018-05-06 21:06:52 +02:00
Olof hagsand
38f0b446fa
2017->2018
2018-01-01 12:25:33 +01:00
Olof hagsand
5ae1aeb427
Added support for YANG anyxml; Yang union CLI generation and validation; Removed yang string escaping
2017-07-27 11:54:28 +02:00
Olof hagsand
bc2b606167
dual license
2016-12-30 16:14:48 +01:00
Olof Hagsand
20087932c5
xml rm self, debug backend, xml2json to cbuf
2016-08-07 15:42:14 +02:00
Olof Hagsand
8bf95cab31
log debug
2016-07-18 16:14:16 +02:00
Olof Hagsand
eaaf1b83e8
notify filter
2016-05-22 17:37:28 +02:00
Olof hagsand
0a812696c2
xmldb
2016-03-07 20:55:55 +01:00
Olof Hagsand
79b77943f9
renamed .h and libs clicon->clixon
2016-02-28 15:27:36 +01:00