53#ifndef _H_sil_sa_types
95#define SIL_SA (const xmlChar *)"sil-sa"
98#define SIL_SA_MOD (const xmlChar *)"yumaworks-sil-sa"
101#define SIL_SA_OBJ (const xmlChar *)"sil-sa"
104#define SIL_REQ_OK(ST) ((ST) >= SIL_SA_ST_READY)
257extern const xmlChar *
334 const xmlChar *edit_operation,
335 const xmlChar *insert_where,
336 const xmlChar *insert_point,
357 const xmlChar *defpath,
420 const xmlChar *strval);
NETCONF Notifications DM module support.
op_editop_t
NETCONF edit-config operation types.
Definition: op.h:122
status_t
global error return code
Definition: status_enum.h:210
ncx_cfg_t
hardwire the 3 standard configs
Definition: ncxtypes.h:548
const xmlChar * sil_sa_get_client_addr(void)
Get the client address (client_addr value from the message header)
Definition: sil_sa.c:4191
void sil_sa_term_msg_test(uint32 count)
Send a <term-msg> test notification.
Definition: sil_sa.c:4240
sil_sa_child_edit_t * sil_sa_first_child_edit(rpc_msg_t *msg)
Get the first child edit from the transaction control block.
Definition: sil_sa.c:4501
void sil_sa_set_user_data_parms(void *data_ref, uint32 data_index)
Set the current GET2_USER_REF saved values.
Definition: sil_sa.c:4673
void sil_sa_queue_notification_stream(const xmlChar *stream_name, agt_not_msg_t *notif)
Send a notification-event to a specific stream, to the main server for queing by the agt_not module.
Definition: sil_sa.c:3675
void sil_sa_notif_test(int8 N1, int16 N2, const xmlChar *N3)
Send a y_get2_test_get2_notif notification.
Definition: sil_sa.c:3978
boolean sil_sa_find_library_parm(const xmlChar *libstr)
Find a library parm name in the library_parmQ.
Definition: sil_sa.c:4140
val_value_t * sil_sa_get_action_key(rpc_msg_t *msg, uint32 keynum)
Get the key value node for the specified key for ACTION ONLY.
Definition: sil_sa.c:3619
void sil_sa_set_error_msg(rpc_msg_t *msg, const xmlChar *strval)
Set Error Message string in case of error.
Definition: sil_sa.c:4605
val_value_t * sil_sa_get_data(ncx_cfg_t cfg_id, const xmlChar *defpath, status_t *retres)
Get some YANG data from the server.
Definition: sil_sa.c:4391
status_t sil_sa_add_library_parm(const xmlChar *libstr)
Add a library parameter so the SIL-SA libraries will be restricted to just these libraries instead of...
Definition: sil_sa.c:4083
const xmlChar * sil_sa_get_username(void)
Get the user_id value from the message header.
Definition: sil_sa.c:4171
status_t sil_sa_register_service(void)
Register the SIL-SA service with the YControl layer.
Definition: sil_sa.c:3507
const xmlChar * sil_sa_get_rpc_msg_id(rpc_msg_t *msg)
Get the rpc transaction id (txid_str) from the rpc_sil_sa_cb.
Definition: sil_sa.c:4216
status_t sil_sa_add_edit(const xmlChar *defpath, val_value_t *edit_value, const xmlChar *edit_operation, const xmlChar *insert_where, const xmlChar *insert_point, boolean skip_cb)
Add an edit to the current transaction from SIL-SA.
Definition: sil_sa.c:4328
sil_sa_child_edit_t * sil_sa_next_child_edit(sil_sa_child_edit_t *curedit)
Get the next child edit from the transaction control block.
Definition: sil_sa.c:4543
void sil_sa_child_edit_fields(sil_sa_child_edit_t *child_edit, op_editop_t *editop, val_value_t **newval, val_value_t **curval)
Get the child edit fields.
Definition: sil_sa.c:4576
val_value_t * sil_sa_get_key(rpc_msg_t *msg, uint32 keynum)
Get a key leaf from the sil_sa_cb backptr in the rpc_msg.
Definition: sil_sa.c:3574
boolean sil_sa_any_library_parms(void)
Check if any library parms are set.
Definition: sil_sa.c:4119
void sil_sa_get_user_data_parms(void **data_ref, uint32 *data_index)
Get the current GET2_USER_REF saved values.
Definition: sil_sa.c:4640
void sil_sa_queue_notification(agt_not_msg_t *notif)
Send a notification-event to the main server for queing by the agt_not module.
Definition: sil_sa.c:3658
NETCONF protocol remote procedure call common definitions.
Data structures for the SIL-SA subsystem.
one notification message that will be sent to all subscriptions in the stream and kept in the replay ...
Definition: agt_not.h:143
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:185
EDIT2 children Queue Supports EDIT2 callbacks where child edits for the same parent container or list...
Definition: sil_sa_types.h:300
one value to match one type
Definition: val.h:912
Value Node Basic Support.