lsm_avail...gins_list(3)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– 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 the plugins argument below, she spills all the tea πŸ«–
  • plugins β€” a string list of plug-ins, and each one is formatted like desc<sep>version. so the separator you passed in sep? yeah, that's the thing sitting in between desc and version. also super important: the memory for the returned plug-ins is yours now, so you gotta free it yourself by calling lsm_string_list_free. no ghosting your own allocations, bestie 😭
  • flags β€” reserved for future use, so rn it has to be LSM_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 is NULL or 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