Name
lh_load_handler — Loads given handler in global table of the server
Synopsis
int
lh_load_handler
(
|
lang_handler_t *
new_handler
) ; |
Description
Loads given handler in global table of the server, using ISO 639 and RFC 1766 language IDs of the handler as keys for future table lookups. If another handler was already specified for given RFC 1766 id, table entry will be updated and will refer to new handler. If another handler was already specified for given ISO 639 id, it will be replaced only if new handler has ISO 639 language ID equal to its RFC 1766 ID.
Please do not load custom versions of 'x-any' and 'x-ftq-x-any' handlers.
Parameters
new_handler
Pointer to the structure that lists names of the handler and its callback functions.