lsm_plugin_info_get - Man Page

Retrieves information about the plug-in

Synopsis

int lsm_plugin_info_get (lsm_connect *conn, char **desc, char **version, lsm_flag flags);

Arguments

conn

Valid lsm_connect pointer.

desc

Plug-in version. Returned string should be freed manually with free library call.

version

Plug-in version. Returned string should be freed manually.

flags

Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

Version

1.0

Description

Retrieves information about the plug-in.

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
       invalid flags.

Info

May 2021 Libstoragemgmt C API Manual