Name

elh_get_handler — get localization function handler

Synopsis

encodedlang_handler_t * elh_get_handler ( encoding_handler_t * encoding ,
language_handler_t * language );

Description

Gets localization.

Parameters

encoding

Name of the encoding to be used.

language

Name of the text language

Return Types

Returns "encoded language" handler for optimized processing of texts on given language with given encoding as described in section Adding New Languages and Encodings Into Virtuoso of the main documentation. If encoding is NULL, or if there's no optimized handler for given encoding/language combination, then NULL will be returned, indicating failure, otherwise combination's handler will be returned.

Examples

Example24.98.Returning a Handler Pointer

encodedlang_handler_t *elh =
  elh_get_handler(eh_get_handler("MY-ENCODING"),
    lh_get_handler("x-my-language")
  );