Scroll to navigation

lsm_plugin_info_get(3) Libstoragemgmt C API Manual lsm_plugin_info_get(3)

NAME

lsm_plugin_info_get - Retrieves information about the plug-in

SYNOPSIS

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

ARGUMENTS

Valid lsm_connect pointer.
Plug-in version. Returned string should be freed manually with free library call.
Plug-in version. Returned string should be freed manually.
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.

lsm_plugin_info_get January 2023