1lsm_plugin_info_get(3) Libstoragemgmt C API Manual lsm_plugin_info_get(3)
2
3
4
6 lsm_plugin_info_get - Retrieves information about the plug-in
7
9 int lsm_plugin_info_get (lsm_connect *conn, char **desc, char **ver‐
10 sion, lsm_flag flags);
11
13 conn Valid lsm_connect pointer.
14
15 desc Plug-in version. Returned string should be freed manually
16 with free library call.
17
18 version Plug-in version. Returned string should be freed manually.
19
20 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
21
23 1.0
24
26 Retrieves information about the plug-in.
27
29 Error code as enumerated by 'lsm_error_number'.
30 * LSM_ERR_OK
31 On success.
32 * LSM_ERR_INVALID_ARGUMENT
33 When any argument is NULL or not a valid lsm_connect pointer or
34 invalid flags.
35
36
37
38November 2022 lsm_plugin_info_get lsm_plugin_info_get(3)