1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Multibyte encodings support for ISpell dictionary

This commit is contained in:
Teodor Sigaev
2005-12-21 13:05:49 +00:00
parent e3b9852728
commit 7ac8a4be89
5 changed files with 231 additions and 146 deletions

View File

@ -27,12 +27,12 @@ typedef struct Regis
unused:15;
} Regis;
int RS_isRegis(const char *str);
bool RS_isRegis(const char *str);
int RS_compile(Regis * r, int issuffix, const char *str);
void RS_compile(Regis * r, bool issuffix, char *str);
void RS_free(Regis * r);
/*<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1 <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
int RS_execute(Regis * r, const char *str, int len);
/*returns true if matches */
bool RS_execute(Regis * r, char *str);
#endif