Next: mod-random, Previous: mod-follow, Up: C API

### 5.5 mod-idiot

#### 5.5.1 Overview

View lcov test coverage results on http://www.gnu.org/software/liquidwar6/coverage/src/lib/bot/mod-idiot/index.html.

#### 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: 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.