yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
yumaworks-sm-yanglib.h
Go to the documentation of this file.
1#ifdef WITH_SCHEMA_MOUNT
2#ifndef _H_yumaworks_sm_yanglib
3#define _H_yumaworks_sm_yanglib
4/*
5 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
6 * Copyright (c) 2012 - 2022, 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
47#include <xmlstring.h>
48
49#include "procdefs.h"
50#include "dlq.h"
51#include "ncxtypes.h"
52#include "op.h"
53#include "status.h"
54#include "val.h"
55
56#ifdef __cplusplus
57extern "C" {
58#endif
59
81#define y_ysl_M_ysl (const xmlChar *)"yumaworks-sm-yanglib"
82
83#define y_ysl_R_ysl (const xmlChar *)"2022-09-24"
84
85#define y_ysl_N_conformance_type (const xmlChar *)"conformance-type"
86#define y_ysl_N_deviation (const xmlChar *)"deviation"
87#define y_ysl_N_feature (const xmlChar *)"feature"
88#define y_ysl_N_get_sm_yanglib (const xmlChar *)"get-sm-yanglib"
89#define y_ysl_N_label (const xmlChar *)"label"
90#define y_ysl_N_module (const xmlChar *)"module"
91#define y_ysl_N_module_set_id (const xmlChar *)"module-set-id"
92#define y_ysl_N_modules_state (const xmlChar *)"modules-state"
93#define y_ysl_N_name (const xmlChar *)"name"
94#define y_ysl_N_namespace (const xmlChar *)"namespace"
95#define y_ysl_N_revision (const xmlChar *)"revision"
96#define y_ysl_N_schema (const xmlChar *)"schema"
97#define y_ysl_N_submodule (const xmlChar *)"submodule"
98
99
100/* container /get-sm-yanglib/input */
101typedef struct y_ysl_T_input_ {
102 xmlChar *v_module;
103 xmlChar *v_label;
105
106/* leaf-list /get-sm-yanglib/output/modules-state/module/feature */
107typedef struct y_ysl_T_feature_ {
108 dlq_hdr_t qhdr;
109 xmlChar *v_feature;
111
112/* list /get-sm-yanglib/output/modules-state/module/deviation */
113typedef struct y_ysl_T_deviation_ {
114 dlq_hdr_t qhdr;
115 xmlChar *v_name;
116 val_value_t *v_revision;
118
119/* list /get-sm-yanglib/output/modules-state/module/submodule */
120typedef struct y_ysl_T_submodule_ {
121 dlq_hdr_t qhdr;
122 xmlChar *v_name;
123 val_value_t *v_revision;
124 xmlChar *v_schema;
126
127/* list /get-sm-yanglib/output/modules-state/module */
128typedef struct y_ysl_T_module_1_ {
129 dlq_hdr_t qhdr;
130 xmlChar *v_name;
131 val_value_t *v_revision;
132 xmlChar *v_schema;
133 xmlChar *v_namespace;
134 dlq_hdr_t v_feature;
135 dlq_hdr_t v_deviation;
136 xmlChar *v_conformance_type;
137 dlq_hdr_t v_submodule;
139
140/* container /get-sm-yanglib/output/modules-state */
141typedef struct y_ysl_T_modules_state_ {
142 xmlChar *v_module_set_id;
143 dlq_hdr_t v_module;
145
146/* container /get-sm-yanglib/output */
147typedef struct y_ysl_T_output_ {
148 y_ysl_T_modules_state v_modules_state;
150
151/* rpc /get-sm-yanglib */
152typedef struct y_ysl_T_get_sm_yanglib_ {
153 y_ysl_T_input v_input;
154 y_ysl_T_output v_output;
156
157
169 const xmlChar *modname,
170 const xmlChar *revision);
171
172
183
184
191extern void y_yumaworks_sm_yanglib_cleanup (void);
192
193
196#ifdef __cplusplus
197} /* end extern 'C' */
198#endif
199
200#endif // _H_yumaworks_sm_yanglib
201#endif // WITH_SCHEMA_MOUNT
dlq provides general double-linked list and queue support:
status_t
global error return code
Definition: status_enum.h:210
status_t y_yumaworks_sm_yanglib_init(const xmlChar *modname, const xmlChar *revision)
Phase 1: Initialize the yumaworks-sm-yanglib server instrumentation library.
Definition: yumaworks-sm-yanglib.c:307
status_t y_yumaworks_sm_yanglib_init2(void)
Phase 2: Initialize the yumaworks-sm-yanglib server instrumentation library.
Definition: yumaworks-sm-yanglib.c:379
void y_yumaworks_sm_yanglib_cleanup(void)
Cleanup the yumaworks-sm-yanglib server instrumentation library.
Definition: yumaworks-sm-yanglib.c:401
YANG module data structures Many internal representations of YANG module constructs.
NETCONF protocol operations.
Global error messages for status code enumerations.
one value to match one type
Definition: val.h:912
Definition: yumaworks-sm-yanglib.h:113
Definition: yumaworks-sm-yanglib.h:107
Definition: yumaworks-sm-yanglib.h:152
Definition: yumaworks-sm-yanglib.h:101
Definition: yumaworks-sm-yanglib.h:128
Definition: yumaworks-sm-yanglib.h:141
Definition: yumaworks-sm-yanglib.h:147
Definition: yumaworks-sm-yanglib.h:120
Value Node Basic Support.