Module: cwc.plugin
C plugins lifecycle and management API.
Info:
- Copyright: 2024
- License: GPLv3
-
Originally authored by: Dwi Asmoro Bangun
(Full contributors list available on our github project)
Static module functions
cwc.plugin.load (path) -> boolean | load C plugin | |
cwc.plugin.unload_byname (name) -> boolean | unload C plugin filtered by name |
Static module functions
- 🔗 cwc.plugin.load (path) -> boolean
-
load C plugin
Parameters:
Name Type(s) Description path string File location of the C shared object Returns:
-
boolean
true if loading success
- 🔗 cwc.plugin.unload_byname (name) -> boolean
-
unload C plugin filtered by name
Parameters:
Name Type(s) Description name string Plugin name Returns:
-
boolean
true if unloading success