124 const void *error_parm,
125 xmlChar *error_path);
158 const void *error_parm,
198 const void *error_parm,
202 void *error_path_raw,
227 xmlChar *error_path);
254 dlq_hdr_t *valuniqueQ,
286 const xmlChar *badns,
287 xmlChar *error_path);
317extern const xmlChar *
GET1 and GET2 Callback Support.
status_t agt_rpcerr_add_user_data(rpc_err_rec_t *err, dlq_hdr_t *dataQ)
Add data nodes to return in the <error-info> section of an error record.
Definition: agt_rpcerr.c:2467
rpc_err_rec_t * agt_rpcerr_gen_error_ex(ncx_layer_t layer, status_t interr, const xml_node_t *errnode, ncx_node_t parmtyp, const void *error_parm, xmlChar *error_path, const ncx_errinfo_t *errinfo, ncx_node_t nodetyp, void *error_path_raw, boolean is_error)
Generate an internal <rpc-error> record for an element (or non-attribute) related error for any layer...
Definition: agt_rpcerr.c:1532
rpc_err_rec_t * agt_rpcerr_gen_insert_error(ncx_layer_t layer, status_t interr, val_value_t *errval, xmlChar *error_path)
Generate an internal <rpc-error> record for an element for an insert operation failed error.
Definition: agt_rpcerr.c:1940
const xmlChar * agt_rpcerr_get_http_status_string(uint32 status)
Translate the HTTP status code to an HTTP status line.
Definition: agt_rpcerr.c:2361
rpc_err_rec_t * agt_rpcerr_gen_error(ncx_layer_t layer, status_t interr, const xml_node_t *errnode, ncx_node_t parmtyp, const void *error_parm, xmlChar *error_path)
Generate an internal <rpc-error> record for an element (or non-attribute) related error for any layer...
Definition: agt_rpcerr.c:1421
rpc_err_rec_t * agt_rpcerr_gen_attr_error(ncx_layer_t layer, status_t interr, const xml_attr_t *attr, const xml_node_t *errnode, val_value_t *errnodeval, const xmlChar *badns, xmlChar *error_path)
Generate an internal <rpc-error> record for an attribute.
Definition: agt_rpcerr.c:2122
rpc_err_t agt_rpcerr_get_rpcerr(status_t intres)
Translate the status_t to a rpc_err_t.
Definition: agt_rpcerr.c:2226
rpc_err_rec_t * agt_rpcerr_gen_error_errinfo(ncx_layer_t layer, status_t interr, const xml_node_t *errnode, ncx_node_t parmtyp, const void *error_parm, xmlChar *error_path, const ncx_errinfo_t *errinfo)
Generate an internal <rpc-error> record for an element (or non-attribute) related error for any layer...
Definition: agt_rpcerr.c:1474
rpc_err_rec_t * agt_rpcerr_gen_unique_error(xml_msg_hdr_t *msghdr, ncx_layer_t layer, status_t interr, dlq_hdr_t *valuniqueQ, xmlChar *error_path, val_value_t *errval)
Generate an internal <rpc-error> record for an element for a unique-stmt failed error (data-not-uniqu...
Definition: agt_rpcerr.c:2028
uint32 agt_rpcerr_get_http_status_code(status_t res)
Translate the rpc_err_t to an HTTP code.
Definition: agt_rpcerr.c:2249
status_t
global error return code
Definition: status_enum.h:210
ncx_node_t
NCX Internal Node Types.
Definition: ncxtypes.h:437
ncx_layer_t
Enumeration of NETCONF protocol layers.
Definition: ncxtypes.h:507
rpc_err_t
enumerations for NETCONF standard errors
Definition: rpc_err.h:405
YANG module data structures Many internal representations of YANG module constructs.
NETCONF protocol standard error definitions.
Global error messages for status code enumerations.
YANG error info statement struct used to override default error handling in the server.
Definition: ncxtypes.h:1366
One RPC error record built by the server before an <rpc-error> element is generated.
Definition: rpc_err.h:484
one value to match one type
Definition: val.h:912
represents one attribute
Definition: xml_util.h:159
Common Encoding Message Header No longer XML specific!! Used by JSON and CBOR parsing as well!...
Definition: xml_msg.h:404
gather node data into a simple struct.
Definition: xml_util.h:207
Value Node Basic Support.
XML and JSON Message send and receive support.