Minor.
[idzebra-moved-to-github.git] / include / rsbool.h
1 /*
2  * Copyright (C) 1994-1999, Index Data
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: rsbool.h,v $
7  * Revision 1.7  1999-02-02 14:50:37  adam
8  * Updated WIN32 code specific sections. Changed header.
9  *
10  * Revision 1.6  1998/03/05 08:37:44  adam
11  * New result set model.
12  *
13  * Revision 1.5  1997/09/05 15:30:02  adam
14  * Changed prototype for chr_map_input - added const.
15  * Added support for C++, headers uses extern "C" for public definitions.
16  *
17  * Revision 1.4  1995/12/11 09:07:53  adam
18  * New rset member 'flag', that holds various flags about a result set -
19  * currently 'volatile' (set is register dependent) and 'ranked' (set is
20  * ranked).
21  * New set types sand/sor/snot. They handle and/or/not for ranked and
22  * semi-ranked result sets.
23  *
24  * Revision 1.3  1995/09/07  13:58:08  adam
25  * New parameter: result-set file descriptor (RSFD) to support multiple
26  * positions within the same result-set.
27  * Boolean operators: and, or, not implemented.
28  *
29  * Revision 1.2  1995/09/06  16:10:57  adam
30  * More work on boolean sets.
31  *
32  * Revision 1.1  1995/09/06  13:27:37  adam
33  * New set type: bool. Not finished yet.
34  *
35  */
36
37 #ifndef RSET_BOOL_H
38 #define RSET_BOOL_H
39
40 #include <rset.h>
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45
46 extern const struct rset_control *rset_kind_and;
47 extern const struct rset_control *rset_kind_or;
48 extern const struct rset_control *rset_kind_not;
49
50 typedef struct rset_bool_parms
51 {
52     int     key_size;
53     RSET    rset_l;
54     RSET    rset_r;
55     int (*cmp)(const void *p1, const void *p2);
56 } rset_bool_parms;
57
58 #ifdef __cplusplus
59 }
60 #endif
61
62 #endif