OpenClovis Logo

clAmsMgmtOI.h
1 #ifndef _CL_AMS_MGMT_OI_H_
2 #define _CL_AMS_MGMT_OI_H_
3 
4 #include <clCommon.h>
5 #include <clCommonErrors.h>
6 #include <clOsalApi.h>
7 #include <clHeapApi.h>
8 #include <clLogApi.h>
9 #include <clDebugApi.h>
10 #include <clHash.h>
11 #include <clAmsErrors.h>
12 #include <clAmsMgmtClientApi.h>
13 #include <clCorApi.h>
14 #include <clCorTxnApi.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 typedef enum ClAmsMgmtOIExtendedClassType
21 {
22  CL_AMS_MGMT_OI_SGSIRANK,
23  CL_AMS_MGMT_OI_SGSURANK,
24  CL_AMS_MGMT_OI_SUSPERSIRANK,
25  CL_AMS_MGMT_OI_SISIDEP,
26  CL_AMS_MGMT_OI_CSICSIDEP,
27  CL_AMS_MGMT_OI_CSINAMEVALUE,
28  CL_AMS_MGMT_OI_SUSI,
29  CL_AMS_MGMT_OI_EXTENDED_CLASS_MAX,
30 }ClAmsMgmtOIExtendedClassTypeT;
31 
32 typedef struct ClAmsMgmtOIExtendedEntityConfig
33 {
34  ClAmsEntityT entity;
35  ClAmsEntityT containedEntity;
36 }ClAmsMgmtOIExtendedEntityConfigT;
37 
38 typedef struct ClAmsMgmtOICSINVPConfig
39 {
40  ClAmsMgmtOIExtendedEntityConfigT config;
41  ClAmsCSINVPT nvp;
42 }ClAmsMgmtOICSINVPConfigT;
43 
44 extern ClRcT clAmsMgmtOIInitialize(ClAmsMgmtHandleT *pHandle,
45  ClRcT (*pClAmsMgmtOIConfigAttributesGet)
47  ClRcT (*pClAmsMgmtOIExtendedConfigAttributesGet)
48  (ClAmsMgmtOIExtendedClassTypeT type,
49  ClAmsMgmtOIExtendedEntityConfigT *pConfig,
50  ClCorClassTypeT *pClassType,
51  ClCorAttributeValueListT *pAttrList));
52 extern ClRcT clAmsMgmtOIGet(ClCorMOIdT *pMoId, ClAmsEntityT *pEntity);
53 extern ClRcT clAmsMgmtOIExtendedGet(ClCorMOIdT *pMoId, ClAmsMgmtOIExtendedClassTypeT type,
54  ClAmsMgmtOIExtendedEntityConfigT *pConfig, ClUint32T configSize);
55 extern ClRcT clAmsMgmtOIIndexGet(ClAmsEntityTypeT type, ClCorInstanceIdT *pIndex);
56 extern ClRcT clAmsMgmtOIIndexPut(ClAmsEntityTypeT type, ClCorInstanceIdT index);
57 extern ClRcT clAmsMgmtOIDelete(ClCorInstanceIdT instance, ClAmsEntityT *entity);
58 extern ClRcT clAmsMgmtOIExtendedDelete(ClAmsMgmtOIExtendedClassTypeT type, ClCorInstanceIdT instance);
59 extern ClRcT clAmsMgmtOIExtendedIndexGet(ClAmsMgmtOIExtendedClassTypeT type, ClCorInstanceIdT *pIndex);
60 extern ClRcT clAmsMgmtOIExtendedIndexPut(ClAmsMgmtOIExtendedClassTypeT type, ClCorInstanceIdT index);
61 extern ClRcT clAmsMgmtOIExtendedDelete(ClAmsMgmtOIExtendedClassTypeT type, ClCorInstanceIdT instance);
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif

Generated on Tue Jan 10 10:29:15 PST 2012 for OpenClovis SDK using Doxygen