liblouis.h   liblouis.h 
skipping to change at line 60 skipping to change at line 60
#define comp_emph_1 italic #define comp_emph_1 italic
#define comp_emph_2 underline #define comp_emph_2 underline
#define comp_emph_3 bold #define comp_emph_3 bold
typedef enum typedef enum
{ {
noContractions = 1, noContractions = 1,
compbrlAtCursor = 2, compbrlAtCursor = 2,
dotsIO = 4, dotsIO = 4,
comp8Dots = 8, comp8Dots = 8,
pass1Only = 16 pass1Only = 16,
compbrlLeftCursor = 32
} translationModes; } translationModes;
char * EXPORT_CALL lou_version (); char * EXPORT_CALL lou_version ();
int EXPORT_CALL lou_charSize ();
/* Return the size of widechar */
int EXPORT_CALL lou_translateString int EXPORT_CALL lou_translateString
(const char *trantab, (const char *trantab,
const widechar *inbuf, const widechar *inbuf,
int *inlen, int *inlen,
widechar * outbuf, widechar * outbuf,
int *outlen, char *typeform, char *spacing, int mode); int *outlen, char *typeform, char *spacing, int mode);
int EXPORT_CALL lou_translate (const char *trantab, const widechar int EXPORT_CALL lou_translate (const char *trantab, const widechar
*inbuf, *inbuf,
int *inlen, widechar * outbuf, int *outlen, int *inlen, widechar * outbuf, int *outlen,
char *typeform, char *spacing, int *outputPos, int char *typeform, char *spacing, int *outputPos, int
*inputPos, int *cursorPos, int mode); *inputPos, int *cursorPos, int mode);
int EXPORT_CALL lou_hyphenate (const char *trantab, const widechar int EXPORT_CALL lou_hyphenate (const char *trantab, const widechar
*inbuf, *inbuf,
int inlen, char *hyphens, int mode); int inlen, char *hyphens, int mode);
int EXPORT_CALL lou_dotsToChar (const char *trantab, widechar *inbuf,
widechar *outbuf, int length);
int EXPORT_CALL lou_charToDots (const char *trantab, const widechar
*inbuf,
widechar *outbuf, int length);
int EXPORT_CALL lou_backTranslateString (const char *trantab, int EXPORT_CALL lou_backTranslateString (const char *trantab,
const widechar *inbuf, const widechar *inbuf,
int *inlen, int *inlen,
widechar * outbuf, widechar * outbuf,
int *outlen, char *typeform, char int *outlen, char *typeform, char
*spacing, int mode); *spacing, int mode);
int EXPORT_CALL lou_backTranslate (const char *trantab, const widechar int EXPORT_CALL lou_backTranslate (const char *trantab, const widechar
*inbuf, *inbuf,
int *inlen, widechar * outbuf, int *outlen, int *inlen, widechar * outbuf, int *outlen,
skipping to change at line 109 skipping to change at line 118
* not used, this file is stderr*/ * not used, this file is stderr*/
int EXPORT_CALL lou_readCharFromFile (const char *fileName, int *mode); int EXPORT_CALL lou_readCharFromFile (const char *fileName, int *mode);
/*Read a character from a file, whether big-encian, little-endian or /*Read a character from a file, whether big-encian, little-endian or
* ASCII8, and return it as an integer. EOF at end of file. Mode = 1 on * ASCII8, and return it as an integer. EOF at end of file. Mode = 1 on
* first call, any other value thereafter*/ * first call, any other value thereafter*/
void * EXPORT_CALL lou_getTable (const char *trantab); void * EXPORT_CALL lou_getTable (const char *trantab);
/* This function checks a table for errors. If none are found it loads /* This function checks a table for errors. If none are found it loads
* the table into memory and returns a pointer to it. if errors are found * the table into memory and returns a pointer to it. if errors are found
* it returns a null pointer. It is called by _ou_translateString and * it returns a null pointer. It is called by lou_translateString and
* lou_backTranslateString and also by functions in liblouisxml * lou_backTranslateString and also by functions in liblouisxml
*/ */
int EXPORT_CALL lou_compileString (const char *tableList, const char
*inString);
void EXPORT_CALL lou_free (void); void EXPORT_CALL lou_free (void);
/* This function should be called at the end of /* This function should be called at the end of
* the application to free all memory allocated by liblouis. */ * the application to free all memory allocated by liblouis. */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /*LibLOUIS_H_ */ #endif /*LibLOUIS_H_ */
 End of changes. 6 change blocks. 
4 lines changed or deleted 14 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/