]> mj.ucw.cz Git - libucw.git/blob - lib/index.h
Created a header which will contain description of all data structures
[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_TITLE,                             /* Document title */
17   WT_SMALL_HEADING,                     /* Heading */
18   WT_BIG_HEADING,                       /* Larger heading */
19   WT_KEYWORD,                           /* Explicitly marked keyword */
20   WT_META,                              /* Various meta-information */
21   WT_ALT                                /* Alternate texts for graphical elements */
22 };