2 * Copyright (C) 1994-1995, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.1 1995-12-06 12:41:25 adam
8 * New command 'stat' for the index program.
9 * Filenames can be read from stdin by specifying '-'.
10 * Bug fix/enhancement of the transformation from terms to regular
11 * expressons in the search engine.
19 #define REC_BLOCK_TYPES 2
20 #define REC_HEAD_MAGIC "recindx"
29 char *data_fname[REC_BLOCK_TYPES];
30 BFile data_BFile[REC_BLOCK_TYPES];
35 struct record_cache_entry *record_cache;
42 int block_size[REC_BLOCK_TYPES];
43 int block_free[REC_BLOCK_TYPES];
44 int block_last[REC_BLOCK_TYPES];
45 int block_used[REC_BLOCK_TYPES];
46 int block_move[REC_BLOCK_TYPES];
56 enum recordCacheFlag { recordFlagNop, recordFlagWrite, recordFlagNew,
59 struct record_cache_entry {
61 enum recordCacheFlag flag;
64 struct record_index_entry {