yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
ietf-netconf-nmda.h
Go to the documentation of this file.
1
2#ifndef _H_ietf_netconf_nmda
3#define _H_ietf_netconf_nmda
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 lion-andy-nmda-2019-06-13.19.26-M
17
18 Combined SIL header
19 module ietf-netconf-nmda
20 revision 2019-01-07
21 namespace urn:ietf:params:xml:ns:yang:ietf-netconf-nmda
22 organization IETF NETCONF Working Group
23 Created: 2019-06-14T02:29:53Z
24 CLI parameters:
25 format h
26 indent 4
27 module ietf-netconf-nmda
28 output ietf-netconf-nmda.h
29 unified true
30
31 */
32
33
40#include <xmlstring.h>
41
42#include "dlq.h"
43#include "ncxtypes.h"
44#include "op.h"
45#include "status.h"
46#include "val.h"
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
52#define y_ietf_netconf_nmda_M_ietf_netconf_nmda (const xmlChar *)"ietf-netconf-nmda"
53
54#define y_ietf_netconf_nmda_R_ietf_netconf_nmda (const xmlChar *)"2019-01-07"
55
56/* Feature ietf-netconf-nmda:origin
57 * Comment out to disable */
58#define u_ietf_netconf_nmda_F_origin 1
59
60/* Feature ietf-netconf-nmda:with-defaults
61 * Comment out to disable */
62#define u_ietf_netconf_nmda_F_with_defaults 1
63
64
65#define y_ietf_netconf_nmda_N_config (const xmlChar *)"config"
66#define y_ietf_netconf_nmda_N_config_filter (const xmlChar *)"config-filter"
67#define y_ietf_netconf_nmda_N_data (const xmlChar *)"data"
68#define y_ietf_netconf_nmda_N_datastore (const xmlChar *)"datastore"
69#define y_ietf_netconf_nmda_N_default_operation (const xmlChar *)"default-operation"
70#define y_ietf_netconf_nmda_N_edit_content (const xmlChar *)"edit-content"
71#define y_ietf_netconf_nmda_N_edit_data (const xmlChar *)"edit-data"
72#define y_ietf_netconf_nmda_N_filter_spec (const xmlChar *)"filter-spec"
73#define y_ietf_netconf_nmda_N_get_data (const xmlChar *)"get-data"
74#define y_ietf_netconf_nmda_N_max_depth (const xmlChar *)"max-depth"
75#define y_ietf_netconf_nmda_N_negated_origin_filter (const xmlChar *)"negated-origin-filter"
76#define y_ietf_netconf_nmda_N_origin_filter (const xmlChar *)"origin-filter"
77#define y_ietf_netconf_nmda_N_origin_filters (const xmlChar *)"origin-filters"
78#define y_ietf_netconf_nmda_N_subtree_filter (const xmlChar *)"subtree-filter"
79#define y_ietf_netconf_nmda_N_url (const xmlChar *)"url"
80#define y_ietf_netconf_nmda_N_with_defaults (const xmlChar *)"with-defaults"
81#define y_ietf_netconf_nmda_N_with_origin (const xmlChar *)"with-origin"
82#define y_ietf_netconf_nmda_N_xpath_filter (const xmlChar *)"xpath-filter"
83
84
85#if 0
86/* anydata /get-data/input/filter-spec/subtree-filter/subtree-filter */
87typedef struct y_ietf_netconf_nmda_T_get_data_input_filter_spec_subtree_filter_subtree_filter_ {
88 dlq_hdr_t qhdr;
89} y_ietf_netconf_nmda_T_get_data_input_filter_spec_subtree_filter_subtree_filter;
90
91/* case /get-data/input/filter-spec/subtree-filter */
92typedef struct y_ietf_netconf_nmda_T_get_data_input_filter_spec_subtree_filter_ {
93 y_ietf_netconf_nmda_T_get_data_input_filter_spec_subtree_filter_subtree_filter v_subtree_filter;
94} y_ietf_netconf_nmda_T_get_data_input_filter_spec_subtree_filter;
95
96/* case /get-data/input/filter-spec/xpath-filter */
97typedef struct y_ietf_netconf_nmda_T_get_data_input_filter_spec_xpath_filter_ {
98
99#ifdef u_ietf_netconf_F_xpath
100 xmlChar *v_xpath_filter;
101#endif /* u_ietf_netconf_F_xpath */
102} y_ietf_netconf_nmda_T_get_data_input_filter_spec_xpath_filter;
103
104/* choice /get-data/input/filter-spec */
105typedef union y_ietf_netconf_nmda_T_get_data_input_filter_spec_ {
106 y_ietf_netconf_nmda_T_get_data_input_filter_spec_subtree_filter v_subtree_filter;
107 y_ietf_netconf_nmda_T_get_data_input_filter_spec_xpath_filter v_xpath_filter;
108} y_ietf_netconf_nmda_T_get_data_input_filter_spec;
109
110/* leaf-list /get-data/input/origin-filters/origin-filter/origin-filter */
111typedef struct y_ietf_netconf_nmda_T_get_data_input_origin_filters_origin_filter_origin_filter_ {
112 dlq_hdr_t qhdr;
113 val_idref_t *v_origin_filter;
114} y_ietf_netconf_nmda_T_get_data_input_origin_filters_origin_filter_origin_filter;
115
116/* case /get-data/input/origin-filters/origin-filter */
117typedef struct y_ietf_netconf_nmda_T_get_data_input_origin_filters_origin_filter_ {
118 dlq_hdr_t v_origin_filter;
119} y_ietf_netconf_nmda_T_get_data_input_origin_filters_origin_filter;
120
121/* leaf-list /get-data/input/origin-filters/negated-origin-filter/negated-origin-filter */
122typedef struct y_ietf_netconf_nmda_T_get_data_input_origin_filters_negated_origin_filter_negated_origin_filter_ {
123 dlq_hdr_t qhdr;
124 val_idref_t *v_negated_origin_filter;
125} y_ietf_netconf_nmda_T_get_data_input_origin_filters_negated_origin_filter_negated_origin_filter;
126
127/* case /get-data/input/origin-filters/negated-origin-filter */
128typedef struct y_ietf_netconf_nmda_T_get_data_input_origin_filters_negated_origin_filter_ {
129 dlq_hdr_t v_negated_origin_filter;
130} y_ietf_netconf_nmda_T_get_data_input_origin_filters_negated_origin_filter;
131
132
133#ifdef u_ietf_netconf_nmda_F_origin
134/* choice /get-data/input/origin-filters */
135typedef union y_ietf_netconf_nmda_T_get_data_input_origin_filters_ {
136 y_ietf_netconf_nmda_T_get_data_input_origin_filters_origin_filter v_origin_filter;
137 y_ietf_netconf_nmda_T_get_data_input_origin_filters_negated_origin_filter v_negated_origin_filter;
138} y_ietf_netconf_nmda_T_get_data_input_origin_filters;
139#endif /* u_ietf_netconf_nmda_F_origin */
140
141/* container /get-data/input */
142typedef struct y_ietf_netconf_nmda_T_get_data_input_ {
143 val_idref_t *v_datastore;
144 y_ietf_netconf_nmda_T_get_data_input_filter_spec v_filter_spec;
145 boolean v_config_filter;
146
147#ifdef u_ietf_netconf_nmda_F_origin
148 y_ietf_netconf_nmda_T_get_data_input_origin_filters v_origin_filters;
149#endif /* u_ietf_netconf_nmda_F_origin */
150 val_value_t *v_max_depth;
151
152#ifdef u_ietf_netconf_nmda_F_origin
153 boolean v_with_origin;
154#endif /* u_ietf_netconf_nmda_F_origin */
155 xmlChar *v_with_defaults;
156} y_ietf_netconf_nmda_T_get_data_input;
157
158/* anydata /get-data/output/data */
159typedef struct y_ietf_netconf_nmda_T_get_data_output_data_ {
160 dlq_hdr_t qhdr;
161} y_ietf_netconf_nmda_T_get_data_output_data;
162
163/* container /get-data/output */
164typedef struct y_ietf_netconf_nmda_T_get_data_output_ {
165 y_ietf_netconf_nmda_T_get_data_output_data v_data;
166} y_ietf_netconf_nmda_T_get_data_output;
167
168/* rpc /get-data */
169typedef struct y_ietf_netconf_nmda_T_get_data_ {
170 y_ietf_netconf_nmda_T_get_data_input v_input;
171 y_ietf_netconf_nmda_T_get_data_output v_output;
172} y_ietf_netconf_nmda_T_get_data;
173
174/* anydata /edit-data/input/edit-content/config/config */
175typedef struct y_ietf_netconf_nmda_T_edit_data_input_edit_content_config_config_ {
176 dlq_hdr_t qhdr;
177} y_ietf_netconf_nmda_T_edit_data_input_edit_content_config_config;
178
179/* case /edit-data/input/edit-content/config */
180typedef struct y_ietf_netconf_nmda_T_edit_data_input_edit_content_config_ {
181 y_ietf_netconf_nmda_T_edit_data_input_edit_content_config_config v_config;
182} y_ietf_netconf_nmda_T_edit_data_input_edit_content_config;
183
184/* case /edit-data/input/edit-content/url */
185typedef struct y_ietf_netconf_nmda_T_edit_data_input_edit_content_url_ {
186
187#ifdef u_ietf_netconf_F_url
188 xmlChar *v_url;
189#endif /* u_ietf_netconf_F_url */
190} y_ietf_netconf_nmda_T_edit_data_input_edit_content_url;
191
192/* choice /edit-data/input/edit-content */
193typedef union y_ietf_netconf_nmda_T_edit_data_input_edit_content_ {
194 y_ietf_netconf_nmda_T_edit_data_input_edit_content_config v_config;
195 y_ietf_netconf_nmda_T_edit_data_input_edit_content_url v_url;
196} y_ietf_netconf_nmda_T_edit_data_input_edit_content;
197
198/* container /edit-data/input */
199typedef struct y_ietf_netconf_nmda_T_edit_data_input_ {
200 val_idref_t *v_datastore;
201 xmlChar *v_default_operation;
202 y_ietf_netconf_nmda_T_edit_data_input_edit_content v_edit_content;
203} y_ietf_netconf_nmda_T_edit_data_input;
204
205/* container /edit-data/output */
206typedef struct y_ietf_netconf_nmda_T_edit_data_output_ {
207} y_ietf_netconf_nmda_T_edit_data_output;
208
209/* rpc /edit-data */
210typedef struct y_ietf_netconf_nmda_T_edit_data_ {
211 y_ietf_netconf_nmda_T_edit_data_input v_input;
212 y_ietf_netconf_nmda_T_edit_data_output v_output;
213} y_ietf_netconf_nmda_T_edit_data;
214
215#endif // 0
216
217
218/* group defined in agt_nmda.h */
219
236 const xmlChar *modname,
237 const xmlChar *revision);
238
239
249
250
256extern void y_ietf_netconf_nmda_cleanup (void);
257
258
262#ifdef __cplusplus
263} /* end extern 'C' */
264#endif
265
266#endif
dlq provides general double-linked list and queue support:
void y_ietf_netconf_nmda_cleanup(void)
cleanup the server instrumentation library
Definition: ietf-netconf-nmda.c:736
status_t y_ietf_netconf_nmda_init(const xmlChar *modname, const xmlChar *revision)
Phase 1 module init.
Definition: ietf-netconf-nmda.c:609
status_t y_ietf_netconf_nmda_init2(void)
Phase 2 initialization.
Definition: ietf-netconf-nmda.c:721
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.
Global error messages for status code enumerations.
one QName for the NCX_BT_IDREF value
Definition: val.h:795
one value to match one type
Definition: val.h:912
Value Node Basic Support.