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