louis.h   louis.h 
skipping to change at line 98 skipping to change at line 98
CTC_Sign = 0X80, CTC_Sign = 0X80,
CTC_LitDigit = 0X100, CTC_LitDigit = 0X100,
CTC_Class1 = 0X200, CTC_Class1 = 0X200,
CTC_Class2 = 0X400, CTC_Class2 = 0X400,
CTC_Class3 = 0X800, CTC_Class3 = 0X800,
CTC_Class4 = 0X1000 CTC_Class4 = 0X1000
} TranslationTableCharacterAttribute; } TranslationTableCharacterAttribute;
typedef enum typedef enum
{ {
pass_first = '`', pass_first = '`',
pass_last = '~', pass_last = '~',
pass_lookback = '_', pass_lookback = '_',
pass_string = '\"', pass_string = '\"',
pass_dots = '@', pass_dots = '@',
pass_omit = '?', pass_omit = '?',
pass_startReplace = '[', pass_startReplace = '[',
pass_endReplace = ']', pass_endReplace = ']',
pass_startGroup = '{', pass_startGroup = '{',
pass_endGroup = '}', pass_endGroup = '}',
pass_variable = '#', pass_variable = '#',
skipping to change at line 135 skipping to change at line 135
pass_attributes = '$', pass_attributes = '$',
pass_groupstart = '{', pass_groupstart = '{',
pass_groupend = '}', pass_groupend = '}',
pass_groupreplace = ';', pass_groupreplace = ';',
pass_swap = '%', pass_swap = '%',
pass_hyphen = '-', pass_hyphen = '-',
pass_until = '.', pass_until = '.',
pass_eq = '=', pass_eq = '=',
pass_lt = '<', pass_lt = '<',
pass_gt = '>', pass_gt = '>',
pass_lteq = 130,
pass_gteq = 131,
pass_endTest = 32, pass_endTest = 32,
pass_plus = '+', pass_plus = '+',
pass_copy = '*' pass_copy = '*',
pass_leftParen = '(',
pass_rightParen = ')',
pass_comma = ',',
pass_lteq = 130,
pass_gteq = 131,
pass_invalidToken = 132,
pass_noteq = 133,
pass_and = 134,
pass_or = 135,
pass_nameFound = 136,
pass_numberFound = 137,
pass_boolean = 138,
pass_class = 139,
pass_define = 140,
pass_emphasis = 141,
pass_group = 142,
pass_mark = 143,
pass_repGroup = 143,
pass_script = 144,
pass_noMoreTokens = 145,
pass_replace = 146,
pass_if = 147,
pass_then = 148,
pass_all = 255
} }
pass_Codes; pass_Codes;
typedef unsigned int TranslationTableCharacterAttributes; typedef unsigned int TranslationTableCharacterAttributes;
typedef struct typedef struct
{ {
TranslationTableOffset next; TranslationTableOffset next;
widechar lookFor; widechar lookFor;
widechar found; widechar found;
skipping to change at line 383 skipping to change at line 405
int numPasses; int numPasses;
int corrections; int corrections;
int syllables; int syllables;
TranslationTableOffset tableSize; TranslationTableOffset tableSize;
TranslationTableOffset bytesUsed; TranslationTableOffset bytesUsed;
TranslationTableOffset noBreak; TranslationTableOffset noBreak;
TranslationTableOffset undefined; TranslationTableOffset undefined;
TranslationTableOffset letterSign; TranslationTableOffset letterSign;
TranslationTableOffset numberSign; TranslationTableOffset numberSign;
/*Do not change the order of the following emphasis rule pointers! /*Do not change the order of the following emphasis rule pointers!
*/ */
TranslationTableOffset firstWordItal; TranslationTableOffset firstWordItal;
TranslationTableOffset lastWordItalBefore; TranslationTableOffset lastWordItalBefore;
TranslationTableOffset lastWordItalAfter; TranslationTableOffset lastWordItalAfter;
TranslationTableOffset firstLetterItal; TranslationTableOffset firstLetterItal;
TranslationTableOffset lastLetterItal; TranslationTableOffset lastLetterItal;
TranslationTableOffset singleLetterItal; TranslationTableOffset singleLetterItal;
TranslationTableOffset italWord; TranslationTableOffset italWord;
TranslationTableOffset lenItalPhrase; TranslationTableOffset lenItalPhrase;
TranslationTableOffset firstWordBold; TranslationTableOffset firstWordBold;
TranslationTableOffset lastWordBoldBefore; TranslationTableOffset lastWordBoldBefore;
skipping to change at line 507 skipping to change at line 529
int extParseChars (const char *inString, widechar * outString); int extParseChars (const char *inString, widechar * outString);
/* Takes a character string and produces a sequence of wide characters. /* Takes a character string and produces a sequence of wide characters.
* Opposite of showString. */ * Opposite of showString. */
int extParseDots (const char *inString, widechar * outString); int extParseDots (const char *inString, widechar * outString);
/* Takes a character string and produces a sequence of wide characters /* Takes a character string and produces a sequence of wide characters
* containing dot patterns. Opposite of showDots. */ * containing dot patterns. Opposite of showDots. */
int other_translate (const char *trantab, const widechar int other_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);
/*Call wrappers for other translators */ /*Call wrappers for other translators */
int other_backTranslate (const char *trantab, const widechar int other_backTranslate (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, in
*inputPos, int *cursorPos, int mode); t
*inputPos, int *cursorPos, int mode);
/*Call wrappers for other back-translators.*/ /*Call wrappers for other back-translators.*/
int other_dotsToChar (const char *trantab, widechar *inbuf, int other_dotsToChar (const char *trantab, widechar * inbuf,
widechar *outbuf, int length, int mode); widechar * outbuf, int length, int mode);
int other_charToDots (const char *trantab, const widechar int other_charToDots (const char *trantab, const widechar
*inbuf, * inbuf, widechar * outbuf, int length, int mode);
widechar *outbuf, int length, int mode);
void debugHook ();
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* __LOUIS_H */ #endif /* __LOUIS_H */
 End of changes. 7 change blocks. 
18 lines changed or deleted 42 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/