ima-plugin.h revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Description
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * imaPlugin.h: interface for the iScsiPlugin class.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The contents of this file are subject to the SNIA Public License
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Version 1.0 (the "License"); you may not use this file except in
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * compliance with the License. You may obtain a copy of the License at
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * /http://www.snia.org/English/Resources/Code/OpenSource.html
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Software distributed under the License is distributed on an "AS IS"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * the License for the specific language governing rights and limitations
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The Original Code is SNIA HBA API and IMA general header file
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The Initial Developer of the Original Code is:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Benjamin F. Kuo, Troika Networks, Inc. (benk@troikanetworks.com)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * David Dillard VERITAS Software david.dillard@veritas.com
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Contributor(s):
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Jeff Ding, Adaptec, Inc. (jding@corp.adaptec.com)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * 09/24/2003 Initial Draft
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * (for other changes... see the CVS logs)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * 12/15/2003 corrected the defined parameter in IMA_SetPhbaIsnsDiscovery().
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * lower case the computer name as iscsi name in IMA_GenerateNodeName().
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ******************************************************************************/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef void (* TerminateFn)();
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetNonSharedNodeOidListFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetFirstBurstLengthPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetMaxBurstLengthPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetMaxRecvDataSegmentLengthPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*---------------------------------------------*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetNetworkPortalOidListFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetMaxRecvDataSegmentLengthFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetMaxConnectionsPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetDefaultTime2RetainPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetDefaultTime2RetainFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetDefaultTime2WaitPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetMaxOutstandingR2TPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetMaxOutstandingR2TFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetErrorRecoveryLevelPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetErrorRecoveryLevelFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetInitialR2TPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetImmediateDataPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetDataPduInOrderPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetDataSequenceInOrderPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetDataSequenceInOrderFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetStatisticsCollectionFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetNetworkPortStatusFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetSendTargetsDiscoveryFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_AddPhbaStaticDiscoveryTargetFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_RemovePhbaStaticDiscoveryTargetFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetPhbaDownloadPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetNetworkPortalPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetNetworkPortalIpAddressFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetConnectionPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetSessionPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetTargetErrorStatisticsFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetStatisticsPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_RegisterForObjectVisibilityChangesFn) (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_DeregisterForObjectVisibilityChangesFn) (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_RegisterForObjectPropertyChangesFn) (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_DeregisterForObjectPropertyChangesFn) (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetAddressKeyPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetSupportedAuthMethodsFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetInUseInitiatorAuthMethodsFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetInitiatorAuthParmsFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetInitiatorAuthMethodsFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_SetInitiatorAuthParmsFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetStaticDiscoveryTargetOidListFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetDiscoveryPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_AddStaticDiscoveryTargetFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_STATIC_DISCOVERY_TARGET staticDiscoveryTarget,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_RemoveStaticDiscoveryTargetFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetStaticDiscoveryTargetPropertiesFn)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetDiscoveryAddressOidListFn) (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetConnectionOidListFn) (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_STATUS (* IMA_GetDiscoveryAddressPropertiesFn) (