2 * Copyright (C) 1994-1995, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.4 1995-09-14 11:53:28 adam
8 * First work on regular expressions/truncations.
10 * Revision 1.3 1995/09/08 08:53:23 adam
11 * Record buffer maintained in server_info.
13 * Revision 1.2 1995/09/06 16:11:19 adam
14 * Option: only one word key per file.
16 * Revision 1.1 1995/09/05 15:28:40 adam
17 * More work on search engine.
30 typedef struct ZServerSet_ {
34 struct ZServerSet_ *next;
48 int rpn_search (ZServerInfo *zi,
49 Z_RPNQuery *rpn, int num_bases, char **basenames,
50 const char *setname, int *hits);
52 ZServerSet *resultSetAdd (ZServerInfo *zi, const char *name,
54 ZServerSet *resultSetGet (ZServerInfo *zi, const char *name);
55 ZServerRecord *resultSetRecordGet (ZServerInfo *zi, const char *name,
56 int num, int *positions);
57 void resultSetRecordDel (ZServerInfo *zi, ZServerRecord *records, int num);