1lsm_initiator_id_verify(3)Libstoragemgmt C API Manuallsm_initiator_id_verify(3)
2
3
4

NAME

6       lsm_initiator_id_verify - Verifies if initiator id is valid.
7

SYNOPSIS

9       int       lsm_initiator_id_verify       (const      char      *init_id,
10       lsm_access_group_init_type *init_type);
11

ARGUMENTS

13       init_id     String to verify.
14
15       init_type   lsm_access_group pointer. The type of  initiator  ID.   You
16                   may  set  it  to  LSM_ACCESS_GROUP_INIT_TYPE_UNKNOWN,  this
17                   function will try iSCSI and WWPN, and modify this  argument
18                   to valid type of initiator type.
19

VERSION

21       1.0
22

DESCRIPTION

24       Verifies whether specified initiator is valid:
25           * iSCSI:
26               Starting with "iqn", "eui", or "naa".
27           * WWPN:
28               16 hex digits(0-9a-fA-F).
29

RETURN

31       Error code as enumerated by 'lsm_error_number':
32           * LSM_ERR_OK
33               Is valid initiator.
34           * LSM_ERR_INVALID_ARGUMENT
35               Not a valid initiator or any argument is NULL.
36
37
38
39February 2019               lsm_initiator_id_verify lsm_initiator_id_verify(3)
Impressum