(file) Return to regfile.h CVS log (file) (dir) Up to [OMI] / omi / provreg

 1 mike  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 mike  1.1 **==============================================================================
23           */
24           
25           #ifndef _provreg_regfile_h
26           #define _provreg_regfile_h
27           
28           #include <common.h>
29           
30           BEGIN_EXTERNC
31           
32           typedef struct _RegClass
33           {
34               /* Same initial members as ListElem */
35               struct _RegClass* next;
36               struct _RegClass* prev;
37           
38               char* name;
39               char* refName1;
40               char* refName2;
41           
42               /* Provider process-hosting model */
43 mike  1.1     char* hosting;
44           }
45           RegClass;
46           
47           typedef struct _RegFile
48           {
49               char* library;
50               RegClass* classesHead;
51               RegClass* classesTail;
52           }
53           RegFile;
54           
55           RegFile* RegFile_New(const char* path);
56           
57           void RegFile_Delete(RegFile* self);
58           
59           void RegFile_Print(RegFile* self, FILE* os);
60           
61           END_EXTERNC
62           
63           #endif /* _provreg_regfile_h */

ViewCVS 0.9.2