4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
22 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
34 IMA_API IMA_STATUS
SUN_IMA_GetDiscoveryAddressPropertiesList(
35 SUN_IMA_DISC_ADDR_PROP_LIST
**ppList
);
36 IMA_API IMA_STATUS
SUN_IMA_GetStaticTargetProperties(
37 IMA_OID staticTargetOid
,
38 SUN_IMA_STATIC_TARGET_PROPERTIES
*pProps
);
39 IMA_API IMA_STATUS
SUN_IMA_AddStaticTarget(
41 const SUN_IMA_STATIC_DISCOVERY_TARGET staticConfig
,
43 IMA_API IMA_STATUS
SUN_IMA_GetTargetProperties(
45 SUN_IMA_TARGET_PROPERTIES
*pProps
);
46 IMA_STATUS
SUN_IMA_SetTargetAuthParams(
48 IMA_AUTHMETHOD method
,
49 const IMA_INITIATOR_AUTHPARMS
*pParms
);
50 IMA_STATUS
SUN_IMA_GetTargetAuthMethods(
53 IMA_UINT
*pMethodCount
,
54 IMA_AUTHMETHOD
*pMethodList
);
55 IMA_STATUS
SUN_IMA_SetInitiatorRadiusConfig(
57 SUN_IMA_RADIUS_CONFIG
*config
);
58 IMA_STATUS
SUN_IMA_GetInitiatorRadiusConfig(
60 SUN_IMA_RADIUS_CONFIG
*config
);
61 IMA_STATUS
SUN_IMA_SetInitiatorRadiusAccess(
63 IMA_BOOL radiusAccess
);
64 IMA_STATUS
SUN_IMA_GetInitiatorRadiusAccess(
66 IMA_BOOL
*radiusAccess
);
67 IMA_STATUS
SUN_IMA_SendTargets(
68 IMA_NODE_NAME nodeName
,
69 IMA_TARGET_ADDRESS address
,
70 SUN_IMA_DISC_ADDRESS_KEY_PROPERTIES
**ppList
);
71 IMA_STATUS
SUN_IMA_SetTargetBidirAuthFlag(
73 IMA_BOOL
*bidirAuthFlag
);
74 IMA_STATUS
SUN_IMA_GetTargetBidirAuthFlag(
76 IMA_BOOL
*bidirAuthFlag
);
77 IMA_STATUS
SUN_IMA_CreateTargetOid(
78 IMA_NODE_NAME targetName
,
80 IMA_STATUS
SUN_IMA_RemoveTargetParam(
82 IMA_API IMA_STATUS
SUN_IMA_SetHeaderDigest(
84 IMA_UINT algorithmCount
,
85 const SUN_IMA_DIGEST_ALGORITHM
*algorithmList
);
86 IMA_API IMA_STATUS
SUN_IMA_SetDataDigest(
88 IMA_UINT algorithmCount
,
89 const SUN_IMA_DIGEST_ALGORITHM
*algorithmList
);
90 IMA_API IMA_STATUS
SUN_IMA_GetHeaderDigest(
92 SUN_IMA_DIGEST_ALGORITHM_VALUE
*algorithm
);
93 IMA_API IMA_STATUS
SUN_IMA_GetDataDigest(
95 SUN_IMA_DIGEST_ALGORITHM_VALUE
*algorithm
);
96 IMA_STATUS
SUN_IMA_GetLuProperties(
98 SUN_IMA_LU_PROPERTIES
*pProps
);
99 IMA_API IMA_STATUS
SUN_IMA_GetConnOidList(
101 IMA_OID_LIST
**ppList
);
102 IMA_API IMA_STATUS
SUN_IMA_GetConnProperties(
104 SUN_IMA_CONN_PROPERTIES
**pProps
);
105 IMA_API IMA_STATUS
SUN_IMA_GetConfigSessions(
107 SUN_IMA_CONFIG_SESSIONS
**pConfigSessions
);
108 IMA_API IMA_STATUS
SUN_IMA_SetConfigSessions(
110 SUN_IMA_CONFIG_SESSIONS
*pConfigSessions
);
111 IMA_API IMA_STATUS
SUN_IMA_RemoveDiscoveryAddress(
112 SUN_IMA_TARGET_ADDRESS discoveryAddress
);
113 IMA_STATUS
SUN_IMA_SetTargetAuthMethods(
115 IMA_UINT
*methodCount
,
116 const IMA_AUTHMETHOD
*pMethodList
);
117 IMA_STATUS
getNegotiatedDigest(
119 SUN_IMA_DIGEST_ALGORITHM_VALUE
*algorithm
,
120 SUN_IMA_CONN_PROPERTIES
*connProps
);
121 IMA_API IMA_STATUS
SUN_IMA_GetISNSServerAddressPropertiesList(
122 SUN_IMA_DISC_ADDR_PROP_LIST
**ppList
);
123 IMA_API IMA_STATUS
SUN_IMA_RemoveISNSServerAddress(
124 SUN_IMA_TARGET_ADDRESS isnsServerAddress
);
125 IMA_API IMA_STATUS
SUN_IMA_AddISNSServerAddress(
126 const SUN_IMA_TARGET_ADDRESS isnsServerAddress
);
127 IMA_STATUS
SUN_IMA_RetrieveISNSServerTargets(
128 IMA_TARGET_ADDRESS serverAddress
,
129 SUN_IMA_DISC_ADDRESS_KEY_PROPERTIES
**ppList
);
130 IMA_STATUS
SUN_IMA_GetSessionOidList(
131 IMA_OID initiatorOid
,
132 IMA_OID_LIST
**ppList
);
133 IMA_API IMA_STATUS
SUN_IMA_GetTargetAuthParms(
135 IMA_AUTHMETHOD method
,
136 IMA_INITIATOR_AUTHPARMS
*pParms
);
137 IMA_STATUS
SUN_IMA_GetBootTargetName(
138 IMA_NODE_NAME tgtName
);
139 IMA_STATUS
SUN_IMA_GetBootTargetAuthParams(
140 IMA_INITIATOR_AUTHPARMS
*pTgtCHAP
);
141 IMA_STATUS
SUN_IMA_GetBootMpxio(
142 IMA_BOOL
*pMpxioEnabled
);
143 IMA_STATUS
SUN_IMA_GetBootIscsi(
144 IMA_BOOL
*pIscsiBoot
);
145 IMA_STATUS
SUN_IMA_GetSvcStatus(
146 IMA_BOOL
*pSvcEnabled
);
147 IMA_STATUS
SUN_IMA_ReEnumeration(
153 #endif /* _SUN_IMA_H */