![]() |
yumapro
25.10-1
YumaPro SDK
|
EDIT3 Edit Control Block Processing. More...
#include "agt_cfg.h"#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_editcb_t |
| EDIT Control Block used to store all the pointers for the EDIT3 callbacks. More... | |
Typedefs | |
| typedef status_t(* | agt_edit3_fn_t) (agt_editcb_t *editcb) |
| EDIT3 Callback function for server object handler. More... | |
Functions | |
| val_value_t * | agt_editcb_make_update_value (val_value_t *newval, val_value_t *curval, op_editop_t editop, status_t *res) |
| make a combine value of newval and curval More... | |
| void | agt_editcb_free_cb (agt_editcb_t *editcb) |
| Clean and free an agt_editcb_t. More... | |
| agt_editcb_t * | agt_editcb_make_new_cb (ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval) |
| Create Edit Control Block for the EDIT3 callback. More... | |
EDIT3 Edit Control Block Processing.
| void agt_editcb_free_cb | ( | agt_editcb_t * | editcb | ) |
Clean and free an agt_editcb_t.
| editcb | agt_editcb_t struct to clean and free |

| agt_editcb_t * agt_editcb_make_new_cb | ( | ses_cb_t * | scb, |
| rpc_msg_t * | msg, | ||
| agt_cbtyp_t | cbtyp, | ||
| op_editop_t | editop, | ||
| val_value_t * | newval, | ||
| val_value_t * | curval | ||
| ) |
Create Edit Control Block for the EDIT3 callback.
Make a combine update value that contains new proposed changes and current values from the datastore
| scb | session control block invoking the callback |
| msg | RPC message in progress |
| cbtyp | agent callback type |
| editop | edit operation applied to newnode and/or curnode |
| newval | newval for edit |
| curval | curval for edit |

| val_value_t * agt_editcb_make_update_value | ( | val_value_t * | newval, |
| val_value_t * | curval, | ||
| op_editop_t | editop, | ||
| status_t * | res | ||
| ) |
make a combine value of newval and curval
| newval | new val node to use | |
| curval | current val node to use | |
| editop | edit operation to check | |
| [out] | res | address of return status; *res return status |
