lsm_initiator_id_verify(3) | Libstoragemgmt C API Manual | lsm_initiator_id_verify(3) |
NAME¶
lsm_initiator_id_verify - Verifies if initiator id is valid.
SYNOPSIS¶
int lsm_initiator_id_verify (const char *init_id, lsm_access_group_init_type *init_type);
ARGUMENTS¶
VERSION¶
1.0
DESCRIPTION¶
Verifies whether specified initiator is valid:
* iSCSI:
Starting with "iqn", "eui", or "naa".
* WWPN:
16 hex digits(0-9a-fA-F).
RETURN¶
Error code as enumerated by 'lsm_error_number':
* LSM_ERR_OK
Is valid initiator.
* LSM_ERR_INVALID_ARGUMENT
Not a valid initiator or any argument is NULL.
lsm_initiator_id_verify | April 2021 |