]> mj.ucw.cz Git - libucw.git/blob - lib/index.h
HTML parser basically works. A *lot* of things still needs to be cleaned up.
[libucw.git] / lib / index.h
1 /*
2  *      Sherlock Gatherer: Data structures used in indices
3  *
4  *      (c) 2001 Martin Mares <mj@ucw.cz>
5  */
6
7 /* Words */
8
9 #define MAX_WORD_LEN            64
10
11 /* Word types */
12
13 enum word_type {
14   WT_TEXT,                              /* Ordinary text */
15   WT_EMPH,                              /* Emphasized text */
16   WT_SMALL,                             /* Small font */
17   WT_TITLE,                             /* Document title */
18   WT_SMALL_HEADING,                     /* Heading */
19   WT_BIG_HEADING,                       /* Larger heading */
20   WT_KEYWORD,                           /* Explicitly marked keyword */
21   WT_META,                              /* Various meta-information */
22   WT_ALT                                /* Alternate texts for graphical elements */
23 };