Olof hagsand
d541c49c6f
Plugin RPC callback interface have been unified between backend, netconf and restconf.
...
* Backend RPC register callback function (Netconf RPC or restconf operation POST) has been changed from: `backend_rpc_cb_register()` to `rpc_callback_register()`
* Backend RPC callback signature has been changed from: `int cb(clicon_handle h, cxobj *xe, struct client_entry *ce, cbuf *cbret, void *arg)` has been changed to : `int cb(clicon_handle h, cxobj *xe, struct client_entry *ce, cbuf *cbret, void *arg)`
* Frontend netconf and restconf plugins can register callbacks as well with same API as backends.
2018-04-07 18:20:33 +02:00
Olof hagsand
38f0b446fa
2017->2018
2018-01-01 12:25:33 +01:00
Olof hagsand
d9c126eed0
en user callbacks such as statedata() call returns -1, clixon_backend no
...
longer silently exits. Instead a log is printed and an RPC error is returned.
2017-11-12 16:48:48 +01:00
Olof hagsand
4e986d6660
Added new backend plugin callback: plugin_statedata() for getting state data; Added generic xml_merge() function.
2017-07-05 12:30:42 +02:00
Olof Hagsand
24578767e7
sigpipe problems
2017-05-07 16:14:49 +02:00
Olof hagsand
540cd96e74
datastore handles
2017-04-15 19:42:35 +02:00
Olof hagsand
d26a801bc0
Added connect/disconnect/getopt/setopt and handle to xmldb API; Added datastore 'text'; Moved apps/dbctrl to datastore/
2017-04-15 13:53:58 +02:00
Olof hagsand
236b661e43
cleaned up string functions
2017-04-04 17:11:21 +02:00
Olof Hagsand
18093441a8
revert xsl for . and ..
2017-04-03 15:21:13 +02:00
Olof hagsand
19813a4d9c
restconf post/put/head/patch, memtests
2017-03-26 15:14:37 +02:00
Olof hagsand
2fcefda831
Change internal protocol from clicon_proto.h to netconf.
2017-03-25 11:10:50 +01:00
Olof Hagsand
5650f29da1
wrong log format
2017-02-01 13:07:26 +01: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
dfa30aa39c
xml_print
2016-04-17 17:52:48 +02:00
Olof hagsand
741fb97a9f
double predicates in xpath; leaks; grideye debug
2016-03-26 10:47:58 +01:00
Olof hagsand
c1c1670a74
getting legacy grideye application to work on clixon
2016-03-20 22:25:42 +01:00
Olof Hagsand
79b77943f9
renamed .h and libs clicon->clixon
2016-02-28 15:27:36 +01:00