* 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
This commit is contained in:
parent
3cd3f7987d
commit
392e6679c5
17 changed files with 166 additions and 89 deletions
|
|
@ -69,8 +69,8 @@ enum clicon_err{
|
|||
OE_UNIX, /* unix/linux syscall error */
|
||||
OE_SYSLOG, /* syslog error */
|
||||
OE_ROUTING, /* routing daemon error (eg quagga) */
|
||||
OE_XML, /* xml parsing etc */
|
||||
|
||||
OE_XML, /* xml parsing */
|
||||
OE_JSON, /* json parsing */
|
||||
OE_RESTCONF, /* RESTCONF errors */
|
||||
OE_PLUGIN, /* plugin loading, etc */
|
||||
OE_YANG , /* Yang error */
|
||||
|
|
|
|||
|
|
@ -206,6 +206,9 @@ typedef int (plgreset_t)(clicon_handle h, const char *db);
|
|||
*/
|
||||
typedef int (plgstatedata_t)(clicon_handle h, cvec *nsc, char *xpath, cxobj *xtop);
|
||||
|
||||
/* Transaction-data type
|
||||
* @see clixon_backend_transaction.h for full transaction API
|
||||
*/
|
||||
typedef void *transaction_data;
|
||||
|
||||
/* Transaction callback */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue