Scroll to navigation

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

Valid lsm_connect pointer.
System of interest
Output pointer of lsm_storage_capabilities. The storage array capabilities. The returned value must be freed with a call to lsm_capability_record_free.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

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 April 2023