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

5.11 mod-udp

5.11.1 Overview

View lcov test coverage results on

5.11.2 API

Function: void mod_udp_is_GPL_compatible ()

Defined to tell mod_udp 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_udp_is_dlclose_safe ()

Defined to tell mod_udp 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_udp_get_pedigree (lw6sys_context_t * sys_context)

sys_context: global system context

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

Return value: dynamically allocated object.

Function: lw6cli_backend_t * mod_udp_create_backend (lw6sys_context_t * sys_context)

sys_context: global system context

Creates a mod-udp backend.

Return value: backend pointer.