Next: , Previous: , Up: C API   [Contents][Index]

5.5 mod-idiot

5.5.1 Overview

View lcov test coverage results on

5.5.2 API

Function: void mod_idiot_is_GPL_compatible ()

Defined to tell mod_idiot is compatible with GNU General Public License. Of course it is. This function does nothing, but the fact it’s declared makes its GPL compatibility obvious. Having this declared is required.

Return value: none

Function: void mod_idiot_is_dlclose_safe ()

Defined to tell mod_idiot has no dlclose issue, once can safely call lt_dlclose on it when done with it, without risking any segfault. Some other LW6 modules/shared libraries do have this problem.

Return value: none

Function: lw6sys_module_pedigree_t * mod_idiot_get_pedigree ()

Returns the pedigree for mod-idiot, giving details about the module, including name, description, licence, date/time of compilation.

Return value: dynamically allocated object.

Function: lw6bot_backend_t * mod_idiot_create_backend ()

Creates a mod-idiot backend.

Return value: backend pointer.