stmfGetAluaState(SCSIFTarget Mode Framework Library FunstmfGetAluaState(3STMF)NAMEstmfGetAluaState - return the Asymmetric Logical Unit Access State
(ALUA) mode for STMF
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfGetAluaState(boolean_t *alua_enabled, uint32_t *node);
PARAMETERS
alua_enabled Set to B_TRUE or B_FALSE on success.
node Set to 0 or 1 on success.
DESCRIPTION
The stmfGetAluaState() function returns the Asymmetric Logical Unit
Access State (ALUA) mode for STMF along with the node setting.
RETURN VALUES
The following values are returned:
STMF_ERROR_INVALID_ARG Either alua_enabled or node was incorrectly
set.
STMF_STATUS_SUCCESS The API call was successful.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOlibstmf(3LIB), attributes(5)SunOS 5.11 29 Sep 2009 stmfGetAluaState(3STMF)