Next: libcfg, Previous: mod-idiot, Up: C API

### 5.6 mod-random

#### 5.6.1 Overview

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

#### 5.6.2 API

— Function: void mod_random_is_GPL_compatible ()

> Defined to tell mod_random 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_random_get_pedigree ()

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

> Return value: dynamically allocated object.

— Function: lw6bot_backend_t * mod_random_create_backend ()

> Creates a mod-random backend.

> Return value: backend pointer.