Next: , Previous: mod-http, Up: C API


5.10 mod-tcp

5.10.1 Overview

View lcov test coverage results on http://www.ufoot.org/liquidwar/v6/doc/coverage/src/lib/cli/mod-tcp/index.html.

5.10.2 API

— Function: void mod_tcp_is_GPL_compatible ()

Defined to tell mod_tcp 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_tcp_is_dlclose_safe ()

Defined to tell mod_tcp 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_tcp_get_pedigree ()

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

Return value: dynamically allocated object.

— Function: lw6cli_backend_t * mod_tcp_create_backend ()

Creates a mod-tcp backend.

Return value: backend pointer.