int lsm_capabilities (lsm_connect *conn, lsm_system *system, lsm_storage_capabilities **cap, lsm_flag flags);
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.
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.
Error code as enumerated by 'lsm_error_number'.
When any argument is NULL or not a valid lsm_connect pointer
or not a valid lsm_system or invalid flags.
When the specified system does not exist.