yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
sil_sa_hooks.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
3 *
4 * Unless required by applicable law or agreed to in writing,
5 * software distributed under the License is distributed on an
6 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
7 * KIND, either express or implied. See the License for the
8 * specific language governing permissions and limitations
9 * under the License.
10 */
11#ifndef _H_sil_sa_hooks
12#define _H_sil_sa_hooks
13
14/* FILE: sil_sa_hooks.h
15*********************************************************************
16* *
17* P U R P O S E *
18* *
19*********************************************************************/
20
27/*********************************************************************
28* *
29* C H A N G E H I S T O R Y *
30* *
31*********************************************************************
32
33date init comment
34----------------------------------------------------------------------
3529-jun-20 am Begun
36*/
37
38#include <xmlstring.h>
39
40#ifndef _H_rpc
41#include "rpc.h"
42#endif
43
44#ifndef _H_val
45#include "val.h"
46#endif
47
48#ifndef _H_ycontrol_types
49#include "ycontrol_types.h"
50#endif
51
52#ifdef __cplusplus
53extern "C" {
54#endif
55
56/********************************************************************
57* *
58* C O N S T A N T S *
59* *
60*********************************************************************/
61
62
63/********************************************************************
64* *
65* T Y P E S *
66* *
67*********************************************************************/
68
69
70/********************************************************************
71* *
72* F U N C T I O N S *
73* *
74*********************************************************************/
75
76
96extern void
97 sil_sa_hooks_clean_added_edits (dlq_hdr_t *added_editQ);
98
99
109extern val_value_t *
111 status_t *res);
112
113
114
115
116
168extern status_t
170 const xmlChar *defpath,
171 val_value_t *edit_value,
172 const xmlChar *edit_operation,
173 const xmlChar *insert_where,
174 const xmlChar *insert_point,
175 boolean skip_cb);
176
177
193extern status_t
195 ncx_cfg_t cfg_id,
196 const xmlChar *defpath);
197
198
207extern status_t
209 val_value_t *msgbody,
210 ycontrol_msgbody_t msgbody_type);
211
212
217#ifdef __cplusplus
218} /* end extern 'C' */
219#endif
220
221#endif /* _H_sil_sa_hooks */
status_t
global error return code
Definition: status_enum.h:210
ncx_cfg_t
hardwire the 3 standard configs
Definition: ncxtypes.h:548
void sil_sa_hooks_clean_added_edits(dlq_hdr_t *added_editQ)
Clean the added edits from the profile.
Definition: sil_sa_hooks.c:406
val_value_t * sil_sa_hooks_make_added_edit_payload(sil_sa_cb_t *sacb, status_t *res)
Make the <transaction-response> message return-value.
Definition: sil_sa_hooks.c:437
status_t sil_sa_hooks_add_edit(sil_sa_cb_t *sil_sa_cb, 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_hooks.c:565
status_t sil_sa_hooks_send_get_request(sil_sa_cb_t *sil_sa_cb, ncx_cfg_t cfg_id, const xmlChar *defpath)
Send the <hook-get-request> message.
Definition: sil_sa_hooks.c:649
status_t sil_sa_hook_handle_get_request(sil_sa_cb_t *sil_sa_cb, val_value_t *msgbody, ycontrol_msgbody_t msgbody_type)
Handles incoming <payload> from server for the <hook-get-request>
Definition: sil_sa_hooks.c:705
ycontrol_msgbody_t
YControl message body types.
Definition: ycontrol_types.h:85
NETCONF protocol remote procedure call common definitions.
control block for the SIL-SA module
Definition: sil_sa_types.h:167
one value to match one type
Definition: val.h:911
Value Node Basic Support.
Some YControl data types.