c934b8a6202021958ce65563457f0612c2268a29
[idzebra-moved-to-github.git] / include / rsm_or.h
1 /*
2  * Copyright (C) 1994-1997, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: rsm_or.h,v $
7  * Revision 1.4  1998-03-05 08:37:44  adam
8  * New result set model.
9  *
10  * Revision 1.3  1997/09/05 15:30:04  adam
11  * Changed prototype for chr_map_input - added const.
12  * Added support for C++, headers uses extern "C" for public definitions.
13  *
14  * Revision 1.2  1996/12/23 15:29:54  adam
15  * More work on truncation algorithm.
16  *
17  * Revision 1.1  1996/12/20 11:06:45  adam
18  * Implemented multi-or result set.
19  *
20  *
21  */
22
23 #ifndef RSET_M_OR_H
24 #define RSET_M_OR_H
25
26 #include <rset.h>
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 extern const struct rset_control *rset_kind_m_or;
33
34 typedef struct rset_m_or_parms
35 {
36     int     key_size;
37     int     (*cmp)(const void *p1, const void *p2);
38
39     ISAMC   isc;
40     ISAM_P  *isam_positions;
41     RSET_TERM rset_term;
42
43     int     no_isam_positions;
44     int     no_save_positions;
45 } rset_m_or_parms;
46
47 #ifdef __cplusplus
48 }
49 #endif
50
51 #endif