yumapro
24.10-3
YumaPro SDK
|
NETCONF Server YANG action handler. More...
#include "agt_rpc.h"
#include "rpc.h"
#include "ses.h"
#include "status_enum.h"
#include "val.h"
#include "xml_util.h"
Go to the source code of this file.
Data Structures | |
struct | agt_action_cbset_t |
the agt_rpc module stores a set of callbacks for each RPC More... | |
Typedefs | |
typedef status_t(* | agt_action_cb_t) (ses_cb_t *scb, rpc_msg_t *msg, xml_node_t *methnode, val_value_t *actionval) |
Template for Action server callbacks. More... | |
Functions | |
status_t | agt_action_init (void) |
Initialize the Action handler. More... | |
void | agt_action_cleanup (void) |
Cleanup the Action handler. More... | |
status_t | agt_action_register_action (const xmlChar *defpath, agt_rpc_phase_t phase, agt_action_cb_t action_cb) |
add callback for 1 phase of action processing More... | |
void | agt_action_unregister_action (const xmlChar *defpath) |
remove a callback for all phases of action processing More... | |
boolean | agt_action_is_action (obj_template_t *rpcobj) |
Check if the specified node is the action. More... | |
status_t | agt_action_parse_input (ses_cb_t *scb, rpc_msg_t *msg, xml_node_t *method, obj_template_t *rpcobj, val_value_t **action_val) |
RPC "<action>" received, parse parameters against anydata 'action'. More... | |
boolean | agt_action_callback_set (obj_template_t *obj) |
Check if an ACTION callback is registered for this object for SIL-SA usage. More... | |
void | agt_action_callback_regdone (obj_template_t *obj) |
Set the ACTION as register done. More... | |
boolean | agt_action_callback_is_regdone (obj_template_t *obj) |
Set the ACTION as register done. More... | |
status_t | agt_action_register_subsys_callback (const xmlChar *subsys_id, const xmlChar *modname, const xmlChar *revision, const xmlChar *defpath) |
Register an object specific ACTION callback function. More... | |
void | agt_action_unregister_subsys_callback (const xmlChar *subsys_id, const xmlChar *modname, const xmlChar *revision, const xmlChar *defpath) |
Unregister an object specific ACTION callback function. More... | |
val_value_t * | agt_action_find_node (val_value_t *val) |
Find the nested node that is an action. More... | |
void | agt_action_unload_module (ncx_module_t *mod) |
Check all the action objects from this module and clean any callbacks because the module is being unloaded. More... | |
NETCONF Server YANG action handler.