yumapro  23.10T-6
YumaPro SDK
Loading...
Searching...
No Matches
u_yumaworks_templates.h
Go to the documentation of this file.
1#ifdef WITH_TEMPLATES
2#ifndef _H_u_yumaworks_templates
3#define _H_u_yumaworks_templates
4/*
5 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
6 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
7 *
8 * Unless required by applicable law or agreed to in writing,
9 * software distributed under the License is distributed on an
10 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 * KIND, either express or implied. See the License for the
12 * specific language governing permissions and limitations
13 * under the License.
14 *
15
16*** Generated by yangdump-sdk puma-integ-2017-02-20.15.24
17
18 User SIL header
19 module yumaworks-templates
20 revision 2017-02-20
21 namespace http://yumaworks.com/ns/yumaworks-templates
22 organization YumaWorks, Inc.
23 Created: 2017-02-20T23:28:50Z
24 CLI parameters:
25 format uh
26 indent 4
27 module yumaworks-templates
28 output u_yumaworks-templates.h
29 sil-edit2
30 unified true
31
32 */
33
34
41#include <xmlstring.h>
42
43#include "agt.h"
44#include "agt_cb.h"
45#include "dlq.h"
46#include "ncxtypes.h"
47#include "op.h"
48#include "rpc.h"
49#include "ses.h"
50#include "status.h"
51#include "val.h"
53
54#ifdef __cplusplus
55extern "C" {
56#endif
57
58#if 0 // NOT USED
59
60/* anydata /templates/template/data */
61typedef struct y_yumaworks_templates_T_templates_template_data_ {
62 dlq_hdr_t qhdr;
63} y_yumaworks_templates_T_templates_template_data;
64
65/* list /templates/template */
66typedef struct y_yumaworks_templates_T_templates_template_ {
67 dlq_hdr_t qhdr;
68 xmlChar *v_name;
69 xmlChar *v_data_target;
70 y_yumaworks_templates_T_templates_template_data v_data;
71} y_yumaworks_templates_T_templates_template;
72
73/* container /templates */
74typedef struct y_yumaworks_templates_T_templates_ {
75 dlq_hdr_t v_template;
76} y_yumaworks_templates_T_templates;
77
78#endif // 0 NOT USED
79
80
81
82/* group definied in agt_templates.h */
83
84
115 ses_cb_t *scb,
116 rpc_msg_t *msg,
117 agt_cbtyp_t cbtyp,
118 op_editop_t editop,
119 val_value_t *newval,
120 val_value_t *curval,
121 val_value_t **child_errorval, // added
122 const xmlChar *k_templates_template_name);
123
124
146 ses_cb_t *scb,
147 rpc_msg_t *msg,
148 agt_cbtyp_t cbtyp,
149 op_editop_t editop,
150 val_value_t *newval,
151 val_value_t *curval);
152
153
162 const xmlChar *modname,
163 const xmlChar *revision);
164
165
174
175
181extern void u_yumaworks_templates_cleanup (void);
182
183
187#ifdef __cplusplus
188} /* end extern 'C' */
189#endif
190
191#endif // _H_u_yumaworks_templates
192#endif // WITH_TEMPLATES
Multi-Protocol Network Management Server.
NETCONF Server Data Model callback handler.
dlq provides general double-linked list and queue support:
agt_cbtyp_t
enumeration of the different server EDIT callback types These are used as array indices so there is n...
Definition: agt.h:695
status_t u_yumaworks_templates_templates_edit(ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval)
Edit database object callback.
Definition: u_yumaworks_templates.c:437
status_t u_yumaworks_templates_init2(void)
SIL init phase 2: non-config data structures.
Definition: u_yumaworks_templates.c:569
status_t u_yumaworks_templates_templates_template_edit(ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval, val_value_t **child_errorval, const xmlChar *k_templates_template_name)
Edit database object callback.
Definition: u_yumaworks_templates.c:286
void u_yumaworks_templates_cleanup(void)
cleanup the server instrumentation library
Definition: u_yumaworks_templates.c:584
status_t u_yumaworks_templates_init(const xmlChar *modname, const xmlChar *revision)
initialize the yumaworks-templates server instrumentation library
Definition: u_yumaworks_templates.c:538
op_editop_t
NETCONF edit-config operation types.
Definition: op.h:122
status_t
global error return code
Definition: status_enum.h:210
YANG module data structures Many internal representations of YANG module constructs.
NETCONF protocol operations.
NETCONF protocol remote procedure call common definitions.
NETCONF Session Common definitions module.
Global error messages for status code enumerations.
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:181
Session Control Block.
Definition: ses.h:573
one value to match one type
Definition: val.h:911
Value Node Basic Support.
System SIL callbacks for yumaworks-templates module.