1 krisbash 1.1 /* @migen@ */
2 /*
3 **==============================================================================
4 **
5 ** WARNING: THIS FILE WAS AUTOMATICALLY GENERATED. PLEASE DO NOT EDIT.
6 **
7 **==============================================================================
8 */
9 #include <ctype.h>
10 #include <MI.h>
11 #include "OMI_Error.h"
12
13 /*
14 **==============================================================================
15 **
16 ** Schema Declaration
17 **
18 **==============================================================================
19 */
20
21 extern MI_SchemaDecl errorSchemaDecl;
22 krisbash 1.1
23 /*
24 **==============================================================================
25 **
26 ** Qualifier declarations
27 **
28 **==============================================================================
29 */
30
31 /*
32 **==============================================================================
33 **
34 ** CIM_Error
35 **
36 **==============================================================================
37 */
38
39 /* property CIM_Error.ErrorType */
40 static MI_CONST MI_PropertyDecl CIM_Error_ErrorType_prop =
41 {
42 MI_FLAG_PROPERTY, /* flags */
43 krisbash 1.1 0x00656509, /* code */
44 MI_T("ErrorType"), /* name */
45 NULL, /* qualifiers */
46 0, /* numQualifiers */
47 MI_UINT16, /* type */
48 NULL, /* className */
49 0, /* subscript */
50 offsetof(CIM_Error, ErrorType), /* offset */
51 MI_T("CIM_Error"), /* origin */
52 MI_T("CIM_Error"), /* propagator */
53 NULL,
54 };
55
56 /* property CIM_Error.OtherErrorType */
57 static MI_CONST MI_PropertyDecl CIM_Error_OtherErrorType_prop =
58 {
59 MI_FLAG_PROPERTY, /* flags */
60 0x006F650E, /* code */
61 MI_T("OtherErrorType"), /* name */
62 NULL, /* qualifiers */
63 0, /* numQualifiers */
64 krisbash 1.1 MI_STRING, /* type */
65 NULL, /* className */
66 0, /* subscript */
67 offsetof(CIM_Error, OtherErrorType), /* offset */
68 MI_T("CIM_Error"), /* origin */
69 MI_T("CIM_Error"), /* propagator */
70 NULL,
71 };
72
73 /* property CIM_Error.OwningEntity */
74 static MI_CONST MI_PropertyDecl CIM_Error_OwningEntity_prop =
75 {
76 MI_FLAG_PROPERTY, /* flags */
77 0x006F790C, /* code */
78 MI_T("OwningEntity"), /* name */
79 NULL, /* qualifiers */
80 0, /* numQualifiers */
81 MI_STRING, /* type */
82 NULL, /* className */
83 0, /* subscript */
84 offsetof(CIM_Error, OwningEntity), /* offset */
85 krisbash 1.1 MI_T("CIM_Error"), /* origin */
86 MI_T("CIM_Error"), /* propagator */
87 NULL,
88 };
89
90 /* property CIM_Error.MessageID */
91 static MI_CONST MI_PropertyDecl CIM_Error_MessageID_prop =
92 {
93 MI_FLAG_PROPERTY|MI_FLAG_REQUIRED, /* flags */
94 0x006D6409, /* code */
95 MI_T("MessageID"), /* name */
96 NULL, /* qualifiers */
97 0, /* numQualifiers */
98 MI_STRING, /* type */
99 NULL, /* className */
100 0, /* subscript */
101 offsetof(CIM_Error, MessageID), /* offset */
102 MI_T("CIM_Error"), /* origin */
103 MI_T("CIM_Error"), /* propagator */
104 NULL,
105 };
106 krisbash 1.1
107 /* property CIM_Error.Message */
108 static MI_CONST MI_PropertyDecl CIM_Error_Message_prop =
109 {
110 MI_FLAG_PROPERTY, /* flags */
111 0x006D6507, /* code */
112 MI_T("Message"), /* name */
113 NULL, /* qualifiers */
114 0, /* numQualifiers */
115 MI_STRING, /* type */
116 NULL, /* className */
117 0, /* subscript */
118 offsetof(CIM_Error, Message), /* offset */
119 MI_T("CIM_Error"), /* origin */
120 MI_T("CIM_Error"), /* propagator */
121 NULL,
122 };
123
124 /* property CIM_Error.MessageArguments */
125 static MI_CONST MI_PropertyDecl CIM_Error_MessageArguments_prop =
126 {
127 krisbash 1.1 MI_FLAG_PROPERTY, /* flags */
128 0x006D7310, /* code */
129 MI_T("MessageArguments"), /* name */
130 NULL, /* qualifiers */
131 0, /* numQualifiers */
132 MI_STRINGA, /* type */
133 NULL, /* className */
134 0, /* subscript */
135 offsetof(CIM_Error, MessageArguments), /* offset */
136 MI_T("CIM_Error"), /* origin */
137 MI_T("CIM_Error"), /* propagator */
138 NULL,
139 };
140
141 /* property CIM_Error.PerceivedSeverity */
142 static MI_CONST MI_PropertyDecl CIM_Error_PerceivedSeverity_prop =
143 {
144 MI_FLAG_PROPERTY, /* flags */
145 0x00707911, /* code */
146 MI_T("PerceivedSeverity"), /* name */
147 NULL, /* qualifiers */
148 krisbash 1.1 0, /* numQualifiers */
149 MI_UINT16, /* type */
150 NULL, /* className */
151 0, /* subscript */
152 offsetof(CIM_Error, PerceivedSeverity), /* offset */
153 MI_T("CIM_Error"), /* origin */
154 MI_T("CIM_Error"), /* propagator */
155 NULL,
156 };
157
158 /* property CIM_Error.ProbableCause */
159 static MI_CONST MI_PropertyDecl CIM_Error_ProbableCause_prop =
160 {
161 MI_FLAG_PROPERTY, /* flags */
162 0x0070650D, /* code */
163 MI_T("ProbableCause"), /* name */
164 NULL, /* qualifiers */
165 0, /* numQualifiers */
166 MI_UINT16, /* type */
167 NULL, /* className */
168 0, /* subscript */
169 krisbash 1.1 offsetof(CIM_Error, ProbableCause), /* offset */
170 MI_T("CIM_Error"), /* origin */
171 MI_T("CIM_Error"), /* propagator */
172 NULL,
173 };
174
175 /* property CIM_Error.ProbableCauseDescription */
176 static MI_CONST MI_PropertyDecl CIM_Error_ProbableCauseDescription_prop =
177 {
178 MI_FLAG_PROPERTY, /* flags */
179 0x00706E18, /* code */
180 MI_T("ProbableCauseDescription"), /* name */
181 NULL, /* qualifiers */
182 0, /* numQualifiers */
183 MI_STRING, /* type */
184 NULL, /* className */
185 0, /* subscript */
186 offsetof(CIM_Error, ProbableCauseDescription), /* offset */
187 MI_T("CIM_Error"), /* origin */
188 MI_T("CIM_Error"), /* propagator */
189 NULL,
190 krisbash 1.1 };
191
192 /* property CIM_Error.RecommendedActions */
193 static MI_CONST MI_PropertyDecl CIM_Error_RecommendedActions_prop =
194 {
195 MI_FLAG_PROPERTY, /* flags */
196 0x00727312, /* code */
197 MI_T("RecommendedActions"), /* name */
198 NULL, /* qualifiers */
199 0, /* numQualifiers */
200 MI_STRINGA, /* type */
201 NULL, /* className */
202 0, /* subscript */
203 offsetof(CIM_Error, RecommendedActions), /* offset */
204 MI_T("CIM_Error"), /* origin */
205 MI_T("CIM_Error"), /* propagator */
206 NULL,
207 };
208
209 /* property CIM_Error.ErrorSource */
210 static MI_CONST MI_PropertyDecl CIM_Error_ErrorSource_prop =
211 krisbash 1.1 {
212 MI_FLAG_PROPERTY, /* flags */
213 0x0065650B, /* code */
214 MI_T("ErrorSource"), /* name */
215 NULL, /* qualifiers */
216 0, /* numQualifiers */
217 MI_STRING, /* type */
218 NULL, /* className */
219 0, /* subscript */
220 offsetof(CIM_Error, ErrorSource), /* offset */
221 MI_T("CIM_Error"), /* origin */
222 MI_T("CIM_Error"), /* propagator */
223 NULL,
224 };
225
226 static MI_CONST MI_Uint16 CIM_Error_ErrorSourceFormat_value = 0;
227
228 /* property CIM_Error.ErrorSourceFormat */
229 static MI_CONST MI_PropertyDecl CIM_Error_ErrorSourceFormat_prop =
230 {
231 MI_FLAG_PROPERTY, /* flags */
232 krisbash 1.1 0x00657411, /* code */
233 MI_T("ErrorSourceFormat"), /* name */
234 NULL, /* qualifiers */
235 0, /* numQualifiers */
236 MI_UINT16, /* type */
237 NULL, /* className */
238 0, /* subscript */
239 offsetof(CIM_Error, ErrorSourceFormat), /* offset */
240 MI_T("CIM_Error"), /* origin */
241 MI_T("CIM_Error"), /* propagator */
242 &CIM_Error_ErrorSourceFormat_value,
243 };
244
245 /* property CIM_Error.OtherErrorSourceFormat */
246 static MI_CONST MI_PropertyDecl CIM_Error_OtherErrorSourceFormat_prop =
247 {
248 MI_FLAG_PROPERTY, /* flags */
249 0x006F7416, /* code */
250 MI_T("OtherErrorSourceFormat"), /* name */
251 NULL, /* qualifiers */
252 0, /* numQualifiers */
253 krisbash 1.1 MI_STRING, /* type */
254 NULL, /* className */
255 0, /* subscript */
256 offsetof(CIM_Error, OtherErrorSourceFormat), /* offset */
257 MI_T("CIM_Error"), /* origin */
258 MI_T("CIM_Error"), /* propagator */
259 NULL,
260 };
261
262 /* property CIM_Error.CIMStatusCode */
263 static MI_CONST MI_PropertyDecl CIM_Error_CIMStatusCode_prop =
264 {
265 MI_FLAG_PROPERTY, /* flags */
266 0x0063650D, /* code */
267 MI_T("CIMStatusCode"), /* name */
268 NULL, /* qualifiers */
269 0, /* numQualifiers */
270 MI_UINT32, /* type */
271 NULL, /* className */
272 0, /* subscript */
273 offsetof(CIM_Error, CIMStatusCode), /* offset */
274 krisbash 1.1 MI_T("CIM_Error"), /* origin */
275 MI_T("CIM_Error"), /* propagator */
276 NULL,
277 };
278
279 /* property CIM_Error.CIMStatusCodeDescription */
280 static MI_CONST MI_PropertyDecl CIM_Error_CIMStatusCodeDescription_prop =
281 {
282 MI_FLAG_PROPERTY, /* flags */
283 0x00636E18, /* code */
284 MI_T("CIMStatusCodeDescription"), /* name */
285 NULL, /* qualifiers */
286 0, /* numQualifiers */
287 MI_STRING, /* type */
288 NULL, /* className */
289 0, /* subscript */
290 offsetof(CIM_Error, CIMStatusCodeDescription), /* offset */
291 MI_T("CIM_Error"), /* origin */
292 MI_T("CIM_Error"), /* propagator */
293 NULL,
294 };
295 krisbash 1.1
296 static MI_PropertyDecl MI_CONST* MI_CONST CIM_Error_props[] =
297 {
298 &CIM_Error_ErrorType_prop,
299 &CIM_Error_OtherErrorType_prop,
300 &CIM_Error_OwningEntity_prop,
301 &CIM_Error_MessageID_prop,
302 &CIM_Error_Message_prop,
303 &CIM_Error_MessageArguments_prop,
304 &CIM_Error_PerceivedSeverity_prop,
305 &CIM_Error_ProbableCause_prop,
306 &CIM_Error_ProbableCauseDescription_prop,
307 &CIM_Error_RecommendedActions_prop,
308 &CIM_Error_ErrorSource_prop,
309 &CIM_Error_ErrorSourceFormat_prop,
310 &CIM_Error_OtherErrorSourceFormat_prop,
311 &CIM_Error_CIMStatusCode_prop,
312 &CIM_Error_CIMStatusCodeDescription_prop,
313 };
314
315 static MI_CONST MI_Char* CIM_Error_Version_qual_value = MI_T("2.22.1");
316 krisbash 1.1
317 static MI_CONST MI_Qualifier CIM_Error_Version_qual =
318 {
319 MI_T("Version"),
320 MI_STRING,
321 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TRANSLATABLE|MI_FLAG_RESTRICTED,
322 &CIM_Error_Version_qual_value
323 };
324
325 static MI_CONST MI_Char* CIM_Error_UMLPackagePath_qual_value = MI_T("CIM::Interop");
326
327 static MI_CONST MI_Qualifier CIM_Error_UMLPackagePath_qual =
328 {
329 MI_T("UMLPackagePath"),
330 MI_STRING,
331 0,
332 &CIM_Error_UMLPackagePath_qual_value
333 };
334
335 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_quals[] =
336 {
337 krisbash 1.1 &CIM_Error_Version_qual,
338 &CIM_Error_UMLPackagePath_qual,
339 };
340
341 /* class CIM_Error */
342 MI_CONST MI_ClassDecl CIM_Error_rtti =
343 {
344 MI_FLAG_CLASS|MI_FLAG_INDICATION, /* flags */
345 0x00637209, /* code */
346 MI_T("CIM_Error"), /* name */
347 CIM_Error_quals, /* qualifiers */
348 MI_COUNT(CIM_Error_quals), /* numQualifiers */
349 CIM_Error_props, /* properties */
350 MI_COUNT(CIM_Error_props), /* numProperties */
351 sizeof(CIM_Error), /* size */
352 NULL, /* superClass */
353 NULL, /* superClassDecl */
354 NULL, /* methods */
355 0, /* numMethods */
356 &errorSchemaDecl, /* schema */
357 NULL, /* functions */
358 krisbash 1.1 NULL, /* owningClass */
359 };
360
361 /*
362 **==============================================================================
363 **
364 ** OMI_Error
365 **
366 **==============================================================================
367 */
368
369 /* property OMI_Error.OMI_Code */
370 static MI_CONST MI_PropertyDecl OMI_Error_OMI_Code_prop =
371 {
372 MI_FLAG_PROPERTY, /* flags */
373 0x006F6508, /* code */
374 MI_T("OMI_Code"), /* name */
375 NULL, /* qualifiers */
376 0, /* numQualifiers */
377 MI_UINT32, /* type */
378 NULL, /* className */
379 krisbash 1.1 0, /* subscript */
380 offsetof(OMI_Error, OMI_Code), /* offset */
381 MI_T("OMI_Error"), /* origin */
382 MI_T("OMI_Error"), /* propagator */
383 NULL,
384 };
385
386 /* property OMI_Error.OMI_Category */
387 static MI_CONST MI_PropertyDecl OMI_Error_OMI_Category_prop =
388 {
389 MI_FLAG_PROPERTY, /* flags */
390 0x006F790C, /* code */
391 MI_T("OMI_Category"), /* name */
392 NULL, /* qualifiers */
393 0, /* numQualifiers */
394 MI_UINT16, /* type */
395 NULL, /* className */
396 0, /* subscript */
397 offsetof(OMI_Error, OMI_Category), /* offset */
398 MI_T("OMI_Error"), /* origin */
399 MI_T("OMI_Error"), /* propagator */
400 krisbash 1.1 NULL,
401 };
402
403 /* property OMI_Error.OMI_Type */
404 static MI_CONST MI_PropertyDecl OMI_Error_OMI_Type_prop =
405 {
406 MI_FLAG_PROPERTY, /* flags */
407 0x006F6508, /* code */
408 MI_T("OMI_Type"), /* name */
409 NULL, /* qualifiers */
410 0, /* numQualifiers */
411 MI_STRING, /* type */
412 NULL, /* className */
413 0, /* subscript */
414 offsetof(OMI_Error, OMI_Type), /* offset */
415 MI_T("OMI_Error"), /* origin */
416 MI_T("OMI_Error"), /* propagator */
417 NULL,
418 };
419
420 /* property OMI_Error.OMI_ErrorMessage */
421 krisbash 1.1 static MI_CONST MI_PropertyDecl OMI_Error_OMI_ErrorMessage_prop =
422 {
423 MI_FLAG_PROPERTY, /* flags */
424 0x006F6510, /* code */
425 MI_T("OMI_ErrorMessage"), /* name */
426 NULL, /* qualifiers */
427 0, /* numQualifiers */
428 MI_STRING, /* type */
429 NULL, /* className */
430 0, /* subscript */
431 offsetof(OMI_Error, OMI_ErrorMessage), /* offset */
432 MI_T("OMI_Error"), /* origin */
433 MI_T("OMI_Error"), /* propagator */
434 NULL,
435 };
436
437 static MI_PropertyDecl MI_CONST* MI_CONST OMI_Error_props[] =
438 {
439 &CIM_Error_ErrorType_prop,
440 &CIM_Error_OtherErrorType_prop,
441 &CIM_Error_OwningEntity_prop,
442 krisbash 1.1 &CIM_Error_MessageID_prop,
443 &CIM_Error_Message_prop,
444 &CIM_Error_MessageArguments_prop,
445 &CIM_Error_PerceivedSeverity_prop,
446 &CIM_Error_ProbableCause_prop,
447 &CIM_Error_ProbableCauseDescription_prop,
448 &CIM_Error_RecommendedActions_prop,
449 &CIM_Error_ErrorSource_prop,
450 &CIM_Error_ErrorSourceFormat_prop,
451 &CIM_Error_OtherErrorSourceFormat_prop,
452 &CIM_Error_CIMStatusCode_prop,
453 &CIM_Error_CIMStatusCodeDescription_prop,
454 &OMI_Error_OMI_Code_prop,
455 &OMI_Error_OMI_Category_prop,
456 &OMI_Error_OMI_Type_prop,
457 &OMI_Error_OMI_ErrorMessage_prop,
458 };
459
460 static MI_CONST MI_Char* OMI_Error_UMLPackagePath_qual_value = MI_T("CIM::Interop");
461
462 static MI_CONST MI_Qualifier OMI_Error_UMLPackagePath_qual =
463 krisbash 1.1 {
464 MI_T("UMLPackagePath"),
465 MI_STRING,
466 0,
467 &OMI_Error_UMLPackagePath_qual_value
468 };
469
470 static MI_Qualifier MI_CONST* MI_CONST OMI_Error_quals[] =
471 {
472 &OMI_Error_UMLPackagePath_qual,
473 };
474
475 /* class OMI_Error */
476 MI_CONST MI_ClassDecl OMI_Error_rtti =
477 {
478 MI_FLAG_CLASS|MI_FLAG_INDICATION, /* flags */
479 0x006F7209, /* code */
480 MI_T("OMI_Error"), /* name */
481 OMI_Error_quals, /* qualifiers */
482 MI_COUNT(OMI_Error_quals), /* numQualifiers */
483 OMI_Error_props, /* properties */
484 krisbash 1.1 MI_COUNT(OMI_Error_props), /* numProperties */
485 sizeof(OMI_Error), /* size */
486 MI_T("CIM_Error"), /* superClass */
487 &CIM_Error_rtti, /* superClassDecl */
488 NULL, /* methods */
489 0, /* numMethods */
490 &errorSchemaDecl, /* schema */
491 NULL, /* functions */
492 NULL, /* owningClass */
493 };
494
495 /*
496 **==============================================================================
497 **
498 ** __mi_server
499 **
500 **==============================================================================
501 */
502
503 MI_Server* __mi_server;
504 /*
505 krisbash 1.1 **==============================================================================
506 **
507 ** Schema
508 **
509 **==============================================================================
510 */
511
512 static MI_ClassDecl MI_CONST* MI_CONST classes[] =
513 {
514 &CIM_Error_rtti,
515 &OMI_Error_rtti,
516 };
517
518 MI_SchemaDecl errorSchemaDecl =
519 {
520 NULL, /* qualifierDecls */
521 0, /* numQualifierDecls */
522 classes, /* classDecls */
523 MI_COUNT(classes), /* classDecls */
524 };
525
|