More restconf error tests for coverage
This commit is contained in:
parent
448b56ca0c
commit
4c1249fd9b
5 changed files with 153 additions and 91 deletions
|
|
@ -44,15 +44,17 @@
|
|||
*/
|
||||
|
||||
int restconf_badrequest(clicon_handle h, void *req);
|
||||
int restconf_notfound(clicon_handle h, void *req);
|
||||
int restconf_method_notallowed(void *req, char *allow);
|
||||
int restconf_unsupported_media(void *req);
|
||||
int restconf_notimplemented(void *req);
|
||||
#ifdef NOTUSED
|
||||
int restconf_unauthorized(clicon_handle h, void *req);
|
||||
int restconf_forbidden(clicon_handle h, void *req);
|
||||
int restconf_notfound(clicon_handle h, void *req);
|
||||
int restconf_method_notallowed(void *req, char *allow);
|
||||
int restconf_notacceptable(clicon_handle h, void *req);
|
||||
int restconf_conflict(void *req);
|
||||
int restconf_unsupported_media(void *req);
|
||||
int restconf_internal_server_error(clicon_handle h, void *req);
|
||||
int restconf_notimplemented(void *req);
|
||||
#endif /* NOTUSED */
|
||||
|
||||
int api_return_err(clicon_handle h, void *req, cxobj *xerr, int pretty, restconf_media media, int code0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue