Changed prototype for chr_map_input - added const.
[idzebra-moved-to-github.git] / include / rsrel.h
1 /*
2  * Copyright (C) 1994-1997, Index Data I/S 
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: rsrel.h,v $
7  * Revision 1.4  1997-09-05 15:30:05  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.3  1996/11/08 11:08:02  adam
12  * New internal release.
13  *
14  * Revision 1.2  1996/06/11 10:53:16  quinn
15  * Relevance work.
16  *
17  * Revision 1.1  1995/09/08  14:52:09  adam
18  * Work on relevance sets.
19  *
20  */
21
22 #ifndef RSET_REL_H
23 #define RSET_REL_H
24
25 #include <rset.h>
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 extern const rset_control *rset_kind_relevance;
32
33 typedef struct rset_relevance_parms
34 {
35     int     key_size;
36     int     max_rec;
37     int     (*cmp)(const void *p1, const void *p2);
38
39     ISAM    is;
40     ISAMC   isc;
41     ISAM_P  *isam_positions;
42
43     int     no_isam_positions;
44     int no_terms;
45     int *term_no;
46 } rset_relevance_parms;
47
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #endif