4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * CDDL HEADER START
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * The contents of this file are subject to the terms of the
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * Common Development and Distribution License (the "License").
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * You may not use this file except in compliance with the License.
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * See the License for the specific language governing permissions
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * and limitations under the License.
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * When distributing Covered Code, include this CDDL HEADER in each
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * If applicable, add the following below this CDDL HEADER, with the
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * fields enclosed by brackets "[]" replaced with your own identifying
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * information: Portions Copyright [yyyy] [name of copyright owner]
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard * CDDL HEADER END
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willardextern "C" {
8696d418011068e5cedf3a229f7a6613e7798e92ky/* Constants and Types */
8696d418011068e5cedf3a229f7a6613e7798e92ky/* LU and Local Port states */
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard/* API status return values */
48bc00d6814e04ff3edb32cafe7d1bc580baff68jmcp#define STMF_ERROR_MEMBER_NOT_FOUND (STMF_STATUS_ERROR | 0x03)
8696d418011068e5cedf3a229f7a6613e7798e92ky#define STMF_ERROR_GROUP_NOT_FOUND (STMF_STATUS_ERROR | 0x04)
8696d418011068e5cedf3a229f7a6613e7798e92ky#define STMF_ERROR_SERVICE_NOT_FOUND (STMF_STATUS_ERROR | 0x09)
8696d418011068e5cedf3a229f7a6613e7798e92ky#define STMF_ERROR_SERVICE_ONLINE (STMF_STATUS_ERROR | 0x0a)
8696d418011068e5cedf3a229f7a6613e7798e92ky#define STMF_ERROR_SERVICE_OFFLINE (STMF_STATUS_ERROR | 0x0b)
8696d418011068e5cedf3a229f7a6613e7798e92ky#define STMF_ERROR_GROUP_IN_USE (STMF_STATUS_ERROR | 0x0c)
8696d418011068e5cedf3a229f7a6613e7798e92ky#define STMF_ERROR_SERVICE_DATA_VERSION (STMF_STATUS_ERROR | 0x10)
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard#define STMF_ERROR_INVALID_TG (STMF_STATUS_ERROR | 0x12)
4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6willard#define STMF_ERROR_PROV_DATA_STALE (STMF_STATUS_ERROR | 0x13)
void stmfFreeMemory(void *);
int stmfLoadConfig(void);
const char *propVal);
int stmfOffline(void);
int stmfOnline(void);
int stmfLoadStmfProps(void);
#ifdef __cplusplus