1lsm_capabilities(3)       Libstoragemgmt C API Manual      lsm_capabilities(3)
2
3
4

NAME

6       lsm_capabilities - Query the capabilities of the storage array.
7

SYNOPSIS

9       int  lsm_capabilities (lsm_connect *conn, lsm_system *system, lsm_stor‐
10       age_capabilities **cap, lsm_flag flags);
11

ARGUMENTS

13       conn        Valid lsm_connect pointer.
14
15       system      System of interest
16
17       cap         Output pointer of lsm_storage_capabilities. The storage ar‐
18                   ray  capabilities.  The returned value must be freed with a
19                   call to lsm_capability_record_free.
20
21       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
22

VERSION

24       1.0
25

DESCRIPTION

27       Query the capabilities of the storage array.  Capability is used to in‐
28       dicate  whether certain functionality is supported by specified storage
29       system. Please check desired function for required capability. To  ver‐
30       ify  capability  is  supported,  use  lsm_capability_supported.  If the
31       functionality is not listed in the enumerated capability type  (lsm_ca‐
32       pability_type) then that functionality is mandatory and required to ex‐
33       ist.
34

RETURN

36       Error code as enumerated by 'lsm_error_number'.
37           * LSM_ERR_OK
38               On success.
39           * LSM_ERR_INVALID_ARGUMENT
40               When any argument is NULL or not a valid lsm_connect pointer
41               or not a valid lsm_system or invalid flags.
42           * LSM_ERR_NOT_FOUND_SYSTEM
43               When the specified system does not exist.
44
45
46
47November 2021                  lsm_capabilities            lsm_capabilities(3)
Impressum