yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
agt_rpcerr.h File Reference

NETCONF protocol <rpc-error> server-side handler. More...

#include <xmlstring.h>
#include "ncxtypes.h"
#include "rpc_err.h"
#include "status.h"
#include "val.h"
#include "xml_msg.h"
#include "xml_util.h"
#include "getcb.h"
Include dependency graph for agt_rpcerr.h:

Go to the source code of this file.

Functions

rpc_err_rec_tagt_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. More...
 
rpc_err_rec_tagt_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. More...
 
rpc_err_rec_tagt_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. More...
 
rpc_err_rec_tagt_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. More...
 
rpc_err_rec_tagt_rpcerr_gen_unique_error (xml_msg_hdr_t *msghdr, ncx_layer_t layer, status_t interr, const 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-unique) More...
 
rpc_err_rec_tagt_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. More...
 
rpc_err_t agt_rpcerr_get_rpcerr (status_t intres)
 Translate the status_t to a rpc_err_t. More...
 
uint32 agt_rpcerr_get_http_status_code (status_t res)
 Translate the rpc_err_t to an HTTP code. More...
 
const xmlChar * agt_rpcerr_get_http_status_string (uint32 status)
 Translate the HTTP status code to an HTTP status line. More...
 
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. More...
 

Detailed Description

NETCONF protocol <rpc-error> server-side handler.