Olof hagsand
9e54f0602f
Changed ca_errmsg callback to a more generic variant
...
Includes all error, log and debug messages
See [Customized NETCONF error message](https://github.com/clicon/clixon/issues/454 )
2024-01-05 16:41:53 +01:00
Olof hagsand
24a4991ec8
Restructured error,debug anf log API
...
Renamed functions clicon->clixon, replaced global variables w access functions
Unified clicon_netconf_error with clixon_err()
2023-12-18 08:29:14 +01:00
Olof hagsand
62348fc9c7
C-style update: Unified comment, retvals in order, remove trailing spaces
...
Changed function name for `clicon_debug` functions
2023-10-23 09:58:13 +02:00
Olof hagsand
05372c86fc
Added copyright for cjson code
2022-11-23 09:59:26 +01:00
jiangxiaoming
4839a633e3
add regex unicode match support
2022-11-23 11:35:41 +08:00
Olof hagsand
d84c529ff1
[Code formatting: Change indentation style to space]( https://github.com/clicon/clixon/issues/379 )
...
* Applies to all c/h/y/l/sh files and .editorconfig
2022-10-27 14:21:17 +02:00
jiangxiaoming
b73cc75366
fix posix regular transform of char \w not include '_' char
2022-08-25 11:41:16 +08:00
Olof hagsand
77b4468eb3
Updated copyright statements to 2022
2022-01-18 16:36:00 +01:00
Olof hagsand
392e6679c5
* JSON errors are now labelled with JSON and not XML
...
* Fixed: [Performance issue when parsing large JSON param](https://github.com/clicon/clixon/issues/266 )
* Moved strlen() from for end condition
* Fixed debugging of xpath parser
2021-09-20 21:35:01 +02:00
Olof hagsand
9aad253f1e
Move Yang patterns: \n match from yang parse to regex compile stage
2021-08-05 12:53:26 +02:00
Olof hagsand
96b50b88e8
Copyright 2021
2021-01-13 14:40:34 +01:00
Olof hagsand
9d2102cebf
Fixed: [Need to add the possibility to use anchors around patterns #51 ]( https://github.com/clicon/cligen/issues/51 ):
...
* Dont escape `$` if it is last in a regexp in translation from XML to POSIX.
2020-07-27 20:03:52 +02:00
Olof hagsand
0ef704563b
empty unquoted string; unknown in anydata/xml
2019-05-29 19:36:23 +02:00
Olof Hagsand
2ae9529a3e
added regexp free routines, replaced regexp mode string with symbol
2019-05-29 14:17:30 +00:00
Olof hagsand
e55a27bcac
Check for libxml2 include files, not lib in code
2019-05-23 22:55:46 +02:00
Olof hagsand
a804e05375
* Added clicon_handle as parameter to all validate functions
...
* Added libxml2 XSD regexp mode as alternative to posix translation
* Added `CLICON_YANG_REGEXP` option with possible values libxml2 and posix
2019-05-23 22:48:33 +02:00