Scroll to navigation

lsm_available_plugins_list(3) Libstoragemgmt C API Manual lsm_available_plugins_list(3)

NAME

lsm_available_plugins_list - Retrieves a list of available plug-ins.

SYNOPSIS

int lsm_available_plugins_list (const char *sep, lsm_string_list **plugins, lsm_flag flags);

ARGUMENTS

Data separator used for string of plugin. Check document of 'plugins' argument for detail.
String list of plug-ins with the form 'desc<sep>version'. Returned plugins memory should be freed by calling lsm_string_list_free.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.0

DESCRIPTION

Retrieve a list of available plug-ins.

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or invalid flags.

lsm_available_plugins_list January 2023