diff options
| author | Bruce Momjian <bruce@momjian.us> | 2007-11-15 22:25:18 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2007-11-15 22:25:18 +0000 |
| commit | f6e8730d11ddfc720eda1dde23794d262ad8cc08 (patch) | |
| tree | 1fa229dc473a3e7c075099e491d822a4d50e6d0e /src/include/tsearch/dicts | |
| parent | da0b2cdff893512e01cd175eb2e0e831d2fa559e (diff) | |
| download | postgresql-f6e8730d11ddfc720eda1dde23794d262ad8cc08.tar.gz | |
Re-run pgindent with updated list of typedefs. (Updated README should
avoid this problem in the future.)
Diffstat (limited to 'src/include/tsearch/dicts')
| -rw-r--r-- | src/include/tsearch/dicts/regis.h | 12 | ||||
| -rw-r--r-- | src/include/tsearch/dicts/spell.h | 28 |
2 files changed, 20 insertions, 20 deletions
diff --git a/src/include/tsearch/dicts/regis.h b/src/include/tsearch/dicts/regis.h index 47fc3ec76e..2bc857bbd9 100644 --- a/src/include/tsearch/dicts/regis.h +++ b/src/include/tsearch/dicts/regis.h @@ -6,7 +6,7 @@ * * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/tsearch/dicts/regis.h,v 1.2 2007/11/15 21:14:45 momjian Exp $ + * $PostgreSQL: pgsql/src/include/tsearch/dicts/regis.h,v 1.3 2007/11/15 22:25:17 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -22,7 +22,7 @@ typedef struct RegisNode unused:14; struct RegisNode *next; unsigned char data[1]; -} RegisNode; +} RegisNode; #define RNHDRSZ (offsetof(RegisNode,data)) @@ -36,14 +36,14 @@ typedef struct Regis issuffix:1, nchar:16, unused:15; -} Regis; +} Regis; bool RS_isRegis(const char *str); -void RS_compile(Regis * r, bool issuffix, char *str); -void RS_free(Regis * r); +void RS_compile(Regis *r, bool issuffix, char *str); +void RS_free(Regis *r); /*returns true if matches */ -bool RS_execute(Regis * r, char *str); +bool RS_execute(Regis *r, char *str); #endif diff --git a/src/include/tsearch/dicts/spell.h b/src/include/tsearch/dicts/spell.h index cfcc9391d6..dea3ddd84b 100644 --- a/src/include/tsearch/dicts/spell.h +++ b/src/include/tsearch/dicts/spell.h @@ -6,7 +6,7 @@ * * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/tsearch/dicts/spell.h,v 1.4 2007/11/15 21:14:45 momjian Exp $ + * $PostgreSQL: pgsql/src/include/tsearch/dicts/spell.h,v 1.5 2007/11/15 22:25:17 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -33,7 +33,7 @@ typedef struct compoundflag:4, affix:19; struct SPNode *node; -} SPNodeData; +} SPNodeData; /* * Names of FF_ are correlated with Hunspell options in affix file @@ -50,7 +50,7 @@ typedef struct SPNode { uint32 length; SPNodeData data[1]; -} SPNode; +} SPNode; #define SPNHDRSZ (offsetof(SPNode,data)) @@ -71,7 +71,7 @@ typedef struct spell_struct } d; } p; char word[1]; /* variable length, null-terminated */ -} SPELL; +} SPELL; #define SPELLHDRSZ (offsetof(SPELL, word)) @@ -90,7 +90,7 @@ typedef struct aff_struct regex_t regex; Regis regis; } reg; -} AFFIX; +} AFFIX; /* * affixes use dictionary flags too @@ -114,14 +114,14 @@ typedef struct naff:24; AFFIX **aff; struct AffixNode *node; -} AffixNodeData; +} AffixNodeData; typedef struct AffixNode { uint32 isvoid:1, length:31; AffixNodeData data[1]; -} AffixNode; +} AffixNode; #define ANHRDSZ (offsetof(AffixNode, data)) @@ -130,7 +130,7 @@ typedef struct char *affix; int len; bool issuffix; -} CMPDAffix; +} CMPDAffix; typedef struct { @@ -158,12 +158,12 @@ typedef struct unsigned char flagval[256]; bool usecompound; -} IspellDict; +} IspellDict; -extern TSLexeme *NINormalizeWord(IspellDict * Conf, char *word); -extern void NIImportAffixes(IspellDict * Conf, const char *filename); -extern void NIImportDictionary(IspellDict * Conf, const char *filename); -extern void NISortDictionary(IspellDict * Conf); -extern void NISortAffixes(IspellDict * Conf); +extern TSLexeme *NINormalizeWord(IspellDict *Conf, char *word); +extern void NIImportAffixes(IspellDict *Conf, const char *filename); +extern void NIImportDictionary(IspellDict *Conf, const char *filename); +extern void NISortDictionary(IspellDict *Conf); +extern void NISortAffixes(IspellDict *Conf); #endif |
