lsm_avail...gins_list(3)
π lsm_avail...gins_list(3) β the Libstoragemgmt C API Manual glow-up π
okay bestie, gather round, because this is the lsm_available_plugins_list page and she is serving C API realness πΈ
β¨ NAME β¨
lsm_available_plugins_list β retrieves a list of available plug-ins. that's it, that's the whole job, and she does it flawlessly π
π SYNOPSIS π
int lsm_available_plugins_list (const char *sep, lsm_string_list
**plugins, lsm_flag flags);
look at her. three little args. no drama. iconic π
π ARGUMENTS π
sepβ this is the data separator, the lil glue character that holds your plug-in strings together. wanna know exactly how it's used? go read the docs for thepluginsargument below, she spills all the tea π«pluginsβ a string list of plug-ins, and each one is formatted likedesc<sep>version. so the separator you passed insep? yeah, that's the thing sitting in betweendescandversion. also super important: the memory for the returned plug-ins is yours now, so you gotta free it yourself by callinglsm_string_list_free. no ghosting your own allocations, bestie πflagsβ reserved for future use, so rn it has to beLSM_CLIENT_FLAG_RSVD. no freelancing, no creative flag choices, just that one. periodt π
β VERSION β
1.0
π¦ DESCRIPTION π¦
retrieve a list of available plug-ins. yes, that's genuinely it. short, sweet, gets straight to the point β main character energy fr fr β¨
π RETURN π
you get back an error code, enumerated by lsm_error_number. the lineup:
LSM_ERR_OKβ on success. we love to see it, slay πLSM_ERR_INVALID_ARGUMENTβ when any argument isNULLor the flags are invalid. so like, don't do that π
ngl, if you skip the lsm_string_list_free call your memory is gonna leak and that is not the vibe. clean up after yourself, queen π§Ήπ
π SEE ALSO π
okay so technically this page doesn't have a SEE ALSO section, but you already know the whole Libstoragemgmt C API fam is right there waiting for you β and lsm_string_list_free is basically your new best friend here π«Ά
that's a wrap on the Libstoragemgmt C API Manual page for lsm_available_plugins_list, filed under lsm_avail...gins_list(3) in the February 2026 edition πβ¨ go free your string lists and live your truth, bestie πΈπ¦
π¦ where this page comes from
- fedora 43: libstoragemgmt-devel 1.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstoragemgmt-devel 1.10.3-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms