hbaapi-sun.h revision bff3dadc2c9a6711b6e359fc39d0170de218be50
/*
* *****************************************************************************
*
* Description
* hbaapi.h - header file for Sun extension for target mode adaptor
* support.
*
* License:
* The contents of this file are subject to the SNIA Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* *******************************************************************************
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _HBA_API_SUN_H
#define _HBA_API_SUN_H
#include <hbaapi.h>
#define HBA_CREATE_WWN_RANDOM 1
#define HBA_CREATE_WWN_FACTORY 2
typedef struct HBA_NPIVPortList {
typedef struct HBA_PortNPIVAttributes {
typedef struct HBA_NPIVAttributes {
typedef struct HBA_NPIVCreateEntry {
/* Device Level Events */
#define HBA_EVENT_DEVICE_UNKNOWN 0x600
#define HBA_EVENT_DEVICE_OFFLINE 0x601
#define HBA_EVENT_DEVICE_ONLINE 0x602
char *adaptername
);
char* adaptername
);
);
);
);
);
);
);
);
);
void (*callback)(
void *data,
),
void *userData,
);
#endif /* HBA_API_SUN_H */
#ifdef __cplusplus
}
#endif /* _HBA_API_SUN_H */