39a5e50d1dab63bb3e7b02662abed94696cfe9a5
[idzebra-moved-to-github.git] / include / rsbetween.h
1 /*
2  * Copyright (C) 1994-2002, Index Data
3  * All rights reserved.
4  * Sebastian Hammer, Adam Dickmeiss, Heikki Levanto
5  *
6  * $Id: rsbetween.h,v 1.1 2002-04-09 15:24:13 heikki Exp $
7  *
8  * Result set that returns anything in between two things,
9  * typically start-tag, stuff, end-tag.
10  *
11  */
12
13 #ifndef RSET_BETWEEN_H
14 #define RSET_BETWEEN_H
15
16 #include <rset.h>
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 extern const struct rset_control *rset_kind_between;
23
24 typedef struct rset_between_parms
25 {
26     int     key_size;
27     RSET    rset_l; 
28     RSET    rset_m;
29     RSET    rset_r;
30     int (*cmp)(const void *p1, const void *p2);
31 } rset_between_parms;
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif