New rset member 'flag', that holds various flags about a result set -
[idzebra-moved-to-github.git] / include / rsbool.h
1 /*
2  * Copyright (C) 1994-1995, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: rsbool.h,v $
7  * Revision 1.4  1995-12-11 09:07:53  adam
8  * New rset member 'flag', that holds various flags about a result set -
9  * currently 'volatile' (set is register dependent) and 'ranked' (set is
10  * ranked).
11  * New set types sand/sor/snot. They handle and/or/not for ranked and
12  * semi-ranked result sets.
13  *
14  * Revision 1.3  1995/09/07  13:58:08  adam
15  * New parameter: result-set file descriptor (RSFD) to support multiple
16  * positions within the same result-set.
17  * Boolean operators: and, or, not implemented.
18  *
19  * Revision 1.2  1995/09/06  16:10:57  adam
20  * More work on boolean sets.
21  *
22  * Revision 1.1  1995/09/06  13:27:37  adam
23  * New set type: bool. Not finished yet.
24  *
25  */
26
27 #ifndef RSET_BOOL_H
28 #define RSET_BOOL_H
29
30 #include <rset.h>
31
32 extern const rset_control *rset_kind_and;
33 extern const rset_control *rset_kind_or;
34 extern const rset_control *rset_kind_not;
35
36 extern const rset_control *rset_kind_sand;
37 extern const rset_control *rset_kind_sor;
38 extern const rset_control *rset_kind_snot;
39
40 typedef struct rset_bool_parms
41 {
42     int     key_size;
43     RSET    rset_l;
44     RSET    rset_r;
45     int (*cmp)(const void *p1, const void *p2);
46 } rset_bool_parms;
47
48 #endif