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

NETCONF Server database callback handler. More...

#include "agt_cfg.h"
#include "cfg.h"
#include "rpc.h"
#include "ses.h"
#include "status_enum.h"
Include dependency graph for agt_val_silcall.h:

Go to the source code of this file.

Functions

status_t agt_val_silcall_run_validate_callbacks (ses_cb_t *scb, rpc_msg_t *msg, cfg_template_t *target, op_editop_t editop)
 Run the validate SIL callbacks for the transaction in progress. More...
 
status_t agt_val_silcall_call_sil_callbacks (agt_cbtyp_t cbtyp, ses_cb_t *scb, rpc_msg_t *msg, cfg_template_t *target, op_editop_t editop)
 Invoke all the mode (AGT_CB_APPLY) callbacks for a source and target and write operation. More...
 
boolean agt_val_silcall_has_subsys_callbacks (agt_cfg_transaction_t *txcb)
 Check if the transaction needs subsystem callbacks. More...
 
status_t agt_val_silcall_setup (agt_cbtyp_t cbtyp, op_editop_t editop, ses_cb_t *scb, rpc_msg_t *msg, val_value_t *newnode, val_value_t *curnode, boolean lookparent, boolean indelete, boolean in_reverse_delete, agt_cfg_undo_rec_t *undo)
 Find the correct user callback function and invoke it. More...
 
status_t agt_val_silcall_setup_ex (agt_cbtyp_t cbtyp, op_editop_t editop, ses_cb_t *scb, rpc_msg_t *msg, val_value_t *newnode, val_value_t *curnode, boolean lookparent, boolean indelete, boolean in_reverse_delete, agt_cfg_undo_rec_t *undo, agt_cfg_transaction_t *txcb)
 Find the correct user callback function and invoke it Extended. More...
 
status_t agt_val_silcall_reverse_edit (agt_cfg_undo_rec_t *undo, ses_cb_t *scb, rpc_msg_t *msg, op_editop_t editop, val_value_t *newval, val_value_t *curval, boolean lookparent, boolean indelete, agt_cfg_edit_action_t edit_action)
 Attempt SIL callbacks for a reverse edit. More...
 
status_t agt_val_silcall_invoke_raw (ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval)
 Call a SIL callback directly; used in rollback. More...
 
status_t agt_val_silcall_handle_remote_transaction (agt_cfg_transaction_t *txcb, ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, boolean is_reverse_edit)
 Start a distributed transaction with the agt_sil module This function will not return until the entire callback phase is completed (or times out) More...
 
status_t agt_val_silcall_invoke (agt_cbtyp_t cbtyp, ses_cb_t *scb, rpc_msg_t *msg, agt_cfg_undo_rec_t *undo)
 Invoke the callbacks recorded in an undo record. More...
 
boolean agt_val_silcall_is_deepest (rpc_msg_t *msg)
 Check if the current nested SIL callback is at the deepest level for the current edit. More...
 
boolean agt_val_silcall_deepest_and_last (agt_cfg_nested_silcall_t *silcall)
 Check if the current nested SIL callback is at the deepest level for the current edit and that it is the last sibling in the silcall. More...
 
status_t agt_val_silcall_check_order_hook (agt_cfg_transaction_t *txcb, op_editop_t editop, val_value_t *newnode, val_value_t *curnode)
 Check if a Set-Order-Hook callback is needed for the current edit; only checked for the list actually being edited. More...
 

Detailed Description

NETCONF Server database callback handler.

SIL callback code