1 krisbash 1.1 /*
2 **==============================================================================
3 **
4 ** Open Management Infrastructure (OMI)
5 **
6 ** Copyright (c) Microsoft Corporation
7 **
8 ** Licensed under the Apache License, Version 2.0 (the "License"); you may not
9 ** use this file except in compliance with the License. You may obtain a copy
10 ** of the License at
11 **
12 ** http://www.apache.org/licenses/LICENSE-2.0
13 **
14 ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
16 ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
17 ** MERCHANTABLITY OR NON-INFRINGEMENT.
18 **
19 ** See the Apache 2 License for the specific language governing permissions
20 ** and limitations under the License.
21 **
22 krisbash 1.1 **==============================================================================
23 */
24
25 #ifndef _mof_instancedecl_h
26 #define _mof_instancedecl_h
27
28 #ifndef MI_CHAR_TYPE
29 # define MI_CHAR_TYPE 1
30 #endif
31
32 #include <MI.h>
33
34 /*
35 **==============================================================================
36 **
37 ** struct MI_InstanceDecl
38 **
39 ** Represents an instance declaration (as encountered in MOF).
40 **
41 **==============================================================================
42 */
43 krisbash 1.1
44 typedef struct _MI_InstanceDecl MI_InstanceDecl;
45
46 struct _MI_InstanceDecl /* extends MI_ObjectDecl */
47 {
48 /* Fields inherited from MI_FeatureDecl */
49 MI_Uint32 flags;
50 MI_Uint32 code;
51 MI_CONST MI_Char* name; /* name of class of which this is an instance */
52 struct _MI_Qualifier MI_CONST* MI_CONST* qualifiers; /* unused */
53 MI_Uint32 numQualifiers; /* unused */
54
55 /* Fields inherited from MI_ObjectDecl */
56 struct _MI_PropertyDecl MI_CONST* MI_CONST* properties;
57 MI_Uint32 numProperties;
58 MI_Uint32 size;
59 };
60
61 #endif /* _mof_instancedecl_h */
|