- Added Restconf-style xml/json message bodies everywhere
- Added api_return_err0() and changed many calls to that instead of api_return_err - Added netconf_operation_not_supported_xml()
This commit is contained in:
parent
c50f9f8056
commit
ad08200931
17 changed files with 496 additions and 660 deletions
|
|
@ -116,12 +116,14 @@ int netconf_rollback_failed(cbuf *cb, char *type, char *message);
|
|||
int netconf_data_exists(cbuf *cb, char *message);
|
||||
int netconf_data_missing(cbuf *cb, char *missing_choice, char *message);
|
||||
int netconf_data_missing_xml(cxobj **xret, char *missing_choice, char *message);
|
||||
int netconf_operation_not_supported_xml(cxobj **xret, char *type, char *message);
|
||||
int netconf_operation_not_supported(cbuf *cb, char *type, char *message);
|
||||
int netconf_operation_failed(cbuf *cb, char *type, char *message);
|
||||
int netconf_operation_failed_xml(cxobj **xret, char *type, char *message);
|
||||
int netconf_malformed_message(cbuf *cb, char *message);
|
||||
int netconf_malformed_message_xml(cxobj **xret, char *message);
|
||||
int netconf_data_not_unique_xml(cxobj **xret, cxobj *x, cvec *cvk);
|
||||
|
||||
int netconf_minmax_elements_xml(cxobj **xret, cxobj *xp, char *name, int max);
|
||||
int netconf_trymerge(cxobj *x, yang_stmt *yspec, cxobj **xret);
|
||||
int netconf_module_features(clicon_handle h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue