SCSI Target Mode Framework Library Functions
stmfGetAluaState(3STMF)
NAME
stmfGetAluaState - return the Asymmetric Logical Unit Access
State (ALUA) mode for STMFSYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include
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 Logi-
cal 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 attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libstmf(3LIB), attributes(5)SunOS 5.11 Last change: 29 Sep 2009 1
SCSI Target Mode Framework Library FunctionsstmfGetAluaState(3STMF)
SunOS 5.11 Last change: 29 Sep 2009 2