Added README.
[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.3  1997-09-05 15:30:04  adam
8  * Changed prototype for chr_map_input - added const.
9  * Added support for C++, headers uses extern "C" for public definitions.
10  *
11  * Revision 1.2  1996/12/23 15:29:54  adam
12  * More work on truncation algorithm.
13  *
14  * Revision 1.1  1996/12/20 11:06:45  adam
15  * Implemented multi-or result set.
16  *
17  *
18  */
19
20 #ifndef RSET_M_OR_H
21 #define RSET_M_OR_H
22
23 #include <rset.h>
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 extern const rset_control *rset_kind_m_or;
30
31 typedef struct rset_m_or_parms
32 {
33     int     key_size;
34     int     (*cmp)(const void *p1, const void *p2);
35
36     ISAMC   isc;
37     ISAM_P  *isam_positions;
38
39     int     no_isam_positions;
40     int     no_save_positions;
41 } rset_m_or_parms;
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif