lsm_capabilities(3) | Libstoragemgmt C API Manual | lsm_capabilities(3) |
NAME¶
lsm_capabilities - Query the capabilities of the storage array.
SYNOPSIS¶
int lsm_capabilities (lsm_connect *conn, lsm_system *system, lsm_storage_capabilities **cap, lsm_flag flags);
ARGUMENTS¶
VERSION¶
1.0
DESCRIPTION¶
Query the capabilities of the storage array. Capability is used to indicate whether certain functionality is supported by specified storage system. Please check desired function for required capability. To verify capability is supported, use lsm_capability_supported. If the functionality is not listed in the enumerated capability type (lsm_capability_type) then that functionality is mandatory and required to exist.
RETURN¶
Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or not a valid lsm_system or invalid flags.
* LSM_ERR_NOT_FOUND_SYSTEM
When the specified system does not exist.
lsm_capabilities | January 2023 |