Next: mod-follow, Previous: libbot, Up: C API [Contents][Index]

### 5.3 mod-brute

#### 5.3.1 Overview

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

#### 5.3.2 API

Function: void mod_brute_is_GPL_compatible ()

  Defined to tell mod_brute 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_brute_is_dlclose_safe ()

  Defined to tell mod_brute 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_brute_get_pedigree ()

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

  Return value: dynamically allocated object.

Function: lw6bot_backend_t * mod_brute_create_backend ()

  Creates a mod-brute backend.

  Return value: backend pointer.