Structs§
- Thread
Unsafety Token - A token that can only ever exist once in the context of an entire process. This is needed since liblouis is inherently thread-unsafe. Safe abstractions over this crate have to guard all liblouis function calls, allowing them only if this token is held. Note that the token itself does not enable any safe calling of liblouis functions - higher-level bindings need to provide this.
Constants§
- EMPH_
NAME_ BOLD - EMPH_
NAME_ ITALIC - EMPH_
NAME_ UNDERLINE - logLevels_
LOG_ ALL - logLevels_
LOG_ DEBUG - logLevels_
LOG_ ERROR - logLevels_
LOG_ FATAL - logLevels_
LOG_ INFO - logLevels_
LOG_ OFF - logLevels_
LOG_ WARN - translation
Modes_ compbrl AtCursor - translation
Modes_ compbrl Left Cursor - translation
Modes_ dotsIO - translation
Modes_ noContractions - translation
Modes_ noUndefined Dots - translation
Modes_ partial Trans - translation
Modes_ pass1 Only - translation
Modes_ ucBrl - typeforms_
computer_ braille - typeforms_
emph_ 1 - typeforms_
emph_ 2 - typeforms_
emph_ 3 - typeforms_
emph_ 4 - typeforms_
emph_ 5 - typeforms_
emph_ 6 - typeforms_
emph_ 7 - typeforms_
emph_ 8 - typeforms_
emph_ 9 - typeforms_
emph_ 10 - typeforms_
no_ contract - typeforms_
no_ translate - typeforms_
plain_ text
Functions§
- lou_
back ⚠Translate - lou_
back ⚠Translate String - lou_
char ⚠Size - Return the size of widechar
- lou_
char ⚠ToDots - lou_
check ⚠Table - Check a translation table for errors.
- lou_
compile ⚠String - Compile a table entry on the fly at run-time
- lou_
dots ⚠ToChar - Convert a string of dot patterns to a string of chars
- lou_
find ⚠Table - Find the best match for a query.
- lou_
find ⚠Tables - Find all matches for a query, best match first.
- lou_
free ⚠ - Free all memory allocated by liblouis.
- lou_
getData ⚠Path - Get the path set in the previous function.
- lou_
getEmph ⚠Classes - Return the emphasis class names declared in tableList as a NULL-terminated array of strings. The array is acquired with malloc() and should be released with free(). The strings must not be released, and are no longer valid after lou_free() has been called.
- lou_
getTable ⚠ - Load and compile a translation table
- lou_
getTable ⚠Info - Read metadata from a file.
- lou_
getTypeform ⚠ForEmph Class - Get the typeform bit for the named emphasis class.
- lou_
hyphenate ⚠ - lou_
index ⚠Tables - Parse, analyze and index tables.
- lou_
list ⚠Tables - List available tables.
- lou_
logEnd ⚠ - Close the log file so it can be read by other functions.
- lou_
logFile ⚠ - Specify the name of the file to be used by lou_logPrint.
- lou_
logPrint ⚠ - Print error messages to a file
- lou_
read ⚠Char From File - Read a character from a file, whether big-encian, little-endian or ASCII8
- lou_
register ⚠LogCallback - Register logging callbacks Set to NULL for default callback.
- lou_
register ⚠Table Resolver - Register a new table resolver. Overrides the default resolver.
- lou_
setData ⚠Path - Set the path used for searching for tables and liblouisutdml files.
- lou_
setLog ⚠Level - Set the level for logging callback to be called at
- lou_
translate ⚠ - lou_
translate ⚠Prehyphenated - lou_
translate ⚠String - lou_
version ⚠