Crate louis_sys[−][src]
Structs
ThreadUnsafetyToken |
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
Functions
lou_backTranslate⚠ | |
lou_backTranslateString⚠ | |
lou_charSize⚠ |
Return the size of widechar |
lou_charToDots⚠ | |
lou_checkTable⚠ |
Check a translation table for errors. |
lou_compileString⚠ |
Compile a table entry on the fly at run-time |
lou_dotsToChar⚠ |
Convert a string of dot patterns to a string of chars |
lou_findTable⚠ |
Find the best match for a query. |
lou_findTables⚠ |
Find all matches for a query, best match first. |
lou_free⚠ |
Free all memory allocated by liblouis. |
lou_getDataPath⚠ |
Get the path set in the previous function. |
lou_getEmphClasses⚠ |
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_getTableInfo⚠ |
Read metadata from a file. |
lou_getTypeformForEmphClass⚠ |
Get the typeform bit for the named emphasis class. |
lou_hyphenate⚠ | |
lou_indexTables⚠ |
Parse, analyze and index tables. |
lou_listTables⚠ |
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_readCharFromFile⚠ |
Read a character from a file, whether big-encian, little-endian or ASCII8 |
lou_registerLogCallback⚠ |
Register logging callbacks Set to NULL for default callback. |
lou_registerTableResolver⚠ |
Register a new table resolver. Overrides the default resolver. |
lou_setDataPath⚠ |
Set the path used for searching for tables and liblouisutdml files. |
lou_setLogLevel⚠ |
Set the level for logging callback to be called at |
lou_translate⚠ | |
lou_translatePrehyphenated⚠ | |
lou_translateString⚠ | |
lou_version⚠ |
Type Definitions
formtype | |
logLevels | |
logcallback | |
translationModes | |
typeforms | |
widechar |