fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
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 *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
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 *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Description
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Ima.h - general header file for client
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * and library developers
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * License:
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 *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * /http://www.snia.org/English/Resources/Code/OpenSource.html
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
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 *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The Original Code is SNIA HBA API and IMA general header file
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
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 *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Contributor(s):
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Jeff Ding, Adaptec, Inc. (jding@corp.adaptec.com)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Dave Wysochanski, Network Appliance, Inc. (davidw@netapp.com)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte ******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Changes:
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
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * IMA_GenerateNodeName().
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * 03/01/2004 Brought up to date with respect to IMA v1.0.1; made formatting
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * changes - lines to 80 cols - for readability.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * 01/21/2005 Updated to support IMA 1.1.3.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *****************************************************************************/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef __cplusplus
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteextern "C" {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifndef IMA_H
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_H
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#include <time.h>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#include <wchar.h>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Library version string */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define HBA_LIBVERSION 2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China#define IMA_MAX_CALLBACK_PER_PLUGIN 64
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China#define IMA_MAX_NUM_PLUGINS 32
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* DLL imports for WIN32 operation */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef WIN32
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef IMA_EXPORTS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_API __declspec(dllexport)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#else
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_API __declspec(dllimport)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#else
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_API
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* OS specific definitions */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef WIN32
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned char IMA_UINT8; // Unsigned 8 bits
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef char IMA_INT8; // Signed 8 bits
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned short IMA_UINT16; // Unsigned 16 bits
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef short IMA_INT16; // Signed 16 bits
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned int IMA_UINT32; // Unsigned 32 bits
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef int IMA_INT32; // Signed 32 bits
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef void* IMA_PVOID; // Pointer to void
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_UINT32 IMA_VOID32; // Opaque 32 bits
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Don't confuse, _WIN32 with WIN32... OK, how do you accompish that */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef _WIN32
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef __int64 IMA_INT64;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned __int64 IMA_UINT64;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#else
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TN_UINT32 lo_val;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TN_UINT32 hi_val;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_INT64;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TN_UINT32 lo_val;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TN_UINT32 hi_val;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_UINT64;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif /* #ifdef _WIN32 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#else
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Note this section needs to be cleaned up for various Unix platforms */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned char IMA_UINT8; /* Unsigned 8 bits */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef char IMA_INT8; /* Signed 8 bits */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned short IMA_UINT16; /* Unsigned 16 bits */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef short IMA_INT16; /* Signed 16 bits */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned int IMA_UINT32; /* Unsigned 32 bits */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef int IMA_INT32; /* Signed 32 bits */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef void* IMA_PVOID; /* Pointer to void */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_UINT32 IMA_VOID32; /* Opaque 32 bits */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef long long IMA_INT64;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef long long IMA_UINT64;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif /* #ifdef WIN32 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Generic IMA Constant Definitions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define RL_LIBRARY_SEQNUM 0
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define RL_SHARED_NODE_SEQNUM 0
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Value which can be assigned to an IMA_BOOL and or an IMA_XBOOL.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_TRUE 1
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Value which can be assigned to an IMA_BOOL and or an IMA_XBOOL.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_FALSE 0
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Value which can be assigned to an IMA_XBOOL.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_UNKNOWN 0xFFFFFFFF
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Base IMA Type Definitions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @note Types that have a specific size must be defined ImaOsTypes.h which is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an OS specific include file which is included by this file.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A character.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef char IMA_CHAR;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A wide character.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef wchar_t IMA_WCHAR;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* An integer. Spec states this is 32 bits on 32-bit systems, and 64-bit
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* on 64-bit systems.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned long IMA_UINT;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A boolean.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_UINT32 IMA_BOOL;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* An extended boolean: can have the values @ref IMA_TRUE, @ref IMA_FALSE, and
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @ref IMA_UNKNOWN.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_UINT32 IMA_XBOOL;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A date and time.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct tm IMA_DATETIME;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef unsigned char IMA_BYTE;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Constants and macros declarations related to IMA_STATUS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef SOLARIS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_UINT IMA_STATUS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_STATUS_SUCCESS 0x00000000
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_STATUS_ERROR 0x80000000
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_SUCCESS(status) (((IMA_STATUS)(status) & \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (IMA_STATUS)IMA_STATUS_ERROR) == 0 ? IMA_TRUE : IMA_FALSE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR(status) (((IMA_STATUS)(status) & \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (IMA_STATUS)IMA_STATUS_ERROR) == 0x8000000 ? IMA_TRUE : IMA_FALSE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define MAKE_IMA_STATUS(x) ((IMA_STATUS)(x))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define MAKE_IMA_ERROR(x) ((IMA_STATUS)(IMA_STATUS_ERROR | (x)))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define GET_SYSTEM_ERROR(x) (((IMA_STATUS)(x) & 0x0000FFFF))
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_STATUS_REBOOT_NECESSARY MAKE_IMA_STATUS(0x01)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_STATUS_INCONSISTENT_NODE_PROPERTIES MAKE_IMA_STATUS(0x02)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_STATUS_SCSI_STATUS_CONDITION_MET MAKE_IMA_STATUS(0x100)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_NOT_SUPPORTED MAKE_IMA_ERROR(0x01)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_INSUFFICIENT_MEMORY MAKE_IMA_ERROR(0x02)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_LAST_PRIMARY_DISCOVERY_METHOD MAKE_IMA_ERROR(0x03)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_UNEXPECTED_OS_ERROR MAKE_IMA_ERROR(0x04)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_SYNC_TIMEOUT MAKE_IMA_ERROR(0x05)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_LU_EXPOSED MAKE_IMA_ERROR(0x06)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_LU_NOT_EXPOSED MAKE_IMA_ERROR(0x07)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_LU_IN_USE MAKE_IMA_ERROR(0x08)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_TARGET_TIMEOUT MAKE_IMA_ERROR(0x09)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_LOGIN_REJECTED MAKE_IMA_ERROR(0x0A)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_STATS_COLLECTION_NOT_ENABLED MAKE_IMA_ERROR(0x0B)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_SCSI_STATUS_CHECK_CONDITION MAKE_IMA_ERROR(0x100)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_SCSI_STATUS_BUSY MAKE_IMA_ERROR(0x101)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_SCSI_STATUS_RESERVATION_CONFLICT MAKE_IMA_ERROR(0x102)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_SCSI_STATUS_TASK_SET_FULL MAKE_IMA_ERROR(0x103)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_SCSI_STATUS_ACA_ACTIVE MAKE_IMA_ERROR(0x104)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_SCSI_STATUS_TASK_ABORTED MAKE_IMA_ERROR(0x105)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_INVALID_PARAMETER MAKE_IMA_ERROR(0x40000000)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_INVALID_OBJECT_TYPE MAKE_IMA_ERROR(0x40000001)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_INCORRECT_OBJECT_TYPE MAKE_IMA_ERROR(0x40000002)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_OBJECT_NOT_FOUND MAKE_IMA_ERROR(0x40000003)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_NAME_TOO_LONG MAKE_IMA_ERROR(0x40000004)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR_UNKNOWN_ERROR MAKE_IMA_ERROR(0x0fffffff)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#else
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_STATUS_SUCCESS = 0x00000000,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_STATUS_REBOOT_NECESSARY = 0x00000001,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_STATUS_INCONSISTENT_NODE_PROPERTIES = 0x00000002,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_STATUS_SCSI_STATUS_CONDITION_MET = 0x00000100,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_STATUS_ERROR = 0x80000000,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_NOT_SUPPORTED = 0x80000001,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_INSUFFICIENT_MEMORY = 0x80000002,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_LAST_PRIMARY_DISCOVERY_METHOD = 0x80000003,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_UNEXPECTED_OS_ERROR = 0x80000004,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_SYNC_TIMEOUT = 0x80000005,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_LU_EXPOSED = 0x80000006,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_LU_NOT_EXPOSED = 0x80000007,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_LU_IN_USE = 0x80000008,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_TARGET_TIMEOUT = 0x80000009,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_LOGIN_REJECTED = 0x8000000A,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_STATS_COLLECTION_NOT_ENABLED = 0x8000000B,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_SCSI_STATUS_CHECK_CONDITION = 0x80000100,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_SCSI_STATUS_BUSY = 0x80000101,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_SCSI_STATUS_RESERVATION_CONFLICT = 0x80000102,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_SCSI_STATUS_TASK_SET_FULL = 0x80000103,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_SCSI_STATUS_ACA_ACTIVE = 0x80000104,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_SCSI_STATUS_TASK_ABORTED = 0x80000105,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_INVALID_PARAMETER = 0xC0000000,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_INVALID_OBJECT_TYPE = 0xC0000001,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_INCORRECT_OBJECT_TYPE = 0xC0000002,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_OBJECT_NOT_FOUND = 0xC0000003,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_NAME_TOO_LONG = 0xC0000004,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ERROR_UNKNOWN_ERROR = 0x8FFFFFFF
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_STATUS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_SUCCESS(status) ( (IMA_UINT32)(status) & \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (IMA_UINT32)IMA_STATUS_ERROR == 0 ? \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TRUE : IMA_FALSE )
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR(status) ( (IMA_UINT32)(status) & \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (IMA_UINT32)IMA_STATUS_ERROR == 0x8000000 ? \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TRUE : IMA_FALSE )
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_SUCCESS(status) !((status) & IMA_STATUS_ERROR)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ERROR(status) ((status) & IMA_STATUS_ERROR)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_OBJECT_TYPE enumeration
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_UNKNOWN = 0,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_PLUGIN = 1,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_NODE = 2,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_LHBA = 3,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_PHBA = 4,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_NETWORK_PORTAL = 5,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_PORTAL_GROUP = 6,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_LNP = 7,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_PNP = 8,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_TARGET = 9,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_LU = 10,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_DISCOVERY_ADDRESS = 11,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_STATIC_DISCOVERY_TARGET = 12,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_CONNECTION = 13,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE_SESSION = 14
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_OBJECT_TYPE;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ISNS_DISCOVERY_METHOD_STATIC = 0,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ISNS_DISCOVERY_METHOD_DHCP = 1,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ISNS_DISCOVERY_METHOD_SLP = 2
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_ISNS_DISCOVERY_METHOD;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DOWNLOAD_IMAGE_TYPE_FIRMWARE = 0,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DOWNLOAD_IMAGE_TYPE_OPTION_ROM = 1,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DOWNLOAD_IMAGE_TYPE_ALL = 2,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DOWNLOAD_IMAGE_TYPE_BOOTCODE = 3
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_PHBA_DOWNLOAD_IMAGE_TYPE;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PHBA_STATUS_WORKING = 0,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PHBA_STATUS_FAILED = 1
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_PHBA_STATUS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NETWORK_PORT_STATUS_WORKING = 0,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NETWORK_PORT_STATUS_DEGRADED = 1,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NETWORK_PORT_STATUS_CRITICAL = 2,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NETWORK_PORT_STATUS_FAILED = 3,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NETWORK_PORT_STATUS_DISCONNECTED = 4
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_NETWORK_PORT_STATUS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TARGET_DISCOVERY_METHOD_STATIC = 1,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TARGET_DISCOVERY_METHOD_SLP = 2,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TARGET_DISCOVERY_METHOD_ISNS = 4,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TARGET_DISCOVERY_METHOD_SENDTARGETS = 8
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_TARGET_DISCOVERY_METHOD;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD_NONE = 0,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD_CHAP = 1,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD_SRP = 2,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD_KRB5 = 3,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD_SPKM1 = 4,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD_SPKM2 = 5
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_AUTHMETHOD;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_COMMIT_TYPE_AUTO = 0,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_COMMIT_TYPE_ACTIVE,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_COMMIT_TYPE_PERSISTENT,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_COMMIT_TYPE_ACTIVE_AND_PERSISTENT,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_COMMIT_TYPE_ALL_WITH_RESET
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_COMMIT_LEVEL;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef enum
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DIGEST_NONE = 0,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DIGEST_CRC32C = 1
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_DIGEST_TYPE;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_OID structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* This structure should be treated as opaque by clients of the API.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Appropriate APIs should be used to extract information from the structure.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_OID
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The type of the object. When an object ID is supplied as a parameter
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * to an API the library uses this value to insure that the supplied
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * object's type is appropriate for the API.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE objectType;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A value determined by the library which it uses to uniquely identify the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * owner of an object. The owner of an object is either the library itself
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * or a plugin. When an object ID is supplied as a parameter to an API the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * library uses this value to determine if it should handle the call itself
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * or direct the call to one or more plugins.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 ownerId;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A value determined by a plugin which a plugin uses, perhaps in
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * combination with the object type, to uniquely identify one of its
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * objects.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 objectSequenceNumber;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_OID;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_OID_LIST structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* This structure is used by a number of APIs to return lists of objects. Any
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* instance of this structure returned by an API must be freed by a client
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* using the IMA_FreeObjectIdList API. Although oids is declared to be an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* array of one
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @ref IMA_OID structure it can in fact contain any number of
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @ref IMA_OID structures.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @note The @a oids array is a variable length array, despite its declaration
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* below it can be of any length.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_OID_LIST
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The number of object IDs in the @a oids array.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT oidCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A variable length array of zero or more object IDs. There are
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * 'oidCount' object IDs in this array.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oids[1];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_OID_LIST;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_HOST_NAME_LEN 256
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_WCHAR IMA_HOST_NAME[IMA_HOST_NAME_LEN];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_BYTE IMA_MAC_ADDRESS[6];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_LIBRARY_PROPERTIES structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_LIBRARY_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The version of the iSCSI Management API implemented by the library.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The value returned by a library for the API as described in this
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * document is one.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT supportedImaVersion;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string containing the name of the vendor that
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * created the binary version of the library.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR vendor[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string containing the implementation version
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * of the library from the vendor specified in the 'vendor' field.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR implementationVersion[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string ideally containing the path and file
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * name of the library that is being used by the currently executing
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * process can be found. If the path cannot be determined then it is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * acceptable to fill this field with only the name (and extension if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * applicable) of the file of the library. If this cannot be determined
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * then this field should be an empty string.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR fileName[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The time and date that the library that is executing was built.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DATETIME buildTime;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_LIBRARY_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_PLUGIN_PROPERTIES structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_PLUGIN_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT supportedImaVersion;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR vendor[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR implementationVersion[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR fileName[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DATETIME buildTime;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL lhbasCanBeCreatedAndDestroyed;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_PLUGIN_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_IP_ADDRESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL ipv4Address;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE ipAddress[16];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_IP_ADDRESS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_ADDRESS_KEY
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS ipAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 portNumber;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_ADDRESS_KEY;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_ADDRESS_KEYS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT addressKeyCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ADDRESS_KEY addressKeys[1];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_ADDRESS_KEYS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_ADDRESS_KEY_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT addressKeyCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ADDRESS_KEY addressKeys[1];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_ADDRESS_KEY_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_IP_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL ipConfigurationMethodSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL dhcpConfigurationEnabled;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL subnetMaskSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL subnetMaskValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS subnetMask;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL defaultGatewaySettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL defaultGatewayValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS defaultGateway;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL primaryDnsServerAddressSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL primaryDnsServerAddressValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS primaryDnsServerAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL alternateDnsServerAddressSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL alternateDnsServerAddressValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS alternateDnsServerAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_IP_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_HOST_ID
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL hostnameInUse;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte union {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_HOST_NAME hostname;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS ipAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte } id;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_HOST_ID;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_TARGET_ADDRESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_HOST_ID hostnameIpAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 portNumber;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_TARGET_ADDRESS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_NODE_NAME type
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_NODE_NAME_LEN 224
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_WCHAR IMA_NODE_NAME[IMA_NODE_NAME_LEN];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_NODE_ALIAS type
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_NODE_ALIAS_LEN 256
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef IMA_WCHAR IMA_NODE_ALIAS[IMA_NODE_ALIAS_LEN];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_DOMAIN_NAME type
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A variable of this type may be formatted in any of the following four ways:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 1. An empty string, which indicates that no host or IP address is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* specified
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 2. A DNS host name
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 3. A dotted-decimal IPv4 address
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 4. A bracketed IPv6 address as specified in RFC 2732
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* In all cases a domain name is terminated by a nul character.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* This type is used by several APIs: IMA_SetPhbaSnsDiscovery(),
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* IMA_SetNetworkPortalIpAddress(), and indirectly by
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* IMA_GetPhbaDiscoveryProperties().
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef wchar_t IMA_DOMAIN_NAME[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_PHBA_DOWNLOAD_IMAGE_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PHBA_DOWNLOAD_IMAGE_TYPE imageType;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR version[32];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR description[512];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL upgrade;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_PHBA_DOWNLOAD_IMAGE_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_NODE_PROPERTIES structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* This structure is returned by the IMA_GetNodeProperties() API.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* NOTE: It is possible for both 'runningInInitiatorMode' and
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 'runningInTargetMode' to be set to @c IMA_TRUE. This means that
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* the node is operating both as an initiator and as a target.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_NODE_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A boolean indicating if the node is running as initiator or not.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL runningInInitiatorMode;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A boolean indicating if the node is running as a target or not.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL runningInTargetMode;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A boolean which indicates if the node's name is set or not.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL nameValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated Unicode string which contains the name of the node.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The value in this field is only valid if 'nameValid' is set to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * IMA_TRUE, in which case it will be Unicode NULL terminated. If
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * 'nameValid' is set to IMA_FALSE then this field will contain an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * empty string.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NODE_NAME name;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A boolean which indicates if the node's alias is set or not.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL aliasValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated Unicode string which contains the alias of the node.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * This field is only valid if 'aliasValid' is set to IMA_TRUE, in which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * case it will be Unicode NULL terminated. If 'aliasValid' is set to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * IMA_FALSE then this field will contain an empty string.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NODE_ALIAS alias;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Boolean indicating if both the name and alias are settable using
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * IMA_SetNodeName() and IMA_SetNodeAlias().
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL nameAndAliasSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_NODE_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_LHBA_PROPERTIES structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* This structure is returned by the IMA_GetLhbaProperties() API.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_LHBA_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR osDeviceName[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL luExposingSupported;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL isDestroyable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL staleDataRemovable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT staleDataSize;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL initiatorAuthMethodsSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL targetAuthMethodsSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[128];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_LHBA_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_ULP_xxx constants
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ULP_TCP 0x01
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ULP_SCTP 0x02
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define IMA_ULP_UDP 0x04
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_MIN_MAX_VALUE structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Note: If the 'currentValueValid' field is IMA_FALSE then the value of
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 'settable' must also be set to IMA_FALSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Note: The fields in this structure contain values which are defined by the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* implementation and not by the iSCSI specification. It is possible
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* that an implementation may be more or less restrictive in the values
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* that it can accept than the iSCSI specification allows.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Note: An example of how to use 'incrementValue': Suppose that a structure is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* obtained where 'currentValueValid' is IMA_TRUE, 'settable' is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* IMA_TRUE, 'currentValue' is 50, 'defaultValue' is 50, 'minimumValue'
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* is 30, 'maximumValue' is 70 and 'incrementValue' is 10. In this case,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* the possible values that the property can be set to are 30, 40, 50,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 60, and 70. The new value must be the current value plus or minus
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* some multiple of 'incrementValue'.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_MIN_MAX_VALUE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A boolean indicating if the @a currentValue field contains a valid value.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL currentValueValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Indicates if the corresponding property is settable. If this field
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * has the value IMA_TRUE then the 'defaultValue', 'minimumValue',
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * 'maximumValue', and 'incrementValue' fields shall contain valid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * values. If this field has the value IMA_FALSE then these fields
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * have undefined values.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL settable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If currentValueValid has the value IMA_TRUE then this field contains
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * the current value of the associated property. If 'currentValueValid' has
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * the value IMA_FALSE then the value of this field is undefined.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 currentValue;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If 'settable' has the value IMA_TRUE then this field contains the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * implementation's default value of the associated property. If 'settable'
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * has the value IMA_FALSE then the value of this field is undefined.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 defaultValue;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If 'settable' has the value IMA_TRUE then this field contains the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * implementation's minimum value of the associated property. If 'settable'
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * has the value IMA_FALSE then the value of this field is undefined.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 minimumValue;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If 'settable' has the value IMA_TRUE then this field contains the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * implementation's maximum value of the associated property. If 'settable'
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * has the value IMA_FALSE then the value of this field is undefined.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 maximumValue;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If 'settable' has the value IMA_TRUE then this field contains a value
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * which can be added to or subtracted from 'currentValue' to obtain other
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * possible values of the associated property. If 'settable' has the value
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * IMA_FALSE then the value of this field is undefined.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 incrementValue;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_MIN_MAX_VALUE;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_BOOL_VALUE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL currentValueValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL settable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL currentValue;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL defaultValue;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_BOOL_VALUE;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_PHBA_PROPERTIES structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* This structure is returned by the IMA_GetPhbaProperties() API.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Note: Both 'isInitiator' and 'isTarget' cannot be set to IMA_FALSE as this
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* would mean that the PHBA was not functioning as either an initiator or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* target, which means that its not functioning at all.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_PHBA_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the name of the vendor
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * of a PHBA. If the first character in this field is nul then the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * vendor is unknown.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR vendor[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the name of the model of
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * a PHBA. If the first character in this field is nul then the model is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * unknown.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR model[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains a description of a PHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * This is a user friendly description of the PHBA. If the first character
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * in this field is nul then there is no description.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR description[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the serial number of a
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * PHBA. If the first character in this field is nul then the serial
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * number is unknown.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR serialNumber[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the hardware version of
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * a PHBA. If the first character in this field is nul then the hardware
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * version is unknown.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR hardwareVersion[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the ASIC version of a
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * PHBA. If the first character in this field is nul then the ASIC
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * version is unknown or is not applicable.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR asicVersion[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the firmware version of
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * a PHBA. If the first character in this field is nul then the firmware
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * version is unknown or is not applicable.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR firmwareVersion[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the option ROM version
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * of a PHBA. If the first character in this field is nul then the option
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * ROM version is unknown or is not applicable.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR optionRomVersion[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the name of the driver
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * controlling a PHBA. If the first character in this field is nul then
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * the name of the driver is unknown.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR driverName[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A nul terminated ASCII string which contains the version of the driver
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * specified in 'driverName'. If the first character in this field is nul
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * then the version of the driver is unknown.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * This field can have a known value only if @a driverName has a known
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * value as well.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR driverVersion[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A field containing flags which indicate what upper level protocols
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * are supported by a PHBA. Examples of upper level protocols include:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * - TCP, represented by IMA_ULP_TCP
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * - SCTP, represented by IMA_ULP_SCTP
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * - UDP, represented by IMA_ULP_UDP
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT supportedUlps;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A extended boolean which indicates if a PHBA supports executing SCSI
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * commands which cause bidirectional transfers.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Note: The value of this field applies to the entire stack:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * the hardware, ASIC, firmware, driver, etc. All must support SCSI
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * commands which cause bidirectional transfers for this field to be
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * set to IMA_TRUE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL bidirectionalTransfersSupported;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The maximum length, in bytes, of a CDB that can be transferred by
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * this PHBA. If this field has a value of zero that indicates that
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * this value is unknown.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Note: The value of this field applies to the entire stack:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * the hardware, ASIC, firmware, driver, etc. All must support the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * maximum CDB length returned in this field.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT maximumCdbLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * An extended boolean which indicates if a PHBA can also function as
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * a standard NIC concurrently with functioning as an iSCSI PHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL canBeNic;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * A extended boolean which indicates if a PHBA is functioning as a
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * standard NIC concurrently with functioning as an iSCSI PHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL isNic;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * An extended boolean indicating if the PHBA is functioning as an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * initiator.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL isInitiator;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * An extended boolean indicating if the PHBA is functioning as a target.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL isTarget;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * An extended boolean indicating if the PHBA is using a TCP offload engine.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Note: This value should only be set to @c IMA_TRUE if a TCP offload
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * engine is present and is being used. If it can be determined that a
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * TCP offload engine is present, but it cannot be determined if that
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * offload engine is being used then this value should be set to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * IMA_UNKNOWN.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL usingTcpOffloadEngine;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * An extended boolean indicating if the PHBA is using a iSCSI offload
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * engine.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte *
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Note: This value should only be set to @c IMA_TRUE if a iSCSI offload
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * engine is present and is being used. If it can be determined that an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * iSCSI offload engine is present, but it cannot be determined if that
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * offload engine is being used then this value should be set to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * IMA_UNKNOWN.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL usingIscsiOffloadEngine;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[128];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_PHBA_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Declaration of the IMA_DISCOVERY_PROPERTIES structure
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_DISCOVERY_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL iSnsDiscoverySettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL iSnsDiscoveryEnabled;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ISNS_DISCOVERY_METHOD iSnsDiscoveryMethod;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_HOST_ID iSnsHost;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL slpDiscoverySettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL slpDiscoveryEnabled;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL staticDiscoverySettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL staticDiscoveryEnabled;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL sendTargetsDiscoverySettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_XBOOL sendTargetsDiscoveryEnabled;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[128];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_DISCOVERY_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_PHBA_DOWNLOAD_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL isPhbaDownloadFileSupported;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL optionRomDownloadSupported;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL firmwareDownloadSupported;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[32];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_PHBA_DOWNLOAD_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_IPSEC_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL ipsecSupported;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL implementedInHardware;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL implementedInSoftware;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[32];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_IPSEC_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_LNP_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MAC_ADDRESS macAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL macAddressSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[32];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_LNP_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_PNP_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedPhbaOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MAC_ADDRESS macAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL macAddressSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT maximumTransferRate;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT currentTransferRate;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT maximumFrameSize;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_PNP_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_PNP_STATISTICS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 bytesSent;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 pdusSent;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 bytesReceived;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 pdusReceived;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_PNP_STATISTICS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_TARGET_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedNodeOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedLhbaOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NODE_NAME name;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NODE_ALIAS alias;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 discoveryMethodFlags;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL sendTargetsDiscoverySettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL sendTargetsDiscoveryEnabled;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[128];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_TARGET_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_CONNECTION_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedSessionOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 connectionId;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DIGEST_TYPE dataDigest;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DIGEST_TYPE headerDigest;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL ifMarker;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 ifMarkInt;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 maxRecvDataSegmentLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 maxTransmitDataSegmentLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL ofMarker;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 ofMarkInt;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_CONNECTION_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_SESSION_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedLhbaOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD authMethod;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL dataPduInOrder;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL dataSequenceInOrder;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 defaultTime2Retain;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 defaultTime2Wait;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 errorRecoveryLevel;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 firstBurstLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL immediateData;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL initialR2T;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE isid[6];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 maxBurstLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 maxConnections;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 maxOutstandingR2T;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 targetPortalGroupTag;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT16 tsih;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_SESSION_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_TARGET_ERROR_STATISTICS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL loginFailedCountValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 loginFailedCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL sessionFailedCountValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 sessionFailedCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL headerOrDigestSessionFailedCountValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 headerOrDigestSessionFailedCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL timeLimitExceededSessionFailedCountValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 timeLimitExceededSessionFailedCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL formatErrorSessionFailedCountValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 formatErrorSessionFailedCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL closedConnectionDueToTimeoutCountValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 closedConnectionDueToTimeoutCount;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL lastLoginFailureTimeValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DATETIME lastLoginFailureTime;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_TARGET_ERROR_STATISTICS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_LU_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedTargetOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 targetLun;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL exposedToOs;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DATETIME timeExposedToOs;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL osDeviceNameValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_WCHAR osDeviceName[64];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL osParallelIdsValid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 osBusNumber;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 osTargetId;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT32 osLun;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[128];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_LU_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_STATISTICS_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL statisticsCollectionSettable;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL statisticsCollectionEnabled;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_STATISTICS_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_DEVICE_STATISTICS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 scsiPayloadBytesSent;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 scsiPayloadBytesReceived;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 iScsiPduBytesSent;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 iScsiPduBytesReceived;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 iScsiPdusSent;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 iScsiPdusReceived;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 millisecondsSpentSending;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 millisecondsSpentReceiving;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_DEVICE_STATISTICS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_NETWORK_PORTAL_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS ipAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedLnp;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[32];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_NETWORK_PORTAL_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef void (* IMA_OBJECT_VISIBILITY_FN)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL becomingVisible,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef void (* IMA_OBJECT_PROPERTY_FN)(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_CHAP_INITIATOR_AUTHPARMS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT retries;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE name[512];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT nameLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT minValueLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT maxValueLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE challengeSecret[256];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT challengeSecretLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[512];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_CHAP_INITIATOR_AUTHPARMS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_SRP_INITIATOR_AUTHPARMS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE userName[512];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT userNameLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[512];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_SRP_INITIATOR_AUTHPARMS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_KRB5_INITIATOR_AUTHPARMS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE clientKey[1024];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT clientKeyLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[2048];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_KRB5_INITIATOR_AUTHPARMS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_SPKM_INITIATOR_AUTHPARMS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE privateKey[4096];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT privateKeyLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE publicKey[4096];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT publicKeyLength;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE reserved[4096];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_SPKM_INITIATOR_AUTHPARMS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef union _IMA_INITIATOR_AUTHPARMS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_CHAP_INITIATOR_AUTHPARMS chapParms;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_SRP_INITIATOR_AUTHPARMS srpParms;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_KRB5_INITIATOR_AUTHPARMS kerberosParms;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_SPKM_INITIATOR_AUTHPARMS spkmParms;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_INITIATOR_AUTHPARMS;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_STATIC_DISCOVERY_TARGET
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NODE_NAME targetName;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TARGET_ADDRESS targetAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_STATIC_DISCOVERY_TARGET;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_DISCOVERY_ADDRESS_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedNodeOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedLhbaOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TARGET_ADDRESS discoveryAddress;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_DISCOVERY_ADDRESS_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct _IMA_STATIC_TGT_PROPERTIES
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte{
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedNodeOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID associatedLhbaOid;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_STATIC_DISCOVERY_TARGET staticTarget;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte} IMA_STATIC_DISCOVERY_TARGET_PROPERTIES;
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing Chinatypedef struct ima_plugin_info {
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China char PluginName[64];
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China char PluginPath[256];
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China#ifdef WIN32
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China HINSTANCE hPlugin; /* Handle to a loaded DLL */
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China#else
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China void* hPlugin; /* Handle to a loaded DLL */
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China#endif
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China IMA_UINT32 ownerId;
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China#ifdef WIN32
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China HANDLE pluginMutex;
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China#else
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China int pluginMutex;
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China#endif
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China IMA_UINT number_of_vbcallbacks;
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China IMA_OBJECT_VISIBILITY_FN vbcallback[IMA_MAX_CALLBACK_PER_PLUGIN];
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China IMA_UINT number_of_pccallbacks;
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China IMA_OBJECT_PROPERTY_FN pccallback[IMA_MAX_CALLBACK_PER_PLUGIN];
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China} IMA_PLUGIN_INFO, *PIMA_PLUGIN_INFO;
aff4bce51ecc47df7e5a6351b7cee6bc20408c63yi zhang - Sun Microsystems - Beijing China
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The individual APIs of the IMA are declared below.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the properties of the IMA library that is being used.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an IMA_LIBRARY_PROPERTIES structure allocated by
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* the caller. On successful return this structure will contain the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* properties of the IMA library.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the library properties were successfully returned.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pProps' is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetLibraryProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_LIBRARY_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets a list of the object IDs of all currently loaded plugins.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to a pointer to an IMA_OID_LIST. On successful
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* return this will contain a pointer to an @ref IMA_OID_LIST
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* which contains the object IDs of all of the plugins currently
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* loaded by the library.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* if an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the plugin ID list was successfully returned.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'ppList' is NULL or specifies a memory area to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* which data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPluginOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the properties of the specified vendor plugin.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pluginOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The ID of the plugin whose properties are being retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an @ref IMA_PLUGIN_PROPERTIES structure allocated by
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* the caller. On successful return this will contain the properties
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* of the plugin specified by pluginOid.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the plugin properties were successfully returned.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pluginOid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pluginOid' does not specify a plugin object.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pluginOid' refers to a plugin, but not one that
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* is currently loaded.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pProps' is NULL or specifies a memory area to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* which data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPluginProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID pluginOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PLUGIN_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the object ID for the plugin associated with the specified object ID.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param oid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The object ID of an object that has been received from a previous
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* library call.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pPluginOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an IMA_OID structure allocated by the caller. On
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* successful return this will contain the object ID of the plugin
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* associated with the object specified by @a objectId. This
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* can then be used to work with the plugin, e.g., to get the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* properties of the plugin or the send the plugin an IOCtl.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the associated plugin ID was successfully returned.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pPluginOid' is NULL or specifies a memory area to
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* which data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' specifies an object not owned by a plugin, but
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* instead one that is owned by the library.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' specifies an object with an invalid type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetAssociatedPluginOid(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID *pPluginOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the object ID of the shared node.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pSharedNodeOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an IMA_OID structure allocated by the caller. On
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* successful return it will contain the object ID of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* shared node of the currently executing system is placed.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* if an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the shared node ID has been successfully retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pSharedNodeOid' is NULL or specifies a memory area
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* to which data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetSharedNodeOid(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID *pSharedNodeOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetObjectType(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_TYPE *pObjectType
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the properties of the specified iSCSI node.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param nodeOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The ID of the node to get the properties of.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an @ref IMA_NODE_PROPERTIES structure which on
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* successful return will contain the properties of the specified node.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the node properties have been successfully retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pProps' is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify a node object.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify a node which is currently
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* known to the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetNodeProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID nodeOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NODE_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Sets the name of the specified node.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param nodeOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The object ID of the node whose name is being set.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param newName
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The new name of the node.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* if an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the node name was successfully changed.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_STATUS_REBOOT_NECESSARY
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if a reboot is necessary before the setting of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* name actually takes affect.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'newName' is NULL, or specifies a memory area
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* to which data cannot be written, or has a length of 0.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify a node object.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify a node which is
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* currently known to the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_NAME_TOO_LONG
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'newName' contains too many characters.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetNodeName(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID nodeOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_NODE_NAME newName
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Generates a unique node name for the currently running system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param generatedName
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* On successful return contains the generated node name.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'generatedname is NULL or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* specifies a memory area to which data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GenerateNodeName(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NODE_NAME generatedName
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Sets the alias of the specified node.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param nodeOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The object ID of the node whose alias is being set.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param newAlias
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to a Unicode string which contains the new node alias.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* If this parameter is NULL then the current alias is deleted, in which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* case the specified node no longer has an alias.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* if an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the node's alias has been successfully set.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_STATUS_REBOOT_NECESSARY
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A reboot is necessary before the setting of the alias actually
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* takes effect.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify a node object.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'nodeOid' does not specify a node which is currently
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* known to the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_NAME_TOO_LONG
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'newAlias' contains too many characters.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetNodeAlias(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID nodeOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_NODE_ALIAS newAlias
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets a list of the object IDs of all the logical HBAs in the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to a pointer to an @ref IMA_OID_LIST structure. On
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* successful return this will contain a pointer to an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* IMA_OID_LIST which contains the object IDs of all of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* LHBAs currently in the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the LHBA ID list has been successfully returned.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'ppList' is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetLhbaOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the properties of the specified logical HBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param lhbaOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The object ID of the LHBA whose properties are being retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an IMA_LHBA_PROPERTIES structure. On successful
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* return this will contain the properties of the LHBA specified by
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 'lhbaOid'.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the properties of the specified LHBA have been
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* successfully retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pProps' is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'lhbaOid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'lhbaOid' does not specify a LHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'lhbaOid' does not specify a LHBA which is currently
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* known to the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetLhbaProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID lhbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_LHBA_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets a list of the object IDs of all the physical HBAs in the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to a pointer to an IMA_OID_LIST structure. On successful
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* return this will contain a pointer to an IMA_OID_LIST which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* contains the object IDs of all of the PHBAs currently in the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the PHBA OID list has been successfully returned.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'ppList' is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPhbaOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the general properties of a physical HBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param phbaOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The object ID of the PHBA whose properties are being queried.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an @ref IMA_PHBA_PROPERTIES structure. On successful
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* return this will contain the properties of the PHBA specified by
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* 'phbaOid'.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* if an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the properties of the specified PHBA have been
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* successfully retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pProps' is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'phbaOid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'phbaOid' does not specify a PHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'phbaOid' does not specify a PHBA which is currently
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* known to the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPhbaProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID phbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PHBA_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Frees a previously allocated IMA_OID_LIST structure.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pMemory A pointer to an IMA_OID_LIST structure allocated by the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* library. On successful return the memory allocated by the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* list is freed.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the specified object ID list was successfully
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* freed.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if pMemory is NULL or specifies a memory area from which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be read.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_FreeMemory(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte void *pMemory
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetNonSharedNodeOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the first burst length properties of the specified logical HBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param oid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The object ID of the logical HBA to get the first burst length
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* properties of.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to a min/max values structure.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if an
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the first burst length properties have been
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* successfully retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if pProps is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify a LHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify a LHBA which is currently
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* known to the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetFirstBurstLengthProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MIN_MAX_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the max burst length properties of the specified logical HBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param oid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The object ID of the logical HBA to get the max burst length
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* properties of.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an IMA_MIN_MAX_VALUE structure allocated by the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* caller. On successful return this structure will contain the max
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* burst length properties of this LHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the max burst length properties have been successfully
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if pProps is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify a LHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify a LHBA which is currently
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* known to the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetMaxBurstLengthProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID Oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MIN_MAX_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/**
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Gets the maximum receive data segment length properties of the specified
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* logical HBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param oid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* The object ID of the logical HBA to get the max receive data
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* segment length properties of.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @param pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* A pointer to an @ref IMA_MIN_MAX_VALUE structure allocated by the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* caller. On successful return this structure will contain the max
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* receive data segment length properties of this LHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @return An IMA_STATUS indicating if the operation was successful or if
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* an error occurred.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_SUCCESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if the max receive data segment length properties
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* have been successfully retrieved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_PARAMETER
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'pProps' is NULL or specifies a memory area to which
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* data cannot be written.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INVALID_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify any valid object type.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_INCORRECT_OBJECT_TYPE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify a LHBA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* @retval IMA_ERROR_OBJECT_NOT_FOUND
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* Returned if 'oid' does not specify a LHBA which is currently
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte* known to the system.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*******************************************************************************
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetMaxRecvDataSegmentLengthProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MIN_MAX_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/*---------------------------------------------*/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_PluginIOCtl(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID pluginOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT command,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const void *pInputBuffer,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT inputBufferLength,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte void *pOutputBuffer,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pOutputBufferLength
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetNetworkPortalOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetFirstBurstLength(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT firstBurstLength
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetMaxBurstLength(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT maxBurstLength
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetMaxRecvDataSegmentLength(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT maxRecvDataSegmentLength
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetMaxConnectionsProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MIN_MAX_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetMaxConnections(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT maxConnections
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetDefaultTime2RetainProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MIN_MAX_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetDefaultTime2Retain(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT defaultTime2Retain
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetDefaultTime2WaitProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MIN_MAX_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetDefaultTime2Wait(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT defaultTime2Wait
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetMaxOutstandingR2TProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MIN_MAX_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetMaxOutstandingR2T(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT maxOutstandingR2T
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetErrorRecoveryLevelProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_MIN_MAX_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetErrorRecoveryLevel(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT errorRecoveryLevel
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetInitialR2TProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetInitialR2T(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL initialR2T
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetImmediateDataProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetImmediateData(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL immediateData
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetDataPduInOrderProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetDataPduInOrder(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL dataPduInOrder
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetDataSequenceInOrderProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL_VALUE *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetDataSequenceInOrder(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL dataSequenceInOrder
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetStatisticsCollection(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL enableStatisticsCollection
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetNetworkPortStatus(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID portOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NETWORK_PORT_STATUS *pStatus
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetTargetOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_RemoveStaleData(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID lhbaOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetIsnsDiscovery(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID phbaId,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL enableIsnsDiscovery,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ISNS_DISCOVERY_METHOD discoveryMethod,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_HOST_ID *iSnsHost
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetSlpDiscovery(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID phbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL enableSlpDiscovery
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetStaticDiscovery(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID phbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL enableStaticDiscovery
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetSendTargetsDiscovery(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL enableSendTargetsDiscovery
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_RemoveStaticDiscoveryTarget(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID targetOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetIpsecProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID phbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IPSEC_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPnpOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPhbaDownloadProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID phbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PHBA_DOWNLOAD_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_IsPhbaDownloadFile(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID phbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_WCHAR *pFileName,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PHBA_DOWNLOAD_IMAGE_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_PhbaDownload(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID phbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PHBA_DOWNLOAD_IMAGE_TYPE imageType,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_WCHAR *pFileName
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetNetworkPortalProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID networkPortalOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_NETWORK_PORTAL_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetNetworkPortalIpAddress(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID networkPortalOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_IP_ADDRESS NewIpAddress
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetLnpOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetLnpProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID lnpOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_LNP_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPnpProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID pnpOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PNP_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPnpStatistics(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID pnpOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PNP_STATISTICS *pStats
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetTargetProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID targetOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TARGET_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetTargetErrorStatistics(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID targetOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_TARGET_ERROR_STATISTICS *pStats
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetLuOidList(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetLuOid(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID targetOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT64 lun,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID *pluOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetLuProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID luOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_LU_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetStatisticsProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_STATISTICS_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetDeviceStatistics(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DEVICE_STATISTICS *pStats
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_LuInquiry(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID deviceOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL evpd,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL cmddt,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE pageCode,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE *pOutputBuffer,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pOutputBufferLength,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE *pSenseBuffer,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pSenseBufferLength
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_LuReadCapacity(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID deviceOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT cdbLength,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE *pOutputBuffer,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pOutputBufferLength,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE *pSenseBuffer,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pSenseBufferLength
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_LuReportLuns(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID deviceOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL sendToWellKnownLun,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE selectReport,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE *pOutputBuffer,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pOutputBufferLength,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BYTE *pSenseBuffer,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pSenseBufferLength
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_ExposeLu(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID luOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_UnexposeLu(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID luOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetPhbaStatus(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID hbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_PHBA_STATUS *pStatus
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_RegisterForObjectVisibilityChanges (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_VISIBILITY_FN pClientFn
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_DeregisterForObjectVisibilityChanges (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_VISIBILITY_FN pClientFn
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_RegisterForObjectPropertyChanges (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_PROPERTY_FN pClientFn
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_DeregisterForObjectPropertyChanges (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OBJECT_PROPERTY_FN pClientFn
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetAddressKeyProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID targetOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ADDRESS_KEY_PROPERTIES **ppProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetIpProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetIpConfigMethod(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL enableDhcpIpConfiguration
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetIsnsDiscovery(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL enableIsnsDiscovery,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ISNS_DISCOVERY_METHOD discoveryMethod,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_HOST_ID *iSnsHost
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetSubnetMask(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS subnetMask
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetDnsServerAddress(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_IP_ADDRESS *pPrimaryDnsServerAddress,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_IP_ADDRESS *pAlternateDnsServerAddress
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetDefaultGateway(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_IP_ADDRESS defaultGateway
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetSupportedAuthMethods(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID lhbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL getSettableMethods,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pMethodCount,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD *pMethodList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetInUseInitiatorAuthMethods(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID lhbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT *pMethodCount,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD *pMethodList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetInitiatorAuthParms(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID lhbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD method,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_INITIATOR_AUTHPARMS *pParms
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetInitiatorAuthMethods(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID lhbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_UINT methodCount,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_AUTHMETHOD *pMethodList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetInitiatorAuthParms(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID lhbaOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_AUTHMETHOD method,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_INITIATOR_AUTHPARMS *pParms
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetStaticDiscoveryTargetOidList (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetStaticDiscoveryTargetProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID staticDiscoveryTargetOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_STATIC_DISCOVERY_TARGET_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_SetStaticDiscovery(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_BOOL enableStaticDiscovery
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetDiscoveryProperties(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DISCOVERY_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_AddDiscoveryAddress(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_TARGET_ADDRESS discoveryAddress,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID *pDiscoveryAddressOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_AddStaticDiscoveryTarget(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte const IMA_STATIC_DISCOVERY_TARGET staticDiscoveryTarget,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID *pStaticDiscoveryTargetOid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetAddressKeys(
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID targetOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_ADDRESS_KEYS **ppKeys
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetSessionOidList (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetConnectionOidList (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetDiscoveryAddressOidList (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID_LIST **ppList
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_GetDiscoveryAddressProperties (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID discoveryAddressOid,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_DISCOVERY_ADDRESS_PROPERTIES *pProps
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_RemoveDiscoveryAddress (
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IMA_OID oid
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS QIMA_SetUpdateInterval(IMA_OID pluginOid, time_t interval);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIMA_API IMA_STATUS IMA_CommitHbaParameters (IMA_OID lhba, IMA_COMMIT_LEVEL commitLevel);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#ifdef __cplusplus
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte};
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte