lsm_available_plugins_list - Man Page

Retrieves a list of available plug-ins.

Synopsis

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

Arguments

sep

Data separator used for string of plugin. Check document of 'plugins' argument for detail.

plugins

String list of plug-ins with the form 'desc<sep>version'. Returned plugins memory should be freed by calling lsm_string_list_free.

flags

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.

Info

April 2023 Libstoragemgmt C API Manual