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


5.9 mod-http

5.9.1 Overview

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

5.9.2 API

Function: void mod_http_is_GPL_compatible ()

Defined to tell mod_http 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_http_is_dlclose_safe ()

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

sys_context: global system context

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

Return value: dynamically allocated object.

Function: lw6cli_backend_t * mod_http_create_backend (lw6sys_context_t * sys_context)

sys_context: global system context

Creates a mod-http backend.

Return value: backend pointer.