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
18                   array  capabilities.  The returned value must be freed with
19                   a 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
28       indicate  whether certain functionality is supported by specified stor‐
29       age system. Please check desired function for required  capability.  To
30       verify  capability  is supported, use lsm_capability_supported.  If the
31       functionality  is  not  listed  in  the  enumerated   capability   type
32       (lsm_capability_type) then that functionality is mandatory and required
33       to exist.
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
47February 2020                  lsm_capabilities            lsm_capabilities(3)
Impressum